Category: Linux Subcategory: hacks
Quick and cool snippets of GNOME wisdom Copyright: Creative Commons Attribution ...
This feed is provided by, the responsiblity of the provider. Click the link above for complete information.
Last Update: Sat Sep 30 07:19:58 2006 | | + Flashblock in current Galeon +
Galeon with XULrunner (instead of the complete mozilla) as backend is a bit faster. And smaller. Here's how to use Flashblock with [...] and put "@import url(chrome://flashblock/content/flashblock.css);" (in one line, no quotes) in there. |
| + Notify from cronjob +
The following script will locate running gnome-session and send a notification (fancy balloon on your display) there. This requires [...] # use it DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS / notify-send -u low -t $timeout "$title" "$text" done |
| + Show MD5 Sum +
# Copyright (c) 2005 and onwards, Raphael J. Schmid (raphael@schwarzschmid.de) # Released under the GNU General Public License, which [...] sums" / --text "MD5 sums of selected files" / --list --column "Filename" --column "MD5 Sum" / `list_md5sums` |
| + Quickie bookmarks for the file chooser +
The bookmarks pane in the file chooser is great for mouse users. If you are a touch typist, you may prefer the following crude form [...] binding "some-shortcuts" With that, you can use Alt-T to open your todo.txt, and Alt-M to go to a folder with an annoying name. |
| + Gnome-Terminal Background Randomizer +
Here's a nice script you can use in cron or elsewhere to change your gnome-terminal background. #!/bin/sh # # Gnome-Terminal Random [...] accordingly gconftool-2 --type string --set /apps/gnome-terminal/profiles/$P ROFILE/background_image $BGPATH/$PICTURE fi done |
| + Type ☰★cool★☰ Unicode ch☣r☣cters in ☃GNOME☂ +
Yes, you too can type cool Unicode characters in your posts, e-mail, signature, blog, blog comments, etc, using GNOME! 1. Start [...] It's recommended to browse available Unicode characters from "gucharmap", or you may also try http://www.unicode.org/charts/ |
| + Gnometris background images! +
Did you know that Gnometris allows you to set background images and colors with a simple drag and drop? It's true! Just find your [...] users alike. You can even drag and drop colors into the playfield! Try it from the GIMP or Nautilus' Backgrounds and Emblems dialog. |
| + Wallpaper Randomizer +
This script was derived from one found here. It adds the ability to handle paths containing spaces. Copy the script into a new text [...] (eg tiled), "centered", "scaled", "stretched" # end of gconftool command #That's it, your background should have changed. |
| + Old style keybindings - gnome 2.8 +
The old way (http://gnome-hacks.jodrell.net/hacks.html?id=57) of changing keyboard shortcuts to emacs style no longer works because ... |
| + Change font hinting settings +
Put the following into your /.fonts.conf to enable or disable automatic hinting. If you set it to false, fonts look very crisp. Set ... |
| + Changing default nautilus background +
This is not changing the desktop background (which is easy), but the nautilus file manager windows' background. There is a UI for [...] may pick up the change straight away or you may have to restart it (re-login). If anyone knows an easy way then please enlighten me. |
| + ZenWatch (program monitor using zenity and perl) +
#!/usr/bin/perl -w # # Purpose: Demonstrate how to use zenity from perl by # running another process and reporting results # [...] # system "$program $parmlist 2> $errfile > $logfile"; # # capture any error so we can use it later # $error=$?; # # get process fin |
| + Seven-column month view In Evolution 2.0 Calendar +
If you're like me, and your work schedule has no concept of a weekend, you might want to get evolution to display saturday and sunday [...] It's a boolean setting, and defaults to true. Switch it to get 7-column calendar goodness. |
| + Save Gnome-Terminal Size +
Here is patch that enables gnome-terminal to save it size when closing (and setting it when reopen). --- [...] (client, "/apps/gnome-terminal/global/ylarg", ylarg, NULL); + return !confirm_close_window (TERMINAL_WINDOW (widget)); } |
| + Clear recently used +
This is a simple script I wrote to clear the recently used documents list: #!/bin/sh #Name: clear-recently-used #Author: Scott ... |
| + Nautilus the old fashion way +
Since Gnome 2.6, Nautilus has a radical new default way to open folders (the so called spacial view) and a trimmed down interface. [...] to /apps/nautilus/preferences/ - find "always_use_browser", and tick the box - Quit out of gconf-editor, log out, then log back in. |
| + The standard desktop icons +
By default, you see three icons on your desktop - Computer, user's Home, and Trash. You can hide or rename all of these icons using [...] keys (you may have to create them if they're not visible). On some distributions you can also rename them via their context menu. |
| + How to show the desktop using a keyboard shortcut +
This little Perl script will, when bound to a Metacity keyboard shortcut (see http://gnome-hacks.jodrell.net/hacks.html?id=14), [...] sub { $screen->toggle_showing_desktop($screen->get_showing_desktop ? undef : 1); Gtk2->main_quit; }); Gtk2->main; |
| + Old style keybindings +
Are you a command line old timer who misses key bindings like Ctrl+K for delete-rest-of-line? (These are used by both readline (and [...] powerful) bindings by going to Preferences->Keyboard Shortcuts and changing the "Text Editing Shortcuts" dropdown to "Emacs". Enjoy. |
| + Making Firefox Behave Like Galeon +
It is not really mine, found it in the web and at least it works with firefox 0.9.1 -- hope it keeps working with future versions, [...] you're welcome :-) (if you found a way to make firefox open balsa, plz post it here, I am getting weary of wandering on the web :p) |
| + randomized splash-screen +
This script changes the splash-image randomized to one of the files, listed in $base_dir. I know, its not very nice, but copy it to [...] exec("gconftool-2 --set --type string /apps/gnome-session/options/splash_image $images[$no_images]"); } &main(); __END__ |
| + Using alternative path/filenames in Sound Juicer +
If your are like me, obsessive about how your music files are named and how they are organized in a directory structure, and unhappy [...] (e.g. %aa, %at, etc.) play with the settings in Sound Juicer Preference and see how those changes are reflected in gconf-editor |
| + Viewing Sticky Notes with keyboard +
Put the following in a script: ------------------- #!/bin/bash # Magnús Örn Gylfason # Distributed under the terms of GNU [...] Then use gconfedit to assign a hot key to execute it. Now you can show or hide your notes with a quick keypress. |
| + Add to archive (Nautilus script) +
This Nautilus script lets you add selected files to an existing archive: #!/bin/sh TARGZ=`zenity --file-selection --title="Select ... |
| + The DEFINITIVE numlock stay-on-please +
There is another guide to it, but since it doesn' t cover a way to make numlock stay on FOREVER, I felt I had to contribute. In [...] involves modifying /etc/profile, but if you log on, off and then on again, numlock goes to off again and that is quite vexing. piero |
| + Stopping mozilla-firefox from opening the profile window +
Whenever you click a link in an external program (gaim, acrobat reader etc) mozilla or firefox think you want to open a new profile [...] ]; then mozilla-old -remote "openurl($1, new-tab)" else mozilla-old $1 fi then make it executable...and voila' piero de salvia |
| + splash screen trick +
i've set the splash screen to be as big as the screen. this way starting nautilus, the panel, etc. happens in background. ... |
| + diskcheck +
A little GNOME hack to warn you if a harddisk is filled above a certain threshold-value This little script calls df -h in a [...] --text "Systemdisk at $SIZE %" fi sleep $INTERVAL exec $0 -------------------------------------------------------------------- |
| + Screensavers as desktop backgrounds +
*How to set your screensaver to run as your desktop background 1. Disable Nautilus from drawing the desktop (open gconf-editor and [...] command that you copied in step 1.) Log out and back in again and lo and behold, you have a screensaver running as your background. |
| + Changing Toolbar Size +
Open up the gconf editor, and go to: /desktop/gnome/interface/toolbar_icon_size (you may have to create the key as a string) You can ... |
| + Applying your font/theme preferences outside of GNOME +
This script is handy if you ever need to duck out of GNOME into another desktop environment or window manager (OpenBox for example), [...] $settings->{$name}; } close(RESOURCE); # # get font/theme settings from gconf: # my $theme = get("$theme_dir/gtk_theme"); my $font |
| + gimp-open +
This is a script I wrote a while ago and just decided to make it presentable. If gimp is open it opens the given file with [...] $process = shift; my $out = `/sbin/pidof $process`; if ($out = /0|1|2|3|4|5|6|7|8|9/) { return $out; } else { return 0; } } |
| + How to get Numlock(BloqNum) to auto activate +
Well, its a simple thing, i was searching for a very long time for a hack or something for this, even on redhat list people said that [...] for it in google, you can apt-get it in debian unstable. Sorry, i dont know the link to the project page. Hope it works for you |
| + Enabling startup notification on program launchers +
The Startup notification system is a way of indicating to the user that a program, launched from a menu or launcher, is starting up. [...] program list. You can turn this feature on in your program launchers by adding this line: StartupNotify=true to the .desktop file. |
| + Getting the list of apps in the run dialog +
If you have been missing the list of known apps in the run dialog from gnome 2.2, this is how you get it back. Open the gconf-editor, [...] key isnt there add it, and set it to true. source: http://mail.gnome.org/archives/desktop-devel-list/2003-December/msg00278.html |
| + acpi power script +
it takes care of loggoing out of gnome for all users, and sort-of takes care of xfce. i couldn't find any solution but to kill [...] break; fi done chvt $CONSOLE echo LOGGING OUT OF GNOME FOR $USER BEFORE=`ps -A | grep $PID | wc -l` su -l $USER -c "( export D |
| + Custom Icons for Nautilus Scripts +
If you've ever installed a Nautilus script, you'll have noticed that its entry in the "Scripts" context menu has the filetype icon of [...] Icon" button), this icon will be used in the context menu. This makes it *much* easier to identify the script you want to use. |
| + Installing mouse cursor themes +
If your system uses XFree86 4.3.0 or higher and you want to use a snazzy alpha-channeled mouse cursor theme, here's how you do it: 1. [...] be soon! My personal favourite is the one created by jimmac, which can be found at http://kde-look.org/content/show.php?content=6550 |
| + A script to set your splash image +
This little Nautilus script lets you right-click on an image and set it as the splash image for your session: #!/bin/sh # this is to [...] / "$FILE" # alert the user that we're done: gdialog --title "Message" --infobox "/n Splash image has / been set. /n" 1 1 |
| + Create custom menus +
The processing of creating a custom menu in GNOME 2.x is pretty complicated. It involves some serious GConf-fu and GnomeVFS-fu, so it [...] on Solaris). The GNOME session should restart the panel, and you will see the "Favourites" subdirectory in the menu. Now, open gconf |
| + use your own theme colors with any theme +
I like the LighthouseBlue theme colors, but wanted to use the Bluecurve theme instead, so I made a /.gtkrc-2.0 file that looks like [...] from LighthouseBlue, create my own style and told gtk+ to use my style for all widgets. Simple, but not obvious (at least for me). |
| + Multisync: Synchronise Evolution installations! +
``MultiSync is a free modular program to synchronize calendars, addressbooks and other PIM data between programs on your computer and [...] if you have a Evolution at your home desktop and your laptop, you can get the two in sync. Source: http://multisync.sourceforge.net/ |
| title: GNOME Hacks; RSS XML Feed
| More Featured Listings
What people are searching for:
• gnome terminal clear •
|