Archive for the ‘GNOME’ Category

March 31st, 2010 @ 20:01

Keyboard shortcuts are always a great matter of debate, and the whole problem is that most often they are chosen based on assumptions of the end user layout.

For instance, take this metacity commit : Change default cycle_group keybinding to Alt-grave. This change looks perfectly harmless, right ? Well not quite. It’s most likely based on the assumption that the end users has a qwerty keyboard layout (and it makes perfectly sense there). But let’s take an azerty layout. Grave is on the é/7 key, which is even farther from alt or tab than F6 is (well, not much I agree, but it might be even worse on other layouts). Is it really worth doing such a change then ?

Let’s also note that this also triggers a bad bug which gets alt+7 and alt+shift+7 to trigger the binding as well, while alt+grave is actually alt+altgr+7. This has been keeping me from nicely switching to my window n°7 in irssi for months (great thing that this window holds a really low traffic channel…).

All in all, I guess that the real problem is not that this change was made, but rather than we might need a system to have layout-dependant keybindings, or maybe hardware-location-based keybindings (i.e. that the key above the Tab key would trigger this keybinding independently of the layout).

Initially published on Mar 24, 2010 @ 8:22

Update : this change has been reverted for the GNOME 2.30 release. Even though I’m happy that the problem is “fixed”, it’s sad that the underlying problem (Alt+Shift+7 triggering Alt+`) is still there.

April 11th, 2008 @ 18:07

Have you ever mistakenly shut down or rebooted your operation-critical server while you were willing to halt your desktop computer through ssh before going to bed, or anything like this? If so, and if you are on Debian/Ubuntu, molly-guard is designed for you: this nifty bash script gets between you and the shutdown/reboot/halt tools, checking if you are connecting through ssh and if so asking for the hostname of the machine before proceeding.

Wondering how it looks? Here is the output of a little test:

ixce@timmy:~$ sudo shutdown -r
W: molly-guard: SSH session detected!
Please type in hostname of the machine to shutdown: 
Good thing I asked; I won't shutdown timmy ...

Since it doesn’t correctly handle sudo yet (actually sudo is at fault here, since it drops SSH_CONNECTION environment variable when doing its stuff), you might want to add PRETEND_SSH around the beginning of /usr/sbin/shutdown as specified on Nico “nion” Golde’s blog.

You might also want to grab the molly-guard 0.3.2 etch package I backported from sid (all I changed is downgrade debhelper build-dep version and debhelper compatibility level in debian/compat since etch only has debhelper 5 and the sid package required debhelper 6 ; this shouldn’t break anything since the newer debhelper just seems to be needed to recognize a few fields in debian/control about where the package is maintained). Sources are also available, anyway.

Thanks hr for the tip :)

October 6th, 2007 @ 13:00

Getting pwned at school on a daily basis these days…. Mhhhh no fun :-|
Not much has been going on code-wise, though I fixed CamlUI to get it to work against latest gtksourceview2 API and rewrote gnome-about in an accessible way… Wondering if it’ll ever be accepted as part of the official GNOME project.

On a side note, we are about to release Compiz Fusion 0.6.0 (and 0.6.2 should follow rather quickly to match the upcoming Compiz bugfix release).

August 24th, 2007 @ 10:14

A few days ago, David (Compiz main developer) pushed out a bunch of code changing radically the way actions (keyboard shortcuts, mouse actions, hot corners, visual bells) are handled by Compiz. Before these changes, every action had components for the 4 types of actions, while now there’s a specific type for each of these.
Consequently, libcompizconfig and its friends had to be updated. Patrick “marex” Niklaus, CCSM’s maintainer, being busy for a few weeks, I updated the compizconfig-python bindings and CCSM. These changes gave us the chance to review the actions handling in CCSM and change it.

Actions are no grouped in a single tab, ordered in a treeview, but they can be grouped in tabs and subgrouped in expanders as other settings. A small icon in front of actions’ label indicate the type of the action, and custom widgets were developed, among which a screen edge selector, a keyboard modifiers selector and a key grabber (which is able to grab Tab keys and such).

All graphics are courtesy of the GNOME project, thanks guys for the great work !.

Read more for some screenshots.

(more…)

August 22nd, 2007 @ 13:07

I definitely love the new tangoish default Gtk+ Stock Icon Set. It just looks so great. Thanks and congratulations to the artists who built it in just one day =) It’ll be available by default in Gnome 2.20, scheduled for September 19th.

Gtk+ Stock Icon Set