Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Set Color Depth to 16-Bit

  1. #1
    Join Date
    Jul 2009
    Beans
    149
    Distro
    Xubuntu 11.04 Natty Narwhal

    Set Color Depth to 16-Bit

    Greetings,

    I'm trying to decrease the color depth to 16-bit in an attempt to increase the efficiency of one of my wine programs (Starcraft).

    Any suggestions would be appreciated. I have little experience with Xubuntu (running 9.04), and have no idea where to look to change this setting.

    Thanks,
    Redmage913

  2. #2
    Join Date
    May 2007
    Location
    México
    Beans
    980
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Set Color Depth to 16-Bit

    Code:
    gksudo gedit /etc/X11/xorg.conf
    In the section "Screen" add the line DefaultDepth 16 so it will look similar to this:
    Code:
    Section "Screen"
    	Identifier	"Default Screen"
    	Monitor		"Configured Monitor"
    	Device		"Configured Video Device"
            DefaultDepth    16
    EndSection
    Then restart the xserver by loging out and then loging in.
    conky gui: thread, web site

  3. #3
    Join Date
    Jul 2009
    Beans
    149
    Distro
    Xubuntu 11.04 Natty Narwhal

    Re: Set Color Depth to 16-Bit

    When I type in the gksudo command, the terminal sits for a few seconds, then it displays another prompt. nothing happens.

    Any suggestions?

    --Red

  4. #4
    Join Date
    Mar 2008
    Location
    by a river
    Beans
    Hidden!
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Set Color Depth to 16-Bit

    Since you are using xfce, your text editor is probably mousepad rather than gedit. Just replace gedit with mousepad in the above command.
    i5 2500k | Gigabyte Z68 UD3p | Corsair 1600LP 8gb | MSI HD6870 TwinFrozer | Samsung 830 SSD/WD Black | Seasonic 520w modular
    http://spankmon.wordpress.com

  5. #5
    Join Date
    Jul 2009
    Beans
    149
    Distro
    Xubuntu 11.04 Natty Narwhal

    Re: Set Color Depth to 16-Bit

    Thank you much!

    Quick question though - is gksudo different than sudo? This is the first time someone suggested to me to use the gksudo command.

    I just made the edits, and will be restarting the computer to see if it took effect. Is there any way of verifying that it is indeed 16-bit?

    --Red

  6. #6
    Join Date
    Oct 2008
    Beans
    108
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Set Color Depth to 16-Bit

    Gksudo just makes that graphical prompt for your password come up where sudo asks for it in the terminal. Other than that it's the same.

  7. #7
    Join Date
    Jul 2009
    Beans
    149
    Distro
    Xubuntu 11.04 Natty Narwhal

    Re: Set Color Depth to 16-Bit

    Also, if I want to change back to true color, should i set the color depth to 24 or 32? I've read they're virtually the same thing and the last 8 bits are empty or something like that...it was in technical-ese so I didn't quite understand it

  8. #8
    Join Date
    Mar 2008
    Location
    by a river
    Beans
    Hidden!
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Set Color Depth to 16-Bit

    Use gksudo when you need admin access to an app with a gui. Use sudo when you are using only the terminal. Once you are using the 16 bit depth, it should be obvious because the colors will be greatly reduced. The desktop won't look as sharp and as nicely colored as it does with 24 bit.
    i5 2500k | Gigabyte Z68 UD3p | Corsair 1600LP 8gb | MSI HD6870 TwinFrozer | Samsung 830 SSD/WD Black | Seasonic 520w modular
    http://spankmon.wordpress.com

  9. #9
    Join Date
    Jul 2009
    Beans
    149
    Distro
    Xubuntu 11.04 Natty Narwhal

    Re: Set Color Depth to 16-Bit

    Well, if that's the case, I am unsure if it worked. The desktop looks the same to me, along with firefox. I checked my favorite webcomic (PLUG: Questionable Content), and it still looks the same.

    Here is the xorg.conf file where I edited:

    Section "Device"
    Identifier "Configured Video Device"
    EndSection

    Section "Monitor"
    Identifier "Configured Monitor"
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Monitor "Configured Monitor"
    Device "Configured Video Device"
    DefaultDepth 16
    EndSection
    Last edited by Redmage913; August 16th, 2009 at 02:42 PM. Reason: attempted to insert spacing - didn't work properly

  10. #10
    Join Date
    Jul 2009
    Beans
    43

    Re: Set Color Depth to 16-Bit

    Running the following command in a terminal is a good way to see what BPP your display is running at:
    Code:
    xdpyinfo | grep "of root"
    The grep "of root" bit simply filters the output of the command, you can run xdpyinfo by itself to get a lot more information if you wish.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •