LWN.net Logo

The Grumpy Editor encounters the Hardy Heron

By Jonathan Corbet
April 23, 2008
Your editor is not always known for making life easy for himself. Perhaps one of the most clear examples of masochistic behavior would be a certain preference for running development distributions on mission-critical systems. That said, your editor has stuck with a stable distribution on his laptop through a round of intensive travel earlier this year. But that was too easy, so, shortly before heading off to the Linux Foundation's Collaboration Summit, the laptop got moved to the Ubuntu "Hardy Heron" distribution. Needless to say, there have been some interesting ups and downs (literally) since then.
Advertisement

There is always a certain thrill that comes with upgrading a system and finding that important features no longer work. In this case, the problem was suspend and resume, which your editor uses heavily. In fact, the system would suspend just fine - as long as one failed to notice that, behind the cleverly darkened screen, the laptop's backlight had been left on. Needless to say, this new behavior is not helpful if one's goal is to save power while the system is suspended, but it gets worse than that. Your editor discovered this nice surprise after carrying the computer in a backpack for a few hours; by the time it came out, it was almost too hot to hold. Happily, no permanent damage appears to have been done.

Or, perhaps, unhappily. Your editor has been looking for an excuse to get a new laptop for a while.

The problem turned out to be a HAL configuration error combined with a strange internal model number which makes your editor's Thinkpad X31 different from, seemingly, every other X31 on the planet. Once your editor found the bug report and attached a "me too" comment, the solution was quick in coming. On the net, one can find complaints that Ubuntu is unresponsive to bug reports, but that was certainly not the experience here.

As an aside, it seems worth noting that life seems to have gotten more complicated, with a lot more code wrapped around the kernel than there once was. The problematic configuration file was /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-ibm.fdi - not a place where your editor, who is not a HAL expert, would have thought to look. That, it seems, is the price of more capable hardware and software, but sometimes your editor pines for the days when it seemed possible to carry a full understanding of the system within a single brain.

GNOME developers are (perhaps unjustly in recent years) known for taking a minimal approach to configuration options. That can be irritating, but just as annoying is their tendency to reset the options they do provide over major updates. Once suspend and resume work, your editor demands something else of a laptop when traveling: absolute silence. So the return of beeps to gnome-terminal was not appreciated. Those were easily silenced, but the GNOME developers also saw fit to bring back the blinking cursor - and they took away the configuration option which abolishes that intolerable feature.

Your editor first ran into the unstoppable blink with Rawhide; a query to the developers there turned up a quick answer. It seems that the GNOME developers have decided to create a single, system-wide parameter to control blinking cursors. Now, your editor approves of the concept of being able to turn off that behavior everywhere with a single switch - but only as long as that switch isn't hidden where nobody will ever find it. In this case, the GNOME developers have taken this feature, wrapped it in old newspapers, and stashed it behind the furnace in the basement; then they put a trunk on top of it. It is a rare user who will find it unassisted. In the hopes that it may save one or two readers from some time spent with search engine, your editor will now divulge the top-secret incantation which turns blinking cursors off:

    gconftool-2 --type bool --set /desktop/gnome/interface/cursor_blink false 

Naturally, a terminal window is required to run this command. It would have been nice if the developers who packaged this code for Hardy Heron had found a way to smooth over this change, but no such luck; as far as your editor can tell, no distributor has made that effort.

Another bit of fun is that your editor is no longer able to set the desktop background; the relevant configuration windows are ineffective. In this case, it would appear that the task of implementing the user's background choices have been moved to nautilus - just the place your editor would have thought to look for it. As it happens, your editor has no use for file managers and does not run nautilus - and is punished with an immutable Ubuntu-brown background for that sin. Happily, your editor still knows how to run xsetroot.

All of the above is a set of relatively minor grumbles, all of which are rectified in relatively short order. Once those details have been taken care of, the Hardy Heron release works quite well. One of the biggest aggravations from previous upgrades - having OpenOffice.org reformat the slides in all of your editor's presentations - was not present this time around. Hopefully we are moving into an era where "it didn't mangle my documents" is not something considered worthy of mention.

There was one very nice surprise as well. Your editor's laptop previously required almost 12 watts of power when running unplugged. This laptop is not at the bleeding edge of current technology, so the amount of time it was able to run without a recharge has been dropping for a while. With the Hardy release, steady-state power consumption has dropped to just over 9 watts - a big improvement. The credit for this change belongs to developers at all levels: kernel, applications, distributors, etc. The end result is a system which runs much more efficiently, and that is a good thing.

All told, your editor is reasonably content; this distribution looks like one which might just be worth keeping around. That's a good thing, since Ubuntu plans to maintain it as a "long-term support" release. Not that your editor intends to make much use of that long-term support; there should be a new development series starting soon, after all. One of the nice things about development distributions is that support never ends as long as one stays on the treadmill and the project itself remains alive.


(Log in to post comments)

The Grumpy Editor encounters the Hardy Heron

Posted Apr 23, 2008 16:11 UTC (Wed) by shredwheat (subscriber, #4188) [Link]

How does one determine the amount of wattage a laptop system is using? Does this require some
external device, or is there a number buried somewhere in a /sys like location?

Determining power usage

Posted Apr 23, 2008 16:18 UTC (Wed) by corbet (editor, #1) [Link]

I just run PowerTOP. That's a tool which anybody trying to get the most out of their laptop should have...

[Offtopic] Make Money Fast!

Posted Apr 23, 2008 21:43 UTC (Wed) by grantingram (subscriber, #18390) [Link]

I just noticed that our editor now has unique handle and number in his comments:

... 16:18 UTC (Wed) by corbet (editor, #1)

Has our editor thought about selling these? You could charge money to be know as:

... 17:53 UTC (Wed) by descartes (mathematician, #314159265)

Though maybe there is a reason I don't run my own business...

The Grumpy Editor encounters the Hardy Heron

Posted Apr 23, 2008 16:21 UTC (Wed) by BenHutchings (subscriber, #37955) [Link]

On x86 systems ACPI provides an estimate of battery power usage. powertop can show you that.

Blinking Cursors, FileManager = Desktop

Posted Apr 23, 2008 16:20 UTC (Wed) by clugstj (subscriber, #4020) [Link]

Wow, the Gnome developers appear to be implementing many of the supremely stupid features of
MS Windows.  Guess I'll be staying with XFCE a good while longer.

Do the actually not like their users?

Posted Apr 23, 2008 16:42 UTC (Wed) by pr1268 (subscriber, #24648) [Link]

gconftool-2 --type bool --set /desktop/gnome/interface/cursor_blink false

That's. Just. Hideous. Does the GNOME team not like their users? (Ducks to avoid barrage of flames)

Disclosure: I use KDE, but I guarantee it has its fair share of annoyances not unlike our editor's "strobe light" situation in GNOME.

As for the desktop wallpaper/background, well, I have to insist that GNOME got it wrong. Routing all users to a file browser application (Nautilus) to change desktop appearance is unacceptable. Heck, even Microsoft Windows does this right: Right-click on the desktop and bring up a context menu. How difficult can that be?

Do the actually not like their users?

Posted Apr 23, 2008 17:00 UTC (Wed) by tialaramex (subscriber, #21167) [Link]

There is a perfectly good GUI for that setting, as with all the GConf settings, on my Fedora
system it's Applications -> System Tools -> Configuration editor. It includes search* so that
you can quickly find settings you want. You are of course also welcome to write a GUI
configuration tool that has exactly the fourteen settings you think should be configurable,
without also listing the hundreds of other settings you think only idiots would change, but
since everyone's list is different your tool may have a limited audience...

* although in this case you'll find a bug, searching for "cursor" doesn't match the relevant
configuration setting even though it obviously should. Some other entries about cursors are
found instead, someone more patient than me could investigate whether this is fixed in a newer
GNOME than my 2.20.3


Also, you DO right click on the desktop and bring up a context menu item to change the
background in GNOME. But what are you clicking on? When Nautilus is running (which is the
default for GNOME users) then the background is owned by Nautilus. Since our Grumpy Editor
wasn't running Nautilus there was nothing to click on except the empty root window.

Changing backgrounds

Posted Apr 23, 2008 17:15 UTC (Wed) by corbet (editor, #1) [Link]

Also, you DO right click on the desktop and bring up a context menu item to change the background in GNOME. But what are you clicking on? When Nautilus is running (which is the default for GNOME users) then the background is owned by Nautilus. Since our Grumpy Editor wasn't running Nautilus there was nothing to click on except the empty root window.

How about System->Preferences->Look and Feel->Appearance? There's a nifty "Background" tab there that used to work; now it silently fails to do what it says it's going to do.

Changing backgrounds

Posted Apr 23, 2008 17:24 UTC (Wed) by tialaramex (subscriber, #21167) [Link]

Presumably because it tells Nautilus to set the background, and your Nautilus is long dead.

Is that outcome a bug? Yes, perhaps. But it's going to be on the priority scale somewhere
between "GNOME does not show correct free disk space on my 20 Petabyte USB RAID array" and
"GNOME world map is wrong for my planet, Neptune". My guess would be that if you don't write a
really good patch of your own, any bug would be "fixed" by just greying out that entire panel
when Nautilus is disabled.

Changing backgrounds

Posted Apr 23, 2008 18:25 UTC (Wed) by mightyduck (subscriber, #23760) [Link]

This is a pretty rude response. You GNOME people really hate your users!

Disclaimer: I'm using KDE.

Changing backgrounds

Posted Apr 23, 2008 19:36 UTC (Wed) by proski (subscriber, #104) [Link]

I think we are LWN subscribers here in the first place, not "GNOME people" or anyone writing in any official capacity. It's not an interview with a GNOME developer or something like that.

Changing backgrounds

Posted Apr 24, 2008 0:57 UTC (Thu) by drag (subscriber, #31333) [Link]

I don't see this has a huge problem.

Just use gconf-editor

I find using that a lot easier then navigating KDE's option menus. 


Seriously. It's not that bad.

For example for blinking cursors you go:

ctrl-f
checkmark "search also key names"
type 'blink'
hit 'enter'

First two finds are:
/desktop/gnome/interface/cursor_blink_time
/desktop/gnome/interface/cursor_blink

The first one tells me:
"Length of the cursor blink cycle, in milliseconds"
Soo.. no that's not it.

The second one tells me:
"Whether the cursor should blink"

I uncheck it. 

The change is immediate.


That's not that bad. It's a obscure setting that few people want. Why clutter up everything
with a billion options?

I can understand getting irritated that previously options that are set get unset, of course. 

But we don't need a 1001 GUIs or windows with a billion icons on them representing every
single obscure option imaginable. It's just not worth it.


Seriously. People who are a serious Gnome users need to use gconf-editor.

There are descriptions for most options that are not blindingly obvious.

For example; clicking through metacity's options I found how to enable it's compositing mode
and to enable low-resource mode.  For nautilus I found how to change the 'my computer' name.
All sorts of other stuff.

Changing backgrounds

Posted Apr 24, 2008 8:17 UTC (Thu) by lab (subscriber, #51153) [Link]

Sorry, but I cannot begin to describe how wrong I think you are, and thank you for putting it
very concisely. You exactly hit one of the nerves that made me go "fed up" with Gnome a while
back, and switch to KDE. I've been a happier person for it.

Changing backgrounds

Posted Apr 25, 2008 4:53 UTC (Fri) by vapier (subscriber, #15768) [Link]

as much as i hate the karma system, i have to +1 this comment.  so spot on, it's like you copy
& pasted my brain.

Changing backgrounds

Posted Apr 26, 2008 0:22 UTC (Sat) by cortana (subscriber, #24596) [Link]

Or you can go to System -> Preferences -> Keyboard -> Cursor Blinking ...

Changing backgrounds

Posted Apr 23, 2008 20:58 UTC (Wed) by ernstp (subscriber, #13694) [Link]

You have disabled one of the most basic components of Gnome (Nautilus) and can't tolerate any
glitches... ?

Changing backgrounds

Posted Apr 23, 2008 21:05 UTC (Wed) by corbet (editor, #1) [Link]

If I turn off the file manager, I expect not to have a file manager. I was surprised to find that it breaks seemingly unrelated functionality, especially given that things did work in previous releases. The breaking of something which once worked is called a "regression," normally.

So be it, this one is not that big of a deal. I can't see my background anyway (which is why I see no point in having nautilus cluttering it up), and xsetroot is sufficient to clear away the obnoxious default color scheme.

Changing backgrounds

Posted Apr 23, 2008 22:45 UTC (Wed) by russell (subscriber, #10458) [Link]

Is is still a regression if the GNOME developers never intended old releases to work that way?

I would have thought nautilus was something GNOME developers could have counted on being
around as a fundamental piece of infrastructure on which they can build on.

Any GNOME developers out there?

Changing backgrounds

Posted Apr 23, 2008 23:19 UTC (Wed) by NCunningham (subscriber, #6457) [Link]

(Not a Gnome developer, but I am a developer)

It doesn't matter how the developer intends the software to be used. Users will always come up
with ways of using it that you never imagined.

What counts is whether the knobs you provide for tuning your software work as advertised,
regardless of which combination of settings the user tries. If they find a combination where
something doesn't work as intended, you have a bug. If they find a combination where something
works as intended, but not as desired, well... that's a feature request.

In this case, it's a bug because the advertised functionality doesn't work as advertised in
these circumstances.

Changing backgrounds

Posted Apr 24, 2008 1:20 UTC (Thu) by drag (subscriber, #31333) [Link]

Well the guy that was asking the question asked 'If it was a regression', not 'if was a bug'.

It may be a bug, but it's not a regression. It's always been like this as far as I know.

It shouldn't be hard to fix, so file a bug report and let it go. They fix it or they don't.

nautilus =? infrastructure

Posted Apr 23, 2008 23:25 UTC (Wed) by ncm (subscriber, #165) [Link]

I don't run nautilus either.  I don't want unrelated features built on it as "infrastructure".
By all means put desktop file management features there.  That's what it's for.  

Me, I use "mv", and prefer it.  

So, yes, this *is* a regression.  Any core dependency on nautilus is a regression, just as
would be any core dependency on tomboy or beagle.  They're programs I don't happen to use, and
that I see no reason to have installed.  There are other programs that do behind-the-scenes
work. Gnome-session seems like a not unreasonable place for this bit.

Changing backgrounds

Posted Apr 28, 2008 12:54 UTC (Mon) by ekj (subscriber, #1524) [Link]

Yes. Plain and simple yes.

If doing that USED to work, but doesn't work TODAY, then it is a regression.

It matters not how the developers, or anyone else, INTENDED it to work, what matters is actual
behaviour.

Actual behaviour is that right-clicking the desktop and setting the wallpaper USED to work,
even for people without Nautilus running. Today it no longer works. That is a regression.

It's not a major issue or anything, not as if this makes the computer unusable, but a
regression nevertheless.

Changing backgrounds

Posted Apr 28, 2008 19:40 UTC (Mon) by superstoned (subscriber, #33164) [Link]

Hehe, talking of regressions, you'd like KDE 4.0 ;-)

More serious, this is a weird thing. I would personally say it's good to 
reuse code (use Nautilus code to paint the background) but it was done 
wrong (needs Nautilus running somehow). Should be factored out in a common 
library, I would presume.

Imho despite all it's shortcomings, KDE does things better in this 
regard - the infrastructure is in order. Let's see if our Grumpy friend 
will get acquainted with KDE again when 4.1 is out - see if he likes it.


Changing backgrounds

Posted Apr 29, 2008 6:09 UTC (Tue) by ekj (subscriber, #1524) [Link]

I personally don't mind minor regressions much. I deal, and like our grumpy editor I like
living on the edge, and I'm fully aware that that means suffering bruises and cuts every now
and then.

I was just responding to the (imho!) very misguided idea that something that stops working
somehow isn't a regression if the developer never "intended" it to work in the first place.

I do indeed like KDE4, bugs and all.

Changing backgrounds

Posted Apr 24, 2008 15:54 UTC (Thu) by proski (subscriber, #104) [Link]

I don't know how it is in Ubuntu, but in Fedora 9, removing bluetooth support removes nautilus:
yum remove '*bluez*'
...
--> Processing Dependency: libbluetooth.so.2 for package: gvfs
...
--> Processing Dependency: gvfs for package: nautilus
You don't make one of the most basic components depend on libraries for optional hardware. And if you do, don't be surprised that users will remove it.

Changing backgrounds

Posted Apr 24, 2008 19:26 UTC (Thu) by oak (subscriber, #2786) [Link]

> You don't make one of the most basic components depend on libraries for 
optional hardware.

By most basic components I guess you mean gvfs?

Nautilus is not the only dependency for that (at least not in the future) 
as it replaces gnome-vfs...

Changing backgrounds

Posted Apr 24, 2008 21:49 UTC (Thu) by proski (subscriber, #104) [Link]

"one of the most basic components" referred to nautilus. I should have used quotes.

Do the actually not like their users?

Posted Apr 23, 2008 17:25 UTC (Wed) by alvherre (subscriber, #18730) [Link]

Agreed.  I'm a long-time GNOME user and while I'm happy with many of the improvements in every
release, it seems the developers find ways to annoy everyone all the time.  I have no need for
Nautilus at all.  In fact I'm not too worried about having to use gconf-editor or whatever to
change the appareance of my desktop; but the fact that not running Nautilus means that I get
*no background image at all* is disturbing.

Regarding blinking cursors, I am not worried, given that the switch from gnome-terminal to
xterm is the first thing I do when setting up my desktop.

Oops, I just noticed that I get a blinking cursor on Epiphany for editing this comment ...
yikes.

Do the actually not like their users?

Posted Apr 23, 2008 20:34 UTC (Wed) by alankila (subscriber, #47141) [Link]

My prolonged exposure to GNOME has resulted in apathy: I don't care about the desktop settings
anymore. I guess it's inevitable. To caricaturize: if I like a setting, it's almost certainly
gone in the next release, so there's no point to set oneself for disappointment.

That being said, while I can no longer easily configure myself a nonblinking cursor, at least
I can still put text as white on black. When this option is gone, too, I guess my frustration
level will finally reach its all-time peak, and I will dream of murderous rampages in GNOME
HQ.

The single best thing to have happened to GNOME lately is compiz. I don't talk about the
bling, although I somewhat appreciate that as well, especially whole-desktop zoom. What I am
talking about is the ability to drag windows from one desktop to another again. Every day that
I have been allowed to keep using this feature, I have dutifully sacrificed a chicken and gone
to bed as a happier man.

Is there nothing that can convince GNOME guys to stop removing settings? Would someone at
least write a GNOME advanced GUI that will have all the settings the devs choose to remove? I
think it'd be a hit!

Do the actually not like their users?

Posted Apr 23, 2008 23:34 UTC (Wed) by ncm (subscriber, #165) [Link]

I have watched the text edit mode setting for emacs key bindings gradually fade away.  First
the dialog-box checkbox disappeared.  Then the on-line documentation on the setting in gconf
was deleted!  The first could be attributed to streamlining.  The second smacks of malice.

When emacs edit key binding ultimately goes away, as it seems it must, I suppose I will
finally switch to KDE.  I wonder if there will be anything to miss, then.

Do they actually not like their users?

Posted Apr 23, 2008 23:56 UTC (Wed) by ncm (subscriber, #165) [Link]

By the way, the gconf key required appears to be

  desktop/gnome/interface/gtk_key_theme

and the value that still works to fix the key assignments is "Emacs".

Do they actually not like their users?

Posted Apr 24, 2008 17:32 UTC (Thu) by jfranks (subscriber, #1213) [Link]

Thank you, thank you, thank you! I thought this was lost.

Do they actually not like their users?

Posted Apr 24, 2008 19:25 UTC (Thu) by oak (subscriber, #2786) [Link]

Through Gtk themeing you can actually set Gtk text widgets to use any key 
theme (RC file) you like:
http://library.gnome.org/devel/gtk/2.12/GtkSettings.html#...

The above mentioned setting just tells it to use a pre-installed Emacs 
keybindings theme RC file from here:
/usr/share/themes/Emacs/gtk-2.0-key/gtkrc

If you look at it, it should be fairly obvious how to create your own 
keyboard themes.

Do the actually not like their users?

Posted Apr 25, 2008 4:33 UTC (Fri) by ikm (subscriber, #493) [Link]

> I guess it's inevitable. To caricaturize: if I like a setting, it's almost certainly gone in
the next release, so there's no point to set oneself for disappointment.

For me, it happened only one time — during the switch from Gnome 1.4 to Gnome 2.0. After an
initial shock and an understanding that it's really going to be this way from that point, I've
*so* switched to KDE :) Don't like being tortured this way. They should have renamed the
project to something different, really.

Do the actually not like their users?

Posted Apr 28, 2008 15:23 UTC (Mon) by ceplm (subscriber, #41334) [Link]

> Would someone at least write a GNOME advanced GUI that will have all the
> settings the devs choose to remove?

That's called gconf-editor. Yes, really -- see above explanation of how to change the settings
for blinking cursor (if you don't use normal configuration in System menu that is). It is not
that hard.

Do they actually not like their users?

Posted May 7, 2008 17:04 UTC (Wed) by celtic_hackr (guest, #47391) [Link]

So, Gnome's answer for removing obvious features is to go to gconf-editor, but this doesn't
appear to be in the menu, so one would have to dig to find this, just so they can set the
desktop background? And while on this rant, who would ever look for desktop settings in a file
manager, and why would you make the file manager the system settings manager? Isn't that the
job for a system settings manager and not a file manager? I run Linux Mint, so it's a Ubuntu
clone (on steriods). I use KDE, simply because everything is just too hard to do in Gnome, for
my taste. When I want to change something, I want to be able to do it intuitively, not by
having to google for it. Life is complicated enough without having to make it more so. GUIs
should be painless and made for the simpleminded. Not that KDE is all that, there are
certainly things that are hard to do in KDE, but it's far superior to Gnome. I even opened a
Gnome desktop to test changing the background. There was a way to do it from a right click on
the desktop (since I didn't disable Nautilus), but something running in the background made
the window come up so slowly, and every other tab (fonts, animation, etc) in the configuration
screen refused to open. Gnome is a real dog on this <1 year old laptop, but to be fair it was
the third X session running, but when I switch it to KDE it runs fine. I see comments in here
about disabling things in Gnome to get the speed performance back. 
Sorry, that's the wrong approach. 

It seems Gnome has taken all the bad ideas from Windows and implemented them, only making them
worse. Of course, our Grumpy editor has made his life harder by his own action, which any
normal person would have probably thought was innocuous. Who'd a thunk it? Remove a file
manager and remove your desktop!? I'll bet adding back Nautilus won't easily fix those
problems though, and probably the only way to properly fix removing Nautilus is to re-install
the OS? Wow, just like Windows. Great job, Gnome guys!!!

So my advice to you Grumpy Editor is switch to KDE, it's not perfect but I like it.

Do the actually not like their users?

Posted Apr 23, 2008 17:36 UTC (Wed) by zlynx (subscriber, #2285) [Link]

Oh yes.  Hideous!  Giving users an option instead of making them recompile the source code.

MacOS X, widely claimed as one of the most user friendly environments, in its 10.5 version
introduced a new look for the Dock.  Users who don't like that look had an option: open a
command line and enter a nasty command.

But they did at least have that option.

Windows, another "user friendly" environment, has about a zillion networking options hidden
inside a command line tool called "netsh".

Displaying all the options instead of a selection of options gives you interfaces like the
older KDE 2 versions, or Gnome 1, or Gnome 2's gconf-editor, or the UI Joel Spolsky uses as
the "worst ever" example: the Windows version of wget, where the UI is just every possible
wget option on a series of tabs in a dialog box.

Instead of all these hard to use options, real users edit the source code and rebuild, like
with the "dwm" window manager.

Do the actually not like their users?

Posted Apr 23, 2008 17:56 UTC (Wed) by dskoll (subscriber, #1630) [Link]

That's. Just. Hideous. Does the GNOME team not like their users? (Ducks to avoid barrage of flames)

From the brief and unpleasant interactions I've had with GNOME developers, I would conclude that they do not like their users. Well, I voted with my feet. XFCE for me, and my kids independently chose KDE after trying GNOME and KDE. Unfortunately, some GNOME annoyances are difficult to escape such as the stupid file browser that hangs for 10 seconds in large directories. Firefox 3 uses GNOME (well, I guess GTK) widgets by default. Here's the magical firefox incantation to get a usable file browser again:

about:config and then set ui.allow_platform_file_picker to false.

Do the actually not like their users?

Posted Apr 23, 2008 19:11 UTC (Wed) by jorism (subscriber, #21807) [Link]

Thanks a lot for the magical firefox incantation! If I use the standard file browser to pick
the application "gv" in /usr/bin, I have to wait about 50 seconds until the contents of
/usr/bin is displayed (!!!). I always thought that this bug would be noticed by many people
and thus get fixed soon, so I never bothered reporting it. I now realize that I have been
waiting for a fix for more than two years already... and in the mean time, I even got used to
this strange behaviour. But your trick reduces the waiting time from 50s to about 0s...! 

I wonder what the standard firefox file browser is doing with the list of files that takes so
long...anyway, thanks a lot for this workaround!

Do the actually not like their users?

Posted Apr 23, 2008 20:26 UTC (Wed) by dskoll (subscriber, #1630) [Link]

I always thought that this bug would be noticed by many people and thus get fixed soon, so I never bothered reporting it.

In the spirit of civic-mindedness, I opened bug 430532 with mozilla.org.

Do the actually not like their users?

Posted Apr 23, 2008 23:51 UTC (Wed) by cortana (subscriber, #24596) [Link]

While I agree that the GTK+ file browser could be faster... if Firefox bothered to integrate
with the GNOME platform at all then instead of picking 'gv' from a /usr/bin directory
containing (on my system) 3740 files (a pathological condition if ever I saw one) then you'd
just pick it from a dropdown of other applications capable of opening image files.

Do the actually not like their users?

Posted Apr 24, 2008 0:41 UTC (Thu) by dskoll (subscriber, #1630) [Link]

instead of picking 'gv' from a /usr/bin directory containing [...] you'd just pick it from a dropdown of other applications capable of opening image files.

Ye gods, no! That means that Firefox would totally ignore software it doesn't know about or recognize. It means that if you're not part of the GNOME Universe, you may as well not exist, which is the most objectionable aspect of GNOME anyway!

It would also do nothing to solve situations that really need arbitrary files, like "File : Open"

Do the actually not like their users?

Posted Apr 24, 2008 8:45 UTC (Thu) by cortana (subscriber, #24596) [Link]

Nothing prevents there from being a way to add arbitrary programs to the list. This user
interface has already been designed, fer-christsake, it's just up to mozilla.com to use it.
Now you should both be happy; you who want to pick some random image viewing program that
doesn't fit in with the rest of the desktop out of a directory of 3500 other files; and the
ordinary user who just wants to view an image!

http://imagebin.ca/view/KGirIbR1.html for a screenshot...

Do the actually not like their users?

Posted Apr 24, 2008 13:43 UTC (Thu) by dskoll (subscriber, #1630) [Link]

This user interface has already been designed, fer-christsake, it's just up to mozilla.com to use it.

But that would introduce a dependency on GNOME rather than just GTK. And that's completely unacceptable to those of us who do not use GNOME.

Do the actually not like their users?

Posted Apr 24, 2008 13:48 UTC (Thu) by cortana (subscriber, #24596) [Link]

No no no it absolutely would not create a dependency on GNOME. And people who don't understand
that it wouldn't should quite frankly shut the hell up instead of spreading more FUD.

Do the actually not like their users?

Posted Apr 24, 2008 15:09 UTC (Thu) by dskoll (subscriber, #1630) [Link]

OK, sorry, I didn't realize the "helper program..." dialog was part of base GTK.  I still
dislike the interface, but for personal reasons rather than because it's part of GNOME.

Do the actually not like their users?

Posted Apr 25, 2008 5:00 UTC (Fri) by vapier (subscriber, #15768) [Link]

"spreading FUD" generally implies purposefully doing so.  correcting people who are simply
mistaken does not deserve a "shut the hell up".

Do the actually not like their users?

Posted Apr 24, 2008 10:44 UTC (Thu) by jschrod (subscriber, #1646) [Link]

And those of us who don't use GNOME are left out in the cold?

Do the actually not like their users?

Posted Apr 24, 2008 11:00 UTC (Thu) by paulj (subscriber, #341) [Link]

Just use Epiphany.

I really don't understand why anyone would use Firefox with GNOME. I particularly can't
understand it why someone, after making that choice, would then complain about FireFox's lack
of system integration... 

Do the actually not like their users?

Posted Apr 23, 2008 21:57 UTC (Wed) by tjc (subscriber, #137) [Link]

From the brief and unpleasant interactions I've had with GNOME developers, I would conclude that they do not like their users.
I think they mostly like Microsoft's users, which is where a lot of the discontent comes from.

It's a lot easier to keep make-believe users that you don't really have happy than it is to please the ones that are actually using the software. As a result, features are added (and removed) that no-one actually requested.

Do the actually not like their users?

Posted Apr 24, 2008 1:04 UTC (Thu) by dskoll (subscriber, #1630) [Link]

*zing*  Yow! :-)  I must put the parent post in my .sig.

Do the actually not like their users?

Posted Apr 24, 2008 6:20 UTC (Thu) by allesfresser (subscriber, #216) [Link]

I would definitely agree with that comment, especially in my own pet-peeve case: file-selector
widget sorting.  GTK/Gnome has the setting to sort folders separately from files fixed in
stone (well, in the source code, but it might as well be in granite), with a snarky little
comment about how this is the One True Way and it will Always Be That Way.  Fortunately, a
little snip-snip with the editor, and a recompile, and the One True Way disappears into the
ether.  :)  When I say I want things sorted by last-modified date, that's exactly what I mean,
d*** it.  It doesn't matter that the last-modified thing is a folder or not--whatever it is,
put it at the top (or the bottom, if the sort is reversed)!

Do the actually not like their users?

Posted Apr 24, 2008 7:59 UTC (Thu) by debacle (subscriber, #7114) [Link]

Could you please post, where I have to change this? Patch or filename+number would be OK. TIA.

Do the actually not like their users?

Posted Apr 24, 2008 16:53 UTC (Thu) by allesfresser (subscriber, #216) [Link]

When I patched it out before, it was lines 5644 to 5707 of
gtk+-2.10.14/gtk/gtkfilechooserdefault.c.  You'll probably be able to see what to cut out and
rearrange (essentially, remove the COMPARE_DIRECTORIES macro calls).  I'm grabbing 2.12.9
right now, and I'll see if it's the same way--if so, I'll post a diff.

Do the actually not like their users?

Posted Apr 24, 2008 17:04 UTC (Thu) by allesfresser (subscriber, #216) [Link]

It is still the same in 2.12.9. Following is a patch. I didn't choose to remove the definition for the COMPARE_DIRECTORIES macro, because it won't make any difference in the generated code, but you can take it out if you want to be extra-neat.

--- gtk+-2.12.9-orig/gtk/gtkfilechooserdefault.c	2008-04-24 09:57:46.000000000 -0700
+++ gtk+-2.12.9-modified/gtk/gtkfilechooserdefault.c	2008-04-24 09:59:23.000000000 -0700
@@ -6278,8 +6278,6 @@
 		GtkTreeIter  *b,
 		gpointer      user_data)
 {
-  COMPARE_DIRECTORIES;
-  else
     return strcmp (gtk_file_info_get_display_key (info_a), gtk_file_info_get_display_key (info_b));
 }
 
@@ -6290,14 +6288,10 @@
 		GtkTreeIter  *b,
 		gpointer      user_data)
 {
-  COMPARE_DIRECTORIES;
-  else
-    {
       gint64 size_a = gtk_file_info_get_size (info_a);
       gint64 size_b = gtk_file_info_get_size (info_b);
 
       return size_a > size_b ? -1 : (size_a == size_b ? 0 : 1);
-    }
 }
 
 /* Sort callback for the mtime column */
@@ -6307,14 +6301,10 @@
 		 GtkTreeIter  *b,
 		 gpointer      user_data)
 {
-  COMPARE_DIRECTORIES;
-  else
-    {
       GtkFileTime ta = gtk_file_info_get_modification_time (info_a);
       GtkFileTime tb = gtk_file_info_get_modification_time (info_b);
 
       return ta > tb ? -1 : (ta == tb ? 0 : 1);
-    }
 }
 
 /* Callback used when the sort column changes.  We cache the sort order for use

Do the actually not like their users?

Posted Apr 25, 2008 9:02 UTC (Fri) by regala (subscriber, #15745) [Link]

What can be sure is that you people don't like people but yourselves. Read what you wrote,
insulting fair developers who try to make a desktop environment for the people not you, you,
you. Some project choose a way, a policy, some others, another and so one. So instead of
spreading a hell of FUD just you and you and you there, hidden behind the pillar, just speak
yourself what you are about to frentically write, and notice you are just among GNOME-haters
here. Brain-masturbation isn't it ?
 

Do the actually not like their users?

Posted Apr 24, 2008 2:23 UTC (Thu) by lysse (subscriber, #3190) [Link]

I thought "ooh good, I'll do that", went to about:config, and discovered it was already set
that way.

Hmm. I wonder when I did that? And how long it would have taken me to remember what needed
sorting out if it had been silently reset on upgrade? And why anyone would tolerate, even for
one second, an environment where that kind of rudeness was not only tolerated but expected...?

Config changes and upgrades

Posted Apr 26, 2008 8:42 UTC (Sat) by Cato (subscriber, #7643) [Link]

Surely you back up your home directory (which contains your Firefox profile on Linux) on
upgrades?  In any case, very few application upgrades would touch anything in your home
directory, so this is something of a non-issue.

I do recommend a home Wiki to track this sort of config change, which is particularly useful
if you do a fresh install or want to do the same change on other machines.

Do the actually not like their users?

Posted Apr 23, 2008 20:58 UTC (Wed) by SEJeff (subscriber, #51588) [Link]

Either you misunderstood him, or the editor was wrong. Nautilus _manages_ the desktop
background. That means if you aren't running nautilus or tell nautilus to no manage
backgrounds in gnome then you can't change the wallpaper.

To change the wallpaper, right click on the desktop, and click "Change Desktop Background".
Thats from the Ubuntu Hardy box I'm posting this message from.

Do they actually not like their users?

Posted Apr 23, 2008 22:09 UTC (Wed) by pr1268 (subscriber, #24648) [Link]

That means if you aren't running nautilus or tell nautilus to no[t] manage backgrounds in gnome then you can't change the wallpaper.

So, to draw an analogy, that's like having to go to the stove in the kitchen to change the channel on the television in the living room. Sorry for being blunt, but I hope that my perspective on this interface may tell others more closely related to GNOME desktop development why it seems like A Bad Idea™.

I do wish to thank our editor for his review, and also for taking the time out of his schedule to participate in the discussion.

Do they actually not like their users?

Posted Apr 23, 2008 23:33 UTC (Wed) by im14u2c (subscriber, #5246) [Link]

I'd actually say it's more akin to turning on your TV so you can change the time on your VCR.
That's not the primary use of either piece of equipment, but it reuses the existing
relationship among the pieces to great effect.

In the case of Nautilus, since it's expected to be there as part of the overall GNOME
environment and needs to handle root-window events anyway, having it take over the root window
image doesn't seem like too much of a stretch.  (That's roughly how Windows does it--it's the
Explorer shell that handles it, IIRC.)  Just as in my analogy, since a VCR pretty much has to
have a TV attached so you can watch a tape, so reusing the TV for on-screen menu display isn't
too much of a stretch.

Are there VCRs that let you change the time w/out a TV?  Of course!  But that doesn't make the
ones that require a TV for that purpose wrong.  It just makes them different.

Now as for the silent failure to change the background?  That sounds a bug.  That level of
failure shouldn't be silent.  Either a error/warning dialog should come up, or the tab should
be greyed out when Nautilus isn't running.  Also, disabling Nautilus should give a warning
that some functionality will be disabled.

Do they actually not like their users?

Posted Apr 24, 2008 2:28 UTC (Thu) by lysse (subscriber, #3190) [Link]

> I'd actually say it's more akin to turning on your TV so you can change the time on your
VCR. That's not the primary use of either piece of equipment, but it reuses the existing
relationship among the pieces to great effect.

It's also a huge waste of power and time for what should be a trivial job and one for which UI
elements already exist; the only people who benefit from it are the people who are doing the
Wrong Thing in the first place (in that case, leaving their TV on all the time). And it's not
an optional job (at least not anywhere that has DST or power outages). Moreover, if I saw
that, I'd assume the rest of the UI made me work proportionally harder, and I'd go and buy
something else.

...So yeah, actually not a bad analogy.

Do they actually not like their users?

Posted Apr 24, 2008 3:20 UTC (Thu) by im14u2c (subscriber, #5246) [Link]

Hmmm...  I don't leave my TV on all the time, and yet, I benefit from OSD to program my time
on my VCR.  I only need to do it twice a year and it only takes a minute or two.

Using menus on a screen that are readable and intuitive compared to the tiny buttons and
limited feedback pre-OSD VCRs gave me years ago is a UI benefit.  You could compare this to
right clicking the background vs. having to edit an .xsession file and adding an xsetroot
command in the right place pointing to a graphics file of the right format.

Do they actually not like their users?

Posted Apr 26, 2008 9:46 UTC (Sat) by hamish (subscriber, #6282) [Link]

Heh,
anticipating this problem, the manufacturers of my VCR built a 5cm QVGA LCD screen into it -
So I get the full UI without turning on my TV

VCR setup

Posted Apr 24, 2008 9:29 UTC (Thu) by tialaramex (subscriber, #21167) [Link]

It's an optional job if you bought a modern VCR (not that those really exist any more since
they're obsolete) and live in a country with decent TV. The VCR will normally auto-tune during
setup, thus finding channels with data services, the data services nearly always carry a
clock. It can watch the suspect clock for a while, and if it does seem to be a clock, set the
time.

e.g. 12:01:01 progressing to 12:01:02 suggests a clock, whereas earl; 806 progressing to n36 -
ok does not :)

And yes, I've definitely owned VCRs able to do this, and yes, they used an on-screen display
for their setup thus obliging you, the VCR owner to also have and use a television. No
complaints here. I've also used a VCR (my parents) with a 14 day 20 item, semi-repeating
programmable timer and no on-screen display and let me just say, you are stone cold crazy if
you think that's better. I'd rather buy a new VCR for someone than help them use one of those
horrible LCD panel remote controls to try to set up or program the VCR.

VCR setup

Posted Apr 24, 2008 13:46 UTC (Thu) by im14u2c (subscriber, #5246) [Link]

And yes, I've definitely owned VCRs able to do this, and yes, they used an on-screen display for their setup thus obliging you, the VCR owner to also have and use a television. No complaints here. I've also used a VCR (my parents) with a 14 day 20 item, semi-repeating programmable timer and no on-screen display and let me just say, you are stone cold crazy if you think that's better. I'd rather buy a new VCR for someone than help them use one of those horrible LCD panel remote controls to try to set up or program the VCR.

That's exactly where I'm coming from. :-) And sure, VCRs are by and large obsolete these days, but they're useful as a ready example since nearly everyone's experienced them by now and they're meant to be used by average consumers, not trained experts.

And everyone I think knows a family member or relative with "blinking 12:00" syndrome, especially with those older, arcane VCRs. My stepmom's parents used to tape over the clock with black electrical tape back in the 80s, indicating the depth of failure the old, clunky interfaces exhibited.

VCR setup

Posted Apr 25, 2008 1:25 UTC (Fri) by vonbrand (subscriber, #4458) [Link]

I did own such a VCR, and yes, it blinked 12:00 most of the time. I just had no use for the clock in it (until I programmed it to record at a time I had to be away).

VCR setup

Posted Apr 24, 2008 14:05 UTC (Thu) by lysse (subscriber, #3190) [Link]

> I've also used a VCR (my parents) with a 14 day 20 item, semi-repeating programmable timer
and no on-screen display and let me just say, you are stone cold crazy if you think that's
better.

Way to move the goalposts. I was talking about a VCR that required you to *set the clock* via
a TV. I wasn't talking about a VCR that only permitted you to program it in-depth from the
front panel (although arguably "start recording in 2 hours, stop an hour after that" should be
as easy to do as setting the time).

On the other hand, perhaps you've provided us with a perfect illustration of the binary
thought patterns which lead to monstrosities like that originally complained about.

VCR setup

Posted Apr 24, 2008 18:18 UTC (Thu) by im14u2c (subscriber, #5246) [Link]

I really don't have a problem setting the time using the TV.  I'd reckon the vast majority of
VCRs still in service are connected to TVs, and that's my point.  VCR manufacturers can safely
assume that a TV will be connected to the VCR, and so it can serve as a display when
necessary.

Ignoring the 14-day timer aspect, it's still easier to set the time with OSD than it is with
tiny buttons and minimal feedback on the VCR itself.

VCR setup

Posted Apr 25, 2008 2:44 UTC (Fri) by lysse (subscriber, #3190) [Link]

> I'd reckon the vast majority of VCRs still in service are connected to TVs

...and are those TVs always turned on and ready to go?

VCR setup

Posted Apr 25, 2008 2:51 UTC (Fri) by im14u2c (subscriber, #5246) [Link]

Why does it matter?  Is my monitor always turned on with my mouse hovering over the wallpaper
with my finger on the mouse just waiting to right click?

VCR setup

Posted Apr 25, 2008 3:19 UTC (Fri) by lysse (subscriber, #3190) [Link]

> Why does it matter?

Oxygen thief. :P

I forgot one part - the stove would have to be powered on

Posted Apr 24, 2008 3:28 UTC (Thu) by pr1268 (subscriber, #24648) [Link]

So, to draw an analogy, that's like having to go to the stove in the kitchen to change the channel on the television in the living room.

Furthermore, with respect to our editor's experience, the stove would have to be powered on to change the TV channel.

Okay, I'll lay off now. But, I would like to make a general observation about GNOME v. KDE:

A friend and fellow grad student with whom I share an office has Ubuntu 7.10 installed on his ThinkPad T61. I'm running Slackware 12 and KDE on a second-hand Dell Latitude C610. His experience using computers prior to Linux was entirely on Macs, whereas my pre-Linux desktop PC experience was all Windows. He prefers GNOME, I prefer KDE. Again, this is merely an observation.

Not that I couldn't be persuaded to learn/use GNOME sometime. But before that happens, I'd certainly appreciate knowing that tasks such as changing the desktop wallpaper aren't obfuscated to oblivion.

Do the actually not like their users?

Posted Apr 24, 2008 8:54 UTC (Thu) by elama (subscriber, #262) [Link]

Well, using fedora (8 or 9 doesn't matter) this works just fine.
Just use System->Preferences->Look and Feel->Appearance / Background
change the background setting, logoff and login again. No problem.

Do the actually not like their users?

Posted Apr 24, 2008 2:22 UTC (Thu) by jamesh (subscriber, #1159) [Link]

Changing the cursor blink behaviour is a lot easier than the article makes out.

I was able to turn off cursor blink desktop wide by going to System -> Preferences ->
Keyboard, then unchecking the "Cursor blinks in text fields" checkbox.

I can see how this could be confusing if the user expected it to be a per-app setting, but
other than the old gnome-terminal behaviour there isn't much reason to expect it to be
per-app.

Do the actually not like their users?

Posted Apr 24, 2008 8:54 UTC (Thu) by Cato (subscriber, #7643) [Link]

It's good that there's a central preference, but why on earth is this under Keyboard?  Surely
it should be under Appearance, Behaviour or similar ...

Do the actually not like their users?

Posted Apr 24, 2008 9:57 UTC (Thu) by jamesh (subscriber, #1159) [Link]

Probably because it is related to handling of keyboard input?

It also happens to be where Windows and MacOS X put it, and there doesn't seem to be many
compelling reasons to be different (save that for places where it matters).

Do the actually not like their users?

Posted Apr 26, 2008 13:38 UTC (Sat) by man_ls (subscriber, #15091) [Link]

Perhaps because on Windows and Mac it is off by default, and nobody in their right minds sees a sensible reason to switch it on, so nobody ever tries to find it?

Do the actually not like their users?

Posted Apr 24, 2008 6:54 UTC (Thu) by elama (subscriber, #262) [Link]

The whole gnome/background discussion reminds me of the "color of the bike shed" phenomenon
(http://en.wikipedia.org/wiki/Color_of_the_bikeshed).
And desktop environments tend to be full of bike sheds...

It's not that gnome-developers don't like their users. It's just not that easy to make
everybody happy.



The problem of configurability

Posted Apr 24, 2008 9:41 UTC (Thu) by alex (subscriber, #1355) [Link]

The GNOME developers made the decision a long time ago to reduce the number of options in
their GUI config panels. To a new user having everything exposed makes things very complex,
not to mention the problems caused if you don't think carefully about the interaction between
those knobs.

Personally I'm sanguine about the loss as long as the power users can still access stuff
through GConf (which despite my earlier objections to it's Windows like registry approach I've
learnt to love). But even then those options do come at a cost from a code maintenance point
of view.

There is nothing to stop people who want a GUI from developing a PowerGUI like app to tweak
these knobs for people that have yet to learn the command line. But to be honest if you want
to be a power user I think learning the command line is required reading.

The problem of configurability

Posted Apr 24, 2008 9:58 UTC (Thu) by elama (subscriber, #262) [Link]

Yes. I agree the gconf approach makes sense.

I do have my own set of gnome-settings I care of and so I do have a short script that sets
those via gconftool-2. Very fast, very predictable.
Only drawback is, that there is no easy option that I'm aware of to check whether a key is
valid/used. So if gnome changes certain keys in newer versions you still have to search for
correct replacement.

The problem of configurability

Posted Apr 24, 2008 12:22 UTC (Thu) by alex (subscriber, #1355) [Link]

It should be possible, gconftool -R will dump possible keys. A mixture of perl and grep and
you should be able to test if your key still exists:

13:21 ajb@pitcairn/x86_64 [~] >gconftool-2 -R /desktop/gnome/interface | grep "cursor_blink ="
 cursor_blink = true
13:21 ajb@pitcairn/x86_64 [~] >echo $?
0
13:21 ajb@pitcairn/x86_64 [~] >gconftool-2 -R /desktop/gnome/interface | grep "removed_key ="
13:21 ajb@pitcairn/x86_64 [~] >echo $?
1

The Grumpy Editor encounters the Hardy Heron

Posted Apr 23, 2008 16:52 UTC (Wed) by elanthis (subscriber, #6227) [Link]

You really can't complain about the background feature.  You did some weird and very
non-normal customization that only a teeny, tiny, itsy bitsy fraction of people who use GNOME
are going to do.  If it breaks, oh damn well.  I also don't see why you think it makes no
sense for Nautilus to handle backgrounds, given that on 99.9999% of GNOME desktops, Nautilus
is running and draws over the root window.  Putting the background support code anywhere else
is just silly.

This is why reviews of software from elitist UNIX nerds are so pointless.  They fail to grasp
the needs of regular people and they spend half the review complaining about stuff that nobody
with a life (see below) cares about.

The suspend/resume complaint is pretty critical.  Unless the fix involved running the updater
and letting fixed packages correct the system, having to change files or whatnot is entirely
not a real solution for real people who didn't spend the last 5+ years wasting time learning
Linux internals that they could have spent camping, reading, doing artistic projects, getting
laid, hanging out with friends, raising a family, etc.  The other two complaints in this
article just prove that the editor is a nerd and anyone reading who cares about those issues
are nerds.

The Grumpy Editor encounters the Hardy Heron

Posted Apr 23, 2008 17:18 UTC (Wed) by tialaramex (subscriber, #21167) [Link]

The flashing cursor thing is one of those issues like Caps Lock where a surprisingly large
number of not particularly geeky people care. So you need to have a solution. But these people
recognise that they're asking for something a bit special, and will be happy to be told how to
fix it with Gconf either from a command line (as the Grumpy Editor chose) or using the
supplied GUI configuration editor.

Microsoft has to support plenty of registry entries for these people too. Tab completion in
the CMD.EXE ? For every person who can't live without it there are a thousand who've never run
CMD.EXE in their lives. Want a proportional font in your fixed-pitch text editor? Windows'll
do it if you know the magic incantation. Again, probably a hundred people in the world want
that, but since two of them worked on the text editor, there it is.

Now the Nautilus disabling antics I agree are pushing it. If you want to rip out a core piece
of the system you have to expect a certain amount of dangling pipework to get left behind.

The Grumpy Editor encounters the Hardy Heron

Posted Apr 23, 2008 17:24 UTC (Wed) by JoeBuck (subscriber, #2330) [Link]

A flashing cursor definitely should not be the default on laptops. It burns power and decreases battery life.

The Grumpy Editor encounters the Hardy Heron

Posted Apr 23, 2008 17:27 UTC (Wed) by tialaramex (subscriber, #21167) [Link]

It times out. That's part of the reason why this feature was centralised, which in turn lead
to our Grumpy Editor being slightly more Grumpy than usual. Next to the setting to disable it
altogether is one which adjusts the length of time before it stops flashing when idle.

The Grumpy Editor encounters the Hardy Heron

Posted Apr 24, 2008 2:50 UTC (Thu) by jamesh (subscriber, #1159) [Link]

The cursor_blink_time setting controls the speed of the blinking -- it doesn't cause the
blinking to stop after a time out.

The Grumpy Editor encounters the Hardy Heron

Posted Apr 24, 2008 8:47 UTC (Thu) by tialaramex (subscriber, #21167) [Link]

You're right. I could have sworn there was a timeout as well as time there, but no, it looks
like it's only in the widget toolkit

(If anyone does want this, a Google search will find you an explanation of how to set the
timeout for all GTK+ applications, at least if your libraries are new enough)

The Grumpy Editor encounters the Hardy Heron

Posted Apr 30, 2008 18:30 UTC (Wed) by pimlottc (subscriber, #44833) [Link]

Are you serious?  The possible power draw of painting a cursor has to be so vanishingly small
as to be unmeasurable.

Power cost of painting a cursor

Posted Apr 30, 2008 18:32 UTC (Wed) by corbet (editor, #1) [Link]

The power draw of things like cursor painting goes up significantly when it must wake the processor. The key to saving power is long sleep times; anything which wakes the processor unnecessarily works against that.

The Grumpy Editor encounters the Hardy Heron

Posted Apr 23, 2008 17:25 UTC (Wed) by Velmont (subscriber, #46433) [Link]

What a stupid thing to say. That doesn't prove anything. It's possible, you know, to do all of
the above mentioned. No problem.

I agree with the background problem, that's no normal use case; but the things corbet looked
at in the article is things we who just want to use the computer also need. Like lower power
consumption, suspend/resume as you said and not destroying old documents.

Anyway, it's fun to read and that's as far as I know much of the point in Grumpy Editor
series. :-)

The Grumpy Editor encounters the Hardy Heron

Posted Apr 23, 2008 22:05 UTC (Wed) by tjc (subscriber, #137) [Link]

What a stupid thing to say.
Second.

Here I am writing software when I could have spent my life camping. I wonder it it's too late to start over...

The Grumpy Editor encounters the Hardy Heron

Posted Apr 23, 2008 18:11 UTC (Wed) by jond (subscriber, #37669) [Link]

I think there is just reason to complain. Yes, this is not a common scenario. However, the
previous behaviour was for it to work, and the new behaviour is for it not to. Perhaps you
should  not be able to specify the background image in the gnome settings if nautilus is not
running, with a suitably informative message if you try.

Nautilus on Desktop is a Bad Idea

Posted Apr 23, 2008 18:21 UTC (Wed) by zlynx (subscriber, #2285) [Link]

Everyone who cares about performance should disable Nautilus on desktop.  

Nautilus on my system consumes between 20 and 80 MB of RAM between itself and its cached X
pixmaps (this is a general Gnome problem on 64-bit compiles: its libraries are overly
pointer-happy: learn to use arrays and linked array blocks people!).  

This 80 MB is useless most of the time.  Who uses it on the desktop?  Most of the time you
can't because there are applications in the way.  The Places menu or an active Nautilus window
in the Taskbar is then the only easy way to get to files.  Watch someone actually using their
computer.  They may use a desktop icon two or three times in an entire *day*.

The performance issues are many.  

When Nautilus is running the desktop and your system is running low on memory the system swaps
it out because it is rarely active.  Then, when you switch virtual windows or close or
minimize your application, Nautilus and its inactive X memory has to swap back in causing
awful UI stutters as X gets suspended during paging.

It sets file activity monitors on all directories it is open on.  Whenever a file changes,
Nautilus wakes up and runs, wasting CPU and again forcing the kernel to pull it in from swap.

When using a non-accelerated X driver and moving items across the desktop, Nautilus again
screws up.  The X root background has special handling from the old days when all systems were
slow.  Nautilus is a regular window and does not.  So, for every motion of dragging a window
across Nautilus, X wakes up Nautilus to redraw the background window.

Using a file manager to draw the entire background, *just to have two stupid desktop icons no
one uses* is a ridiculous idea.  Why oh why didn't the programmers just create a small
invisible window around each of the desktop icons?

So, in my opinion, not using Nautilus for desktop background should be the default not the
exception!

Nautilus on Desktop is a Bad Idea

Posted Apr 23, 2008 23:55 UTC (Wed) by cortana (subscriber, #24596) [Link]

What on earth are you running GNOME on? I haven't seen any of these issues on my ancient
desktop PC, an Athlon XP 2500+ from donkeys years ago with a mere 1 GB of RAM.

Nautilus on Desktop is a Bad Idea

Posted Apr 24, 2008 2:40 UTC (Thu) by lysse (subscriber, #3190) [Link]

So much for the whole "bring your ancient hardware back to life with Linux" argument. Oh
well... guess it's time to throw out my perfectly function P2/333 then - oh hang on, I can't
because I live in Europe; it costs less to keep it running than it would to dispose of it.

Nautilus on Desktop is a Bad Idea

Posted Apr 24, 2008 6:00 UTC (Thu) by Los__D (subscriber, #15263) [Link]

No, so much for "Run new shiny Linux Desktop on old junk". Noone prevents you from installing
a light-weight desktop, it's what they are there for. (I have old junk too, but I install
things that are suitable for old junk)

Nautilus on Desktop is a Bad Idea

Posted Apr 24, 2008 14:25 UTC (Thu) by lysse (subscriber, #3190) [Link]

What increased functionality am I getting for the shiny? I keep asking that question, and the
"bugger all" I keep answering is why I don't regard said P2 as junk yet - it runs fluxbox just
fine, and the only reason it isn't my usual desktop is the great big inefficient heap of shit
that is firefox (which even on larger, faster machines behaves as though it's the only program
I'd ever need in memory - it's a *web browser*, for crying out loud! a desktop accessory!) and
the even bigger one that is openoffice. Trust me, if there were usable lightweight
alternatives to those I'd be using them; unfortunately, more and more programs that would be
(or worse, used to be) quite useful to me if they only depended on gtk or qt cleave ever
closer to GNOME or KDE (abiword is a good example).

Once upon a time, one of the more compelling arguments for using Linux was that it allowed you
to step off the upgrade treadmill and use the kit you had for longer. Increasingly I'm getting
the sense that this is no longer feasible. You might not care about that, but those who cannot
look after their own minorities have no business pleading for minority recognition themselves.

Nautilus on Desktop is a Bad Idea

Posted Apr 24, 2008 16:05 UTC (Thu) by Los__D (subscriber, #15263) [Link]

Fluxbox is definately a fine WM, by all means use it, if you don't think you get anything out
of running a heavier WM/desktop.

Abiword is probably the most lightweight word processor there is... Heck, it doesn't even
require X, if you don't need a UI (Which admittedly, most people do for wordprocessing). I
don't know if your distribution chose to build it against GNOME libraries, which is an option,
but that is hardly neither Abiword nor GNOME's fault. In Ubuntu (and probably Debian), you can
choose a GTK or GNOME-bound version.

There is plenty of browser alternatives. If you don't find them usable enough, then maybe that
could be what you are getting for the shiny?

While I fully respect the need to running programs on older computers, there's no reason to
keep everyone on the minimum resources, especially when there IS lightweight alternatives.
That those alternatives doesn't suit you, has nothing to do with not looking after minorities.

Nautilus on Desktop is a Bad Idea

Posted Apr 25, 2008 3:13 UTC (Fri) by lysse (subscriber, #3190) [Link]

> While I fully respect the need to running programs on older computers, there's no reason to
keep everyone on the minimum resources

Yes there is. If you optimise for low resource usage, *everyone* benefits. If you optimise for
current hardware, you just screwed everyone who can't upgrade yet.

> There is plenty of browser alternatives

...which are...? Just the actively-developed FOSS ones, please - let's at least try to
maintain a level playing field.

But anyway, I just experimented; I went and grabbed an old copy of Mozilla 1.5 (you know, the
browser that Firefox replaced because it was "too heavyweight") - and it runs like a dream on
my current hardware. I'm using it right now. Moreover, it doesn't unduly compromise my web
experience... *yet*; I'm at the mercy of a million script kiddies deciding that "nobody uses
sub-GHz computers / single-threaded Javascript engines / machines without Flash" any more, and
not bothering to ensure that they don't lock out anyone whose hardware doesn't match their own
in specification. (I used to use links -g from the framebuffer, until too many sites decided
that Javascript is non-negotiable, and "a sea of DIVs" could be used as a description of both
the content and its authors, and I got a couple of computers with no good framebuffer
support.)

Once FF3 is my only choice, I'm screwed. And complacency like yours is responsible for that,
unless you're going to buy me a brand new computer every 3 years. (Nah, didn't think so.)

> Abiword is probably the most lightweight word processor there is...

Actually, the combination of vi, troff and gv probably fulfils that description. Notable is
the absence of bloat with each new release of that software - vim isn't putting on the pounds
in anywhere near the same way that firefox, soffice, KDE or GNOME are. Hell, the whole set is
probably fast enough that you can preview your changes in more or less realtime now - which is
as it should be; more capacitous hardware should let you do more, not get soaked up by an
infrastructure that expands even more rapidly, and feature addition should not cause
supra-exponential resource usage growth.

As for Abiword, well... it's lightweight compared with OpenOffice, but overall? Er, no - and
last time I tried to compile it without GNOME support, it insisted in having a goodly chunk of
GNOME architecture around anyway (and my patience got exhausted before I retrieved all of it).
It's also sufficiently unpredictable that I can't trust it not to mangle my work (I'm glad I'm
not at university any more).

Rather than turning on the condescension, perhaps you might consider that I've been at this
long enough to look for solutions, and not find them where I might have done a few years ago,
and *that*'s why I'm disgusted? That from my perspective, the new world order with which you
seem to be so infatuated is actually a *regression*?

Nautilus on Desktop is a Bad Idea

Posted Apr 25, 2008 8:10 UTC (Fri) by Los__D (subscriber, #15263) [Link]

You keep mentioning alternatives that are more lightweight yourself, but you seem to refuse to use them.

...which are...? Just the actively-developed FOSS ones, please - let's at least try to maintain a level playing field.
Why? I'm not here to remove your hills. If all lightweight alternatives isn't maintained anymore, I guess you know the reason... And not maintained is not the same as not usable.

If it's so important for you to use the latest and greatest with the oldest and puniest, you are going to have to help making the monsters more light. You could also i.e. help add CSS and JavaScript support to Dillo.

But don't expect people like me to stop using the extra power of recent hardware to add features we like, we are not here to help your agendas, but to help ourselves and our agendas.

Nautilus on Desktop is a Bad Idea

Posted Apr 25, 2008 15:31 UTC (Fri) by lysse (subscriber, #3190) [Link]

> You keep mentioning alternatives that are more lightweight yourself, but you seem to refuse
to use them.

...except that I *do* use them, day in day out, and find myself screwed as a result.

Since you weren't even able to grasp that point, I don't think there is any point in
continuing this conversation. You just go right along coding for the top 1% of computers and
hope that Moore will solve all your problems. But he won't - you *are* the problem.

Nautilus on Desktop is a Bad Idea

Posted Apr 26, 2008 0:51 UTC (Sat) by lysse (subscriber, #3190) [Link]

> If it's so important for you to use the latest and greatest with the oldest and puniest, you
are going to have to help making the monsters more light.

The monsters I can't even *compile*?

Nautilus on Desktop is a Bad Idea

Posted Apr 24, 2008 10:12 UTC (Thu) by droundy (subscriber, #4559) [Link]

Some of us (including our editor) measure time in human years, and in human years, quite a
reasonable computer comes with just a few hundred megabytes of ram and processors considerably
slower than yours.  And amazingly enough, these computers that worked a few years ago,
actually still work.  And if we avoid running windows or gnome, they continue to work well.
Actually, to be honest, my wife runs gnome on her X22 (PIII 800MHz) which is only a little
faster than my computer.  But she's pretty patient, and her computer runs pretty slowly.  I
always just blamed it on firefox, but if disabling nautilus were to speed things up, that
would be worth trying.

Nautilus on Desktop is a Bad Idea

Posted Apr 24, 2008 17:10 UTC (Thu) by zlynx (subscriber, #2285) [Link]

The hardware is an 2.2 GHz Athlon64 laptop with 1 GB RAM.  Hardly ancient, although it is 3.5
years old now.

High memory pressure is caused by running Open Office, Evolution (on really big IMAP folders),
Beagle and many web browser tabs.  It isn't hard at all to get things swapping and laptop disk
is the worst ever for swapping.

CPU speed isn't 2.2GHz most of the time.  Most of the time it's idling at 800 MHz and it takes
a small amount of time to clock up when there's demand.

X window speed would actually be good -- if I were running the Nvidia binary drivers.  Instead
I'm running the "nv" open source driver which is nearly an unaccelerated frame buffer.

Nautilus on Desktop is a Bad Idea

Posted Apr 24, 2008 0:51 UTC (Thu) by njs (subscriber, #40338) [Link]

> Why oh why didn't the programmers just create a small invisible window around each of the
desktop icons?

Because with this approach, the code required to let the icons to be dragged around and
positioned becomes much more insane.  That's X for you.  Like most stuff on X, the current
approach definitely isn't perfect, but it is the result of a decade+ of people trying every
approach they could think of...

Nautilus on Desktop is a Bad Idea

Posted Apr 25, 2008 3:25 UTC (Fri) by quotemstr (subscriber, #45331) [Link]

Expose events will be generated for any window. I sure as hell don't see the desktop most of
the time, so most of the time, it gets no Expose events. The "special handling" you're talking
about must be the backing store, which, AFAIK, causes more problems than it's worth. If you
want that behavior, just switch to a compositing window manager.

Also, let's suppose you're right about memory. So what if Nautilus and its X pixmaps use a
combined 80MB? You make it sound like the entire thing is paged in whenever the program is
woken up. That's not correct: instead, only the relatively few pages touched by the
event-handling code are paged in. And the little bit of code that wakes up, notes a file
alteration, and continues is simply not that big. The dozen or so pages it takes up will be
kept resident, as they're referenced frequently, and the rest of the program will go into cold
storage. That's how it's supposed to work.

Nautilus on Desktop is a Bad Idea

Posted Apr 25, 2008 22:27 UTC (Fri) by zlynx (subscriber, #2285) [Link]

> Expose events will be generated for any window.
Yes.  Except for the root window, which gets the "special handling" I was talking about.  The
X server handles it directly.  It isn't quite the same as backing store, and no other window
gets this.

> If you want that behavior, just switch to a compositing window manager.
Use a compositing window manager with a video driver without either XRender or OpenGL
acceleration?  I'd be lucky to get one desktop update every 3 seconds once "modern" programs
start trying to use compositing.

> only the relatively few pages touched by the event-handling code are paged in. And the
little bit of code that wakes up, notes a file alteration, and continues is simply not that
big.

Except that isn't exactly what happens.  Say that a program is writing to a file with periodic
pauses: perhaps a slow network download and Nautilus is open on my Downloads directory with
hundreds of files in it.  There's enough time between file notifications that the code swaps
out again.  It doesn't take much, just a few seconds of inactivity.  Then the event comes in
and it isn't just a few bits of code.  Nautilus actually rescans the file header and compares
it with the mime type database to see if the type has changed so it can update the icon and a
lot more.  The data structure that backs a Nautilus file display is not a small little array
that shares a few 4KB memory pages; its actually all over the map, held together with
pointers. 

The entire swap-in/idle/swap-out dance can cause hundreds of KB/s of random I/O swap activity.

Now, I don't actually mind all this for a Nautilus window I've left open.  Live file updates
are pretty cool.  But Nautilus on the desktop and it doing all this work for something I never
look it is a bad idea which is why I turn it off.

Nautilus on Desktop is not a Bad Idea

Posted Apr 27, 2008 11:17 UTC (Sun) by Kamilion (subscriber, #42576) [Link]

Huh. Right now, I'm running pretty much stock hardy on my HP pavilion N5425.
Athlon 900Mhz, 256MB of ram.

Nautilus is using 12.6MB of ram.
Firefox3b5 is using 37.5MB of ram.

http://www.sllabs.com/kamilion/hardy.png

The whole system is quite quick and responsive, and using the desktop is a joy for me.

I run several servers which I routinely manage with ssh/sftp and I enjoy being able to mount
CIFS and sftp and interact with them using nautilus.

Currently, my system has four sftp mounts and two CIFS mounts active.

90% of the time, my CPU runs at 500Mhz thanks to hardy's nice support of powernowd and
cpu-freq.

I used to use Linux From Scratch and fluxbox, but I got sick of compiling everything by hand,
so I switched over to gentoo.
(Don't let that get you into thinking I was one of those ricers that throw every CFLAGS option
they can at it, I ran with a modest -Os -pipe, and tuned my useflags carefully, not everything
needs to be compiled with mysql and postgresql support!)

Eventually, I got sick of waiting for gentoo to build new packages and switched over to gutsy
last october. I was quite impressed with it's ease of use and soon discovered hardy a week
later, long before the alphas even hit. Now I'm giving hardy CDRs away faster than I can burn
them to my friends who are impressed with all of my PCs because they Just Work (TM).

I've even stooped as low as giving hardy CDRs out in my local bar, where they've been a big
hit! (If you're ever in the area, Drop by Bert's Alibi, 1313 El Camino Real, Mountain View CA,
and tell 'em the hacker kid in the Tahoe hoodie sent you for a draft Fat Tire! (Previously
known as Ugly's Bar) Funnily enough, I've met a lot of ex and current HP employees there that
still remember HP-UX on the HP9000s...)

Hardy works very well on all of my older boxes, from a P2-450 with 192MB of ram to my
nForce2/XP2100+/2GB desktop.

Every box I've tried it on, it's just worked.

Personally, I think it's a little harsh to denounce the heron when you've disabled Nautilus
just because you don't 'need' a file manager. Give it a shot for a couple weeks, try out
mounting various network drives, marvel at it's PDF, image, and video thumbnailing, play with
some of the panel applets (My favorites are the CPU frequency monitor and the system monitor),
enjoy getting the weather and outdoor temperature with the clock, give the OSX-like list view
a go, download an ISO on your desktop, right click it and burn it to disc in three clicks...
You might just get hooked.

Believe me, I'm just as much of a commandline cowboy as the rest of you, I came from Slackware
1.5.0 back in '95. I've actually been a lot faster, more efficient, and impressed with the
modern GNOME Gui. You try copying 18 PDF files with vastly different names, Capitalization and
spaces, from a directory of 40 files from a command line, and tell me how long you spend
typing out a huge glob of text just to copy a couple files I can Ctrl-click on in less then 5
seconds with a mousewheel spin and a drag.

Hardy really does make my computer a pleasure to use again. I'm thankful for that, after
having to admin Windows from NT3.51 to the currently excruciatingly painful to use vista at
work.

Oh, and a simple Alt-F2 to bring up the Run dialog and "gconf-editor" will expose all those
little hidden options people seem to be dying without, with nice self-documenting short AND
long descriptions of almost every option. Just like netinfo on OSX or the Windows registry
editor, only without the confusing keynames and lack of documentation!

-- Kamilion
"Never feel stupid for asking questions, feel stupid for ignoring answers."