LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 04-02-2007, 06:18 PM   #1
Morosoph
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 10:02 AM. Reason: Gnome is overriding xrandr
 
Old 08-27-2009, 06:38 PM   #2
crxssi
Member
 
Registered: Apr 2005
Location: USA
Distribution: Mageia,Fedora,RHEL,CentOS
Posts: 95

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" >
<const>VRGB</const>
</edit>
</match>

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.
 
  


Reply

Tags
gnome, subpixel, xrandr



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 09:07 AM
GTK Applications Not Respecting Subpixel Settings tvynr Linux - Desktop 1 09-06-2006 06:42 PM
xrandr and others gone Beire Ubuntu 1 07-15-2005 06:51 AM
Firefox not using subpixel antialiasing? wintermute222 Linux - Software 6 03-15-2004 12:40 AM
Rotating X with xrandr antifelix Linux - Newbie 3 08-22-2003 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:58 AM.

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