Powered by
Movable Type 3.38 mod_perl/2

 October 2011 Archives

2011, October 22 (Sat)

Linux Gnome 3 & XTerm

My company upgraded their Ubuntu to 11.10 so I was faced with the choice between UNITY or Gnome 3. As I was using Gnome 2 before (and still will be for a while at home), I thought to try the gnome-shell.

The biggest change is away from the Task bar to the Exposé-like overview of all windows, combined with a per-application chooser on the left (called “dash” in Gnome new-speak). The Alt+Tab window switcher got Application centric too. The application-behaviour means: switch between windows of the same application with Alt+(key over tab). After getting used to it, it’s not that bad, even faster for some tasks.

However, there was one big problem. I’m still using the XTerm and just can’t leave it for something like gnome-terminal. I usually open a lot of xterms on my desktop. I have them display something sensible in their title bar. Now with Gnome 3, every XTerm is recognized as its own little application, that means I have to switch between XTerm-windows using Alt+Tab.

While this itself maybe wouldn’t be that big a deal, it also results in all the XTerm-windows only showing their class in both the Alt+Tab switcher and the dash (remember, the switcher and the dash are supposed to show the Application, not the apps window title). That means it gets really really difficult to find an XTerm window, as the title bar content is no longer visible anywhere.

So I had to resort to patching the gnome-shell to treat all the windows with a class of UXterm as one single application. Now I can switch to an xterm using Alt+Tab, and between xterms with Alt+(key over tab). A first step of making Gnome 3 usable to me!

update

Download extension. it cannot be accepted on the official extensions website because it works for local apps with the correct desktop files, but still useful for remote apps grouping and if you don’t want to bother about desktop files. you can install the extension with gnome-tweak-tool


2011, October 25 (Tue)

Linux Gnome 3 Authentication required

More fun with my company switching to the new Ubuntu 11.10…

With Gnome 3, new authorization dialogs have been introduced to interface with PolicyKit (I love all those KITs by the way…), you can see them at this gnome live page. The company policy is to set up Ubuntu in the same way for everyone, and all the machines have several users that are allowed to install software. They are in one group — Ubuntu policy is to not use the root user.

As a developer, I am allowed to install software through the Ubuntu software center, or should be, anyways. With the Gnome 3 PolicyKit authorization dialog, choice between several possible users has been simplified, i.e. removed! So I get asked to enter the password for the “IT Administrator” account, which I obviously don’t know. Effectively resulting in me not being able to install any software.

I had to patch the gnome-shell (again) to restore at least basic usability. It asks for the current user password, when this user is permitted to perform that function (instead of the “first” one, whichever that might be.)

get the Gnome 3 PolicyKit fix here

Yes, there are bug reports for this

Continue reading “Gnome 3 Authentication required” »