Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 04-02-2007, 07:18 PM   #1
LQ Newbie
Registered: Dec 2003
Location: Cambridge, England
Distribution: Fedora Core 5
Posts: 2

Rep: Reputation: 0
Subpixel rendering and xrandr

I have an LCD monitor, and have enabled subpixel rendering (Desktop->Preferences->Fonts in gnome).

My LCD can be rotated, and I have placed a couple of icons on the upper taskbar to give me a "normal" or "rotated" desktop. When the desktop is rotated, the subpixel rendering is wrong. This can be fixed by clicking the Details tab in the above-mentioned fonts menu, but this is too unweildy a solution if I am to use my screen in both orientations on a regular basis.

Is there a command, executable from the command-line, that can change the subpixel ordering between horizontal and vertical? If so, I can build a shell script (with root permissions if need be) to execute both xrandr and change the subpixel ordering. Perhaps there's another way to do this?

A quick web search suggests that this should happen automatically, but it doesn't, and the Gnome font widget (Desktop->Preferences->Fonts->Details) doesn't update either, suggesting that Gnome is overriding xrandr.

Any help here would be welcome...

Cheers, Tim [Morosoph]

Last edited by Morosoph; 04-07-2007 at 11:02 AM. Reason: Gnome is overriding xrandr
Old 08-27-2009, 07:38 PM   #2
Registered: Apr 2005
Location: USA
Distribution: Mageia,Fedora,RHEL,CentOS
Posts: 94

Rep: Reputation: 16
That is a very good question! I was thinking about that just today, in fact.

I don't think there is a command to do it, unfortunately. However, you should be able to manipulate your ~.fonts.config file and tell it to use VRGB (or BGRV, depending on the direction you rotate) instead of using RGB.

For example:

<match target="font" >
<edit mode="assign" name="rgba" >

You could keep two config files and switch them back and forth. The only catch is that, theoretically, it will only take affect on NEWLY LAUNCHED applications.


gnome, subpixel, xrandr

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK 2.8 Subpixel Hinting? milkycow Slackware 3 09-17-2011 10:07 AM
GTK Applications Not Respecting Subpixel Settings tvynr Linux - Desktop 1 09-06-2006 07:42 PM
xrandr and others gone Beire Ubuntu 1 07-15-2005 07:51 AM
Firefox not using subpixel antialiasing? wintermute222 Linux - Software 6 03-15-2004 01:40 AM
Rotating X with xrandr antifelix Linux - Newbie 3 08-22-2003 11:56 PM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration