SOLVED - Screen resolution in Xfce

January 31st, 2011 - 01:49 am ET by Doug Laidlaw | Report spam
Hot on the heels of my one about KDE, my monitor (1280x1024)
failed. I bought a new one to the current standard of 16x9.
The docs said (indirectly) that Linux was supported. I
changed my screen resolution in MCC, and KDE was quite happy
with that. Xfce ignored it. The solution was easy enough to
find by Googling, and is worth repeating.

for xfce v4.0: go to you home directory, in the
".config/xfce4/xfconf/xfce-perchannel-xml" subdirectory you'll
find the file "displays.xml", edit it with the appropriate
resolution and frequency, you'll be fine.

Sure enough, the old resolution was still specified there. I
haven't looked at the frequency, but changing the resolution
fixed the immediate problem. The monitor is now working very
well.

One of the results of the desktop not being integrated with
the OS, as Windows is.

Doug.
email Follow the discussionReplies 5 repliesReplies Make a reply

Similar topics

Replies

#1 despen
January 31st, 2011 - 09:49 am ET | Report spam
Doug Laidlaw writes:

One of the results of the desktop not being integrated with
the OS, as Windows is.



Now why make such a silly comment?

The problem you experienced is with XFCE storing away a value
that it should be determining dynamically.

There are plenty of other window managers that DO NOT contain that bug.
Replies Reply to this message
#2 Doug Laidlaw
January 31st, 2011 - 10:28 am ET | Report spam
wrote:

Doug Laidlaw writes:

One of the results of the desktop not being integrated with
the OS, as Windows is.



Now why make such a silly comment?

The problem you experienced is with XFCE storing away a


value
that it should be determining dynamically.

There are plenty of other window managers that DO NOT


contain that bug.

True enough. As I wrote, KDE is O.K. One post called it a
bug. But nevertheless, I had one resolution in X and a
different one in the desktop. That can happen only because
they are distinct. Although the resolution in X was correct,
the monitor could tell that it was wrong at the display level,
and kept telling me to fix it. I have no idea what it meant
in terms of pixels from X not being where the WM needed them.
I have never gone into questions like that. The result was
the original 1280 pixels stretched over 1920.

IMO, the extra width is just a confounded nuisance. I don't
watch movies anyway, and if I did, I would use a TV set. A
CRT monitor, where I can set my own resolution, would be far
more sensible. To make gdeskcal legible, I had to scale the
skin and increase the font one number. Fortunately, that
was possible, but it was a bit of work.

Doug.
Replies Reply to this message
#3 despen
January 31st, 2011 - 12:44 pm ET | Report spam
Doug Laidlaw writes:

wrote:

Doug Laidlaw writes:

One of the results of the desktop not being integrated with
the OS, as Windows is.



Now why make such a silly comment?

The problem you experienced is with XFCE storing away a
value
that it should be determining dynamically.

There are plenty of other window managers that DO NOT
contain that bug.



True enough. As I wrote, KDE is O.K. One post called it a
bug. But nevertheless, I had one resolution in X and a
different one in the desktop. That can happen only because
they are distinct.



Any part of the OS could decide to store the resolution
and use it in subsequent invocations.

Since the resolution is something that can easily change
over time, any attempt to compute it once and then use it
later is a bug and the bug can be in the OS or the desktop.

This kind of bug is known as Broken by Design.
Replies Reply to this message
#4 Doug Laidlaw
February 01st, 2011 - 07:37 am ET | Report spam
wrote:

Doug Laidlaw writes:

wrote:

Doug Laidlaw writes:

One of the results of the desktop not being integrated








with
the OS, as Windows is.



Now why make such a silly comment?

The problem you experienced is with XFCE storing away a
value
that it should be determining dynamically.

There are plenty of other window managers that DO NOT
contain that bug.



True enough. As I wrote, KDE is O.K. One post called it a
bug. But nevertheless, I had one resolution in X and a
different one in the desktop. That can happen only because
they are distinct.



Any part of the OS could decide to store the resolution
and use it in subsequent invocations.

Since the resolution is something that can easily change
over time, any attempt to compute it once and then use it
later is a bug and the bug can be in the OS or the desktop.

This kind of bug is known as Broken by Design.



Unfortunately, IMO Xfce is still growing up. The relevant
file was written correctly the first time I installed it, but
it can't be upgraded. They are still writing applications for
it, and some have quite early version numbers. I mentioned
menu issues in a previous thread. They had a menu editor, and
took it out, for some reason. It will be back. I can't type
an URL in the Run dialog without "firefox" in front. KDE and
GNOME will do it, but their attitude was that it is
impossible. They are trying to be 100% standard
freedesktop.org. So too is KDE, but I get a feeling that KDE
can be as like the standard as IE is like the browser
standard. Perhaps the standard needs fine-tuning on this
issue. To understand Xfce fully, I would need to study and
absorb the freedesktop.org standard first.

I try not to be a knocker. There are those who knock Windows
on principle. I use Windows apps when IMO they do a better
job, or do it more easily, without letting prejudice get in my
way. I just think that Linux suits my needs better. I think
that if Windows or any program has a cost, it may be worth it.
Something I installed the other day had a tracking cookie or
similar so that it can be without cost. The guys still have
to support themselves and their families, and because I am
in Australia, my stats are probably discarded anyway. I
would prefer to pay an up-front registration fee.
Better that, than no cost and no support, and being told
"You got what you paid for."

My desktop is XFce, but I like to keep my email and newsgroups
separate, so I still use Kmail and Knode. I use Kwrite for
its syntax colouring; it is a good intermediate between a
basic text editor and a programmer's one. I am not a
programmer; I do no more than edit files when I need to. I
run basically a productivity desktop, not an entertainment
one, so I have little interest in various players, or their
competing features. Overall, I have something that works to
my satisfaction. I am approaching 70 (and feeling it, at
the moment,) so I am probably very much "old school." I
can still remember when toys and equipment were repairable,
and not given on a throw-away-and-replace warranty; when
they were made of something more durable than plastic, and
didn't break within the warranty period anyway. I bought a
typewriter for my business. They had just replaced the
brass gear train in the model with a nylon one. One
gear split radially almost immediately, and I just had to live
with it. If they had kept the brass, it would still be
running well today.

Doug.
Replies Reply to this message
#5 despen
February 01st, 2011 - 02:03 pm ET | Report spam
Doug Laidlaw writes:

wrote:
Unfortunately, IMO Xfce is still growing up.



Did not know that. It's been around a long time.
I'm an Fvwm2 user. It's even older than Xfce.

They had a menu editor, and
took it out, for some reason.



Probably because of the "xdg" menu standard.
We recently upgraded Fvwm to be able to create Fvwm menus
from the "xdg" config files.

They are trying to be 100% standard
freedesktop.org. So too is KDE,



The nice thing about standards are that there are so many
of them.

Window managers started out with the ICCCM standard.
Then ICCCM2.
When that was deemed to be inadequate they added
EWM (Enhanced Window Manager).
Then along came xdg.

I try not to be a knocker.



Cool.

I am approaching 70 (and feeling it, at
the moment,) so I am probably very much "old school."



Cool. I just made 65. Happy to say I don't feel it.
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search