Showing posts with label xubuntu. Show all posts
Showing posts with label xubuntu. Show all posts

Thursday, April 2, 2015

Xubuntu 14.10 and Intel i915

It is very easy to setup Xubuntu on this old laptop.  Unlike the OS (Windows) it replaced, it runs smoothly on the laptop's Core2Due processor and with 3GB memory.  Most hardware on this laptop just works in Xubuntu, with the exception of the Intel i915.  Every now and then, I got a corrupted screen.

After reading up a few posts on online forums, it seems this can be fixed by applying

1) Create a i915.conf file in /etc/modprobe.d with this line

options i915 enable_rc6=1 enable_fbc=1 lvds_downclock=1

2) create a xorg.conf in /etc/X11 with the settings below

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "AccelMethod"  "uxa"
EndSection


This tricks seem to work so far.  I will update this post in few weeks time to let you know if it really gets the job done!

Friday, March 20, 2015

Things to do after installing Xubuntu

This is a checklist that I found useful when setting up a new Xubuntu installation.

  1. NetBIOS - Allows computer names to be used rather than IP.
    1. sudo apt-get install winbind libnss-winbind
    2. Edit /etc/nsswitch.conf, and add wins to the end of the line in (3)
    3. host: files mdns4_minimal [NOTFOUND=return] dns wins
  2. Samba Configuration Tool - Allows folders to be shared with other Windows computers.
    1. sudo apt-get install system-config-samba
    2. sudo touch /etc/libuser.conf
    3. sudo system-config-samba
  3. RDP Client - Allows making remote desktop connection to a Windows machine in the network.
    1. sudo apt-get install remmina
  4. Preserve Job History - Stops CUPS preserving job history
    1. sudo pico /etc/cup/cupsd.conf
    2. add PreserveJobHistory off just before WebInterface Yes


  • Add optimized driver repository from Oibaf at https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers
  • Friday, May 31, 2013

    Xubuntu and Samba share

    When I move to Xubuntu, I do miss the easy of setting up SAMBA share folder.  However, this can easily be fixed by installing: system-config-samba

    After installing the package, extra option will present in the Settings, and sharing a folder is few clicks away.

    Wednesday, May 22, 2013

    Xubuntu no sound

    Recently, I have noticed my netbook has no sound.  It seems this is caused by the auto mute feature in alsa.  This can be switched off by using the alsamixer utiltiy.

    sudo alsamixer


    Wednesday, May 15, 2013

    Xubuntu, KVM and Display Resolution


    If you are like me who use a KVM switch to control multiple computers, you may run into resolution problem with Ubuntu.

    Since the computer is not being connected to the monitor directly, it may not get the DDC information from the monitor to set the resolution correctly.  In my case, I was stuck at 1024x768@60KHz.

    A quick google search brought me to this nice post that helps me get pass the 1024x768.

    https://www.tecmint.com/set-display-screen-resolution-in-ubuntu/

    Here are few quick notes on steps I took.

    1) Use cvt   1920   1080 to produce a modeline, e.g.

    # 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
    Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
    2) Then made this available for selection

    xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
     Use xrandr to get the ID for your display, e.g. VGA-1
    $ xrandr
    
     
     
    $ xrandr --addmode VGA-1 "1920x1080_60.00"
    

    3) Test the new resolution option by using your system Display setting tool, e.g.




    If the setting works for you, then you can make this permanent by adding a little profile file to /etc/profile.d/, e.g.


    $ sudo vim /etc/profile.d/external_monitor_resol.sh
    
    Within this file, just add the two xrandr lines you were using earlier, e.g.



    xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
    xrandr --addmode VGA-1 "1920x1080_60.00"



    Now restart your system.  The new resolution should stay if things are done correctly.

     

    Edited 2021-04-22:

    It seems there is a simpler alternative.

    1) Use xrandr to find out the supported resolutions, e.g.

     


    2) In my case, 1920x1080@60 is the resolution I am aiming for.  Now, edit the grub file to tell the kernel about this resolution by adding video=1920x1080@60 as a parameter to the GRUB_CMDLINE_LINUX_DEFAULT option like below:





    3) Run update-grub to apply the settings

    After reboot, this new resolution should now be available to the system.

     

    ref: https://askubuntu.com/questions/973499/wayland-how-to-set-a-custom-resolution