Gnome

Generate various checksum files for selected files and directories in Nautilus

This is a fix for the whitespace issue with the original Generate Checksums action.

Display various checksums of files and directory contents in Nautilus

Using the attached Nautilus action, you can easily add a custom action in the context menu of Nautilus and calculate the MD5, SHA1 or CRC32 (as defined by POSIX.2 -aka. IEEE Std. 1003.2- standard) checksum of the selected files and/or for all files in the selected directories recursively. It works with filenames containing whitespace and supports selection of multiple items. By default the results are displayed in a 1000x600 window, but you can easily change that. The action requires zenity to display a dialog box for checksum method selection and display the results.

Nautilus Actions - advanced custom actions in Nautilus

"Nautilus-actions is an extensions for nautilus which allow to add arbitrary program to launch through the nautilus popup menu of selected files. Each time you right-click on one or several selected files in nautilus, nautilus-actions will look at its configured actions to see if a program has been setup for this selection. If it is the case, it will add an item in the menu that allow you to execute the program on the selected files."

Disable automatic start of the GUI in Ubuntu 9.10 (Karmic Koala)

Apparently Ubuntu changed the startup process significantly in Karmic, since GDM is now not started by a startup script in one of the the /etc/rc[0-9].d directories, but something else. Even the /etc/init.d/gdm filesystem entry was changed: it's now a symlink pointing to /lib/init/upstart-job. The latter is part of the upstart package which has the following description ...

Description: event-based init daemon
Upstart is a replacement for the /sbin/init daemon which handles starting of tasks and services during boot, stopping them during shutdown and supervising them while the system is running.

Running a script on logout from Gnome

There's a nice Python script for the job at linuxquestions.org written by Seamus Phelan. I've tested it, found a few problems and fixed them.

How to connect to the GDM X session via VNC

There're quite a few howtos on the topic already, but most involve a lot more steps than what I've found. If you need a quick&dirty way to connect to the already running GDM, here's how to do it (ssh into the server and run as root):
$ apt-get install x11vnc
(...)
$ ps ax | egrep '(auth.*gdm|gdm.*auth)'
6022 tty7     Ss+    0:10 /usr/X11R6/bin/X :0 -br -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
11322 pts/8    S+     0:00 egrep (auth.*gdm|gdm.*auth)
# Take the display and the auth file from the gdm command line above.
$ x11vnc -forever -display :0 -auth /var/lib/gdm/:0.Xauth

Now you can use your VNC client to connect to the VNC server which is most probably running on the standard 5900 port.

Gnome settings, changing global defaults and setting a keyboard shortcut for all users

If you're into reading manuals, then start with "Using GCong" in the "GNOME Desktop System Administration Guide". It has almost all the info that I'm going to describe here. However if you're just interested in how to set up global Gnome defaults (ie. defaults for all users), then read on.

Temperature and the "feels like" value in Gnome Panel's clock

Gnome Panel has a built-in clock that can display weather information as well. If you enable the display of temperature and/or the weather in the clock applet's preferences (and set a location too), then hovering the mouse over the weather or temp. icon will show a detailed description (including wind speed) of the current weather in your area. There's also an "apparent" temperature at the end of the line that starts with the text "feels like". Eg. yesterday my reading said: "34.0 °C, feels like 36.6 °C". I've always wondered how this "feels like" value is calculated. Smiling

Zenity - Gtk+ dialogs for shell scripts

Just found out about this: "Zenity is a tool that allows you to display Gtk+ dialog boxes from the command line and through shell scripts. It is similar to gdialog, but is intended to be saner. It comes from the same family as dialog, Xdialog, and cdialog, but it surpasses those projects by having a cooler name." Seems to be pretty useful. The original project homepage is at GNOME Live.

Gnome-panel eating up CPU

The phenomenon is nothing new: there're at least a dozen bug reports on gnome-panel eating up CPU and/or RAM.
Eg.:
Syndicate content