Feeds:
Posts
Comments

Posts Tagged ‘Gnome’

The Caja extension caja-open-terminal for opening a terminal with its path being the current folder is a must for most users. While you don’t even need this extension to achieve this (check my tutorial on how to achieve this with a script and have the terminal open with the F4 key!), for many of you being able to right-click inside a folder and click Open in Terminal is easy and vital.

But if you’ve changed icon themes a bit, you may have noticed that the one icon that doesn’t change is the one for Open in Terminal. While it’s not a huge deal, if it kind of annoys you, and you’d just rather have an icon of your choice for this, then keep reading.

Choosing a Replacement Icon

Ideally the icon should be 16x16px, but using a larger one will actually work, so no need to resize it. But if you’ve found a larger terminal icon that looks great, note that it might not look so hot when it’s shrunk down to that size in the menu. So keeping it fairly simple will probably give the best results, and if you’ve got a bunch of icon themes installed, you can do a search through the parent folder for “terminal” to see if there are 16px icons to your liking. And if you found the perfect icon but it’s an SVG vector, not a PNG file, don’t worry – just rename the extension to .png and it will work! That bottom icon in the image, the magenta inside a silver frame, is an SVG image, but as you can see it worked just fine.

Changing the Icon

If you look in /usr/share/caja/extensions the file libcaja-open-terminal.caja-extension mentions Icon=terminal at the top, but your current theme may not even have terminal.png or terminal.svg in it. It turns out it’s actually in Gnome’s default gnome icon theme, with the icon being in /usr/share/icons/gnome/16×16/apps, and terminal.png is actually a symbolic link to utilities-terminal.png in the same folder.

So open up that folder as administrator with:

gksu caja /usr/share/icons/gnome/16x16/apps

Now rename your replacement icon to utilities-terminal.png and drag it into the folder, and OK the overwriting of the original file. Now just run caja -q to quit Caja – you will need to manually close the folder opened as administrator – and when you restart Caja, your new icon will be in the context-menu, as well as Caja’s File menu.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

The tutorial above is TOTALLY FREE, and I hope you found it useful! But if this information really made your day, because it rescued you from hours of headache, or allowed you to accomplish something you thought was impossible, then please consider making a donation via PayPal, to buy me a donut, beer, or pizza for my time and effort! Many thanks in advance!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »

If you’ve installed a program for working with specific file types, you might find that Ubuntu‘s file manager Nautilus has no idea about it when you right-click a file and go to Open With, where a list of alternative programs to the default are presented. While in most cases that new app will be found when you choose Other Application… from the context menu, sometimes this isn’t the case.

Back in Gnome 2.x, if the program wasn’t listed, you could choose to add a custom application, which let you specify the command manually. However, this is no longer the case, but there should be another way to rectify this (see also the command-line interface method at the bottom).

In this example, we’ll look at getting Nautilus to recognise PDF Editor (pdfedit) as a viable program when right-clicking PDF documents, since the file manager doesn’t know it exists, and one can no longer just specify pdfedit as a custom command (at least via the GUI).

While you could be forgiven for thinking you’d need to hack a list of applications (for example, ~/.local/share/applications/mimeapps.list), the answer in fact lies in editing the .desktop file of the newly-installed program, and simply inserting three characters into it. Basically, this will allow Nautilus to add it to its context menu (actually, it specifies that the application can be passed a filename, which is what is missing).

All you need is the actual command that runs the program (e.g. pdfedit for PDF Editor), and you should be able to guess the .desktop file’s name (e.g. pdfedit.desktop), and open it for editing with the following command (replacing pdfedit with the appropriate name in your case):

gksudo gedit /usr/share/applications/pdfedit.desktop

(Note that the .desktop files should be in /usr/share/applications, but if not will be in ~/.local/share/applications, so change the path accordingly if you need to. Also, if you cannot correctly guess the .desktop file’s name, you can get the correct name by going to the folder and browsing for it).

[Desktop Entry]
Name=PDF Editor
Comment=PDF Editor
Exec=pdfedit
Icon=/usr/share/pdfedit/icon/pdfedit_logo.png
Type=Application
StartupNotify=false
Terminal=false
Categories=TextTools;Viewer;Graphics;Qt;

Find the Exec= line and you will see the command listed after it. Simply go to the end of the line, hit the spacebar, and add %f, so the line looks like:

Exec=pdfedit %f

(Once again, substitute your command’s name for pdfedit).

Simply save the file when exiting, and you shouldn’t even need to restart Nautilus, let alone log out or totally reboot. You should immediately see the desired program in the list of apps presented in Other Application…, and once you open a file with it, the app should be easily accessible in the list of secondary programs found in Open With.

If you want to make that program the new default for opening the particular filetype, you can now right-click one, choose Properties, go to the Open With tab, click on the app under Recommended Applications, and click the Set as default button.

CLI Method to Change Application & Set Default:

You can easily open a file with another application using the mimeopen command in the terminal. However, if the program isn’t already in the list of recommended applications, you’ll need to make it the default for that filetype first. Simply open a terminal in the folder where the file is and run a command like the following (substituting Recipes.pdf with the appropriate filename and filetype):

mimeopen -d Recipes.pdf

Please choose a default application for files of type application/pdf

1) GIMP Image Editor (gimp)
2) Adobe Reader 9 (AdobeReader)
3) Document Viewer (evince)
4) Other…

use application #4
use command: pdfedit

Simply choose the number that corresponds to Other… (in this case it’s 4), then type the command of the program after use command: (you probably won’t need to specify the path, but if it doesn’t work without it, it should be something like /usr/bin/pdfedit).

After that, you can switch default applications quite easily with the above command, or use the --ask option to just open the file in the desired app without changing the default (note there is no option to choose Other…, which is why you have to use the -d switch first):

mimeopen --ask Recipes.pdf

Please choose an application

1) pdfedit (pdfedit-usercreated-2)
2) GIMP Image Editor (gimp)
3) Adobe Reader 9 (AdobeReader)
4) Document Viewer (evince)

use application #

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

That’s it – hopefully with either of the methods you’re not cursing Nautilus any more, and have more control of your filetypes than your file manager currently provides.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »

Please note: this is an updated version of the guide for restoring the volume button in Ubuntu 10.04/Gnome 2, and is specifically for those using the Gnome 3 “Classic” (Fallback) desktop (though may be applicable for Gnome-Shell and Unity).

ΘΘΘΘΘΘΘΘΘΘΘΘΘΘΘΘΘΘΘΘ

If you’ve just upgraded to 12.04 “Precise Pangolin” and found that the volume icon/button is missing from the system tray (at the far-right of the top Gnome panel), you can choose between adding the newer indicator applet, or running the old stand-alone volume button like back in Gnome 2. With the indicator applet, it will load automatically with each boot, but it doesn’t take much to get the legacy volume button to do the same.

Volume Button:

Note: Those who’ve had to do this before in Ubuntu 10.04 through to 11.10 will have noted the package gnome-volume-control-applet no longer exists, but since it has just been renamed, all you need to do is change the command to gnome-sound-applet.

To run it for the current session, hit Alt+F2 to open the Run Application app, paste gnome-sound-applet into the text field, and click the Run button (you can also enter the command into a terminal, but the button will disappear if you close the terminal).

To get it to start automatically from the next reboot, click the cog in the top-right (in Unity) and open Startup Applications and add it as a new entry with a name like “Volume Button”. If you’re using Gnome Classic, your user menu in the top-right won’t include Startup Applications, so just run gnome-session-properties via Alt+F2 or in a terminal.

If for some reason the volume app is missing on your system, run sudo apt-get install gnome-sound-applet in the terminal.

Indicator Applet:

Alt+Right-click an empty area of the panel (if you have Compiz effects enabled, then you will need to hold Alt+Super/Windows while right-clicking), choose Add to Panel, then drag Indicator Applet Complete to next to the clock in the system tray, or wherever you want to put it instead. The volume button will be restored, but as part of the Indicator Applet which also has a mail/message notifier for Evolution and messaging apps, as well as showing when other apps like Rhythmbox music player are open.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »

Ubuntu has moved on to “Unity“, and Gnome has evolved to version 3‘s “Gnome Shell“, but many people (like myself) still prefer to use the old “Classic” desktop – be it the old Gnome 2 version, or the “Fallback Mode” of Gnome 3 (users of 11.10 upwards have no choice but to use the Gnome 3 version).

While the 2 versions of the “Classic” interface do have some differences – no “System” menu in Gnome 3 (read this if this is your only concern), and having to hold Alt while right-clicking it to access options – both have panels that are much more customisable (and infinitely more useful) than what “Unity” and “Gnome Shell” currently offer.

But things can go awry, like after doing some tweaking, or installing a program, or having to do a hard reboot, and you can find your panel altered (particularly minus the menus), or even completely missing. So we’ll look at a few different scenarios, and how to rectify them, including how to force Gnome to reset your menus back to their defaults (which is probably the quickest and easiest method). Also, because I’ve seen a lot of newbies in forums say “My Applications menu is missing!” when they should be saying “My top panel has totally vanished!”, we’ll look at how to get your panel back as well.

Finally, because some will need to take a harder approach (or just prefer an easier one), we’ll look at how to totally reset your panels back to their defaults. This is by far the most drastic measure, but it’s quick and easy, and for most people there are no customisations to worry about losing. Besides, if your panel has totally died or vanished, and nothing else you’ve tried has worked, then it’s the only option left.

Try A Quick Panel Restart:

First off, it might be enough to simply refresh the panel by forcing it to close then re-open, which can be done by a reboot, or logging out, or simply entering the following command into the terminal or via Alt+F2:

killall gnome-panel

It pays to do that first, in case that’s all that’s really needed, but chances are you’ve already tried logging out or rebooting, so check out the following tips.

Restore Missing Menus to Panel:

If just your main menu (the “Applications” and “Places” menus, and the “System” menu in Gnome 2) is missing, then perhaps all you need to do is add the menu back to your panel. Right-click an empty area of your panel (holding Alt in Gnome 3) and choose “Add to Panel…“, then scroll down till you find “Menu Bar” (ignore “Main Menu“, as that is a small icon version), and drag it to the left area of your panel.

If it’s conceivable that you perhaps accidentally right-clicked the menu and hit “Remove From Panel“, then it might pay to do this, especially if you have panel customisations you don’t want to lose.

Force Reset of Main Menus:

If you can’t add the menus back to your panel, for example you can’t invoke “Add to Panel…” with a right-click, it’s time to reset the menus to their defaults, which is done by deleting some configuration files. Actually, technically you’re not deleting anything, as the 2 files in question are simply renamed with .bak extensions [so they’re still there if you really need them later], forcing Gnome to recreate those files with default values.

To force Gnome to rewrite its panel menus with default values, enter the following command into a terminal:

mv ~/.config/menus/applications.menu ~/.config/menus/applications.menu.bak && mv ~/.config/menus/settings.menu ~/.config/menus/settings.menu.bak

(That should work with either Gnome 2 or 3, though the settings menu part of it probably won’t do anything in Gnome 3).

All you have to do now is log out, then once you log back in again, your panel should be back with all its menus. Or you can simply enter killall gnome-panel into the terminal and it should successfully refresh your panels without having to log out.

Make a New Top Panel if Missing:

If your panel is absent, you could have even accidentally deleted it yourself, if you unwittingly right-clicked the panel and chose “Delete This Panel” (in Gnome 2 – in Gnome 3 that is harder to do, since you need to be holding Alt while right-clicking the panel). But don’t immediately blame yourself, as all sorts of mishaps can result in a missing panel.

Whatever the case, you should be able to recreate your top panel simply by right-clicking the bottom panel (while holding Alt in Gnome 3) and choosing “New Panel“. You’d then move it to the top, then right-click it (holding Alt in Gnome 3) and choose “Add to Panel…” to add back all the various bits and pieces you had before (the “default” panel is actually a blank panel with a bunch of plugins added).

Obviously, this would be the most time-consuming method, but if you plan to customise your panel anyway, you may as well start from scratch. However, the easiest method would be to totally reset your panels, so keep reading.

Force A Complete Panel Reset:

When all else fails, it’s time to force Gnome to completely reset your panels, which is done by deleting the configuration files. That might sound drastic, and in reality this really is the last resort, but if your panel is totally messed up, chances are your old settings are useless anyway, or rather that having to stick some launchers back on a clean panel will be a welcome alternative to having no panel, or one that is buggy, or missing the “Applications” menu or whatever.

To force Gnome to recreate its panels with default values, enter the following commands into a terminal:

gconftool --recursive-unset /apps/panel (This wipes the panel’s settings)

rm -rf ~/.gconf/apps/panel (This deletes the panel’s folders and files)

killall gnome-panel (This forces the panel to close and restart)

Your panel should now be back with all its menus (but of course minus any customisations). If for some reason they don’t appear immediately, a reboot should fix it.

Alternative Commands for Panel Reset:

ΔΔΔ Some guides have gconftool-2 --shutdown as the first command (this shuts down the current user’s gconfd), though gconftool --recursive-unset /apps/panel should work perfectly fine without it. However, if you aren’t having success, then run it first.

ΔΔΔ If you’re running the commands via the Alt+F2 Run Application box, chances are it won’t like the tilde (~) in the second command, so use rm -rf $HOME/.gconf/apps/panel instead.

ΔΔΔ Instead of killall gnome-panel, you can use pkill gnome-panel (which is basically the same thing), or nohup gnome-panel --replace &, or nohup gnome-panel --replace </dev/null &>/dev/null & (note that nohup specifies the command not halt when the terminal is closed, so is not needed if using Alt+F2).

ΔΔΔ If you’d rather make a backup of the panel’s files before deleting them, run mv ~/.gconf/apps/panel ~/Settings/PanelBackup (note the second path can be whatever you want; in this case, it’s a folder called PanelBackup inside a Settings folder within my home folder I have for storing various config files and settings backup). It actually moves the whole folder to a new location, which is basically the same as deleting it, so you shouldn’t need to run the second command (since there is nothing left there to delete, anyway).

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »

If you’re new to Ubuntu using 11.10 upwards, you might be scratching your head when you see people mention they’re using Gnome Shell instead of Unity, or even the “Classic Desktop“. Or if you’ve been using Ubuntu but decided to do a fresh install, you’ll find there is not only no “Ubuntu Classic” option at login, but no Gnome at all.

This is because the decision was made to drop Gnome as it moved from the familiar 2.x to Gnome 3, since Ubuntu and Unity are built on it anyway. The logic is that should people need a less resource-hungry environment for slower computers, they can log into Unity 2D instead. But while Unity is gaining fans, and most certainly will gain many more as development continues and we see a flood of plugins and customisation apps, some of us want to play with the new and shiny Gnome Shell, or just to get our old Gnome Classic desktop back.

Now, it’s actually easy to get either or both, but while I’ve seen in forums that installing Gnome Shell will also install the legacy “Classic” desktop, this isn’t true (though it makes sense people might assume that). That’s because while the meta-package gnome is installed, gnome-shell isn’t part of it, but a separate package. Likewise the “Classic” desktop doesn’t come in either gnome or gnome shell, but as exists as the package gnome-session-fallback (which also installs a 2D version).

So, you can pick either, or have both, and it’s as simple as pasting a command or two in the terminal. If planning to have both, you may as well install Gnome Shell first, though it shouldn’t really matter.

To install Gnome Shell: sudo apt-get install gnome-shell

To install Gnome Classic: sudo apt-get install gnome-session-fallback

Once installed, you should be able to just log out and log back in to one of your new desktops, but if not, then do a reboot. Then you can log into Gnome Shell at the login screen by choosing “GNOME“, or the more familiar legacy desktop by choosing “GNOME Classic” (or “GNOME Classic (No Effects)” for less powerful computers or graphics card issues).

If you can’t find where to log into other environments, it’s always a hidden menu you need to access, previously by the word Options at the bottom of the screen, but in 11.10 is a gear icon near the user name; in following versions, that will no doubt change, but just look for something to click on and you’ll find it. Obviously, if you’ve set your login option to be automatic, meaning you never see the login screen but end up straight at the desktop, then you’ll need to change that in order to be able to change between the different window managers.

±±±±±±±±±±±±±±±±±±±±±±±±±±±±±

Related Tip: How to Log Into Ubuntu Classic Desktop or Gnome Shell Instead of Unity

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »

If you’ve upgraded to Ubuntu 11.10, you may have noticed your movie files not looking as they should in the default Movie Player (Totem), and probably others like SMPlayer and MPlayer. For me, the clips actually looked fine first off, but only in Totem, as SMPlayer kept crashing. Then, after getting some updates, Totem started displaying the colours all mixed up (as did SMPlayer, which wasn’t crashing any more). I tested GNOME MPlayer, and that was fine, but all my other players were affected.

From the looks of comments I’ve seen around, updating/installing Medibuntu is a likely suspect, but whatever the cause, it should actually be quite easy to fix. Simply go to Edit > Preferences > Display in Totem, and adjust the Hue from the default 50% mark all the way up to 100%. If yours is all the way down at 0%, as some have reported, then you definitely need to do the same. You may need to do this with each player, but in my case changing the setting in Totem immediately rectified the problem in SMPlayer. If it doesn’t for you, however, then you know how to fix this easily.

Lastly, don’t be surprised if later on you go to play a vid and your colours are all mucked up again. This time, you’ll probably find the Hue is still at 100%, so you’ll need to drop it back to the default of 50%. It might be a bit of a hassle, but this should be fixed up at the development end soon enough, and at least it only takes a few seconds to get your movies looking as they should.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »

If you’ve upgraded to Ubuntu 11.10, you may have noticed your movie files not looking as they should in the default Movie Player (Totem), and probably others like SMPlayer and MPlayer. For me, the clips actually looked fine first off, but only in Totem, as SMPlayer kept crashing. Then, after getting some updates, Totem started displaying the colours all mixed up (as did SMPlayer, which wasn’t crashing any more). I tested GNOME MPlayer, and that was fine, but all my other players were affected.

From the looks of comments I’ve seen around, updating/installing Medibuntu is a likely suspect, but whatever the cause, it should actually be quite easy to fix. Simply go to Edit > Preferences > Display in Totem, and adjust the Hue from the default 50% mark all the way up to 100%. If yours is all the way down at 0%, as some have reported, then you definitely need to do the same. You may need to do this with each player, but in my case changing the setting in Totem immediately rectified the problem in SMPlayer. If it doesn’t for you, however, then you know how to fix this easily.

Lastly, don’t be surprised if later on you go to play a vid and your colours are all mucked up again. This time, you’ll probably find the Hue is still at 100%, so you’ll need to drop it back to the default of 50%. It might be a bit of a hassle, but this should be fixed up at the development end soon enough, and at least it only takes a few seconds to get your movies looking as they should.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »

Thunar is the default file manager in Xfce, and happily runs in Ubuntu. But besides being a great backup in case Nautilus plays up, the reason I’ve always told people to install it is the awesome Bulk Rename app that comes along with it.

Now, if you’re reading this, chances are you’ve already got it installed, but you probably noticed you get the following error trying to launch the app after upgrading your system to 11.04 Natty Narwhal:

Error: Failed to execute child process “/usr/lib/thunar/ThunarBulkRename” (No such file or directory)

Basically, there are two errors causing this, being not only the wrong path specified, but also the name of the command. If you look at the properties of the launcher, you’ll see the path /usr/lib/thunar is specified, with the command being ThunarBulkRename %F.

All you need to do is change the command to Thunar -B (no need to specify a path), and your launcher will work again.

Additional Info:

You may see mention online of the Thunar plugin thunar-bulk-rename, but you can ignore that, as the renamer is now part of the thunar-sbr package, which should be installed by default along with Thunar. If you don’t find Bulk Rename in Applications > Accessories, then run sudo apt-get install thunar-sbr in a terminal.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »

While Ubuntu‘s new Unity interface has been designed for less clutter, and generally makes getting to common tasks a breeze, many have found navigating through the rest a bit of a nightmare. While everything is supposed to be more simplified, some would argue having all your launchers accessible via categories in the old Applications menu was actually simpler and quicker.

But you can actually have the best of both worlds, so if you’re avoiding Unity and using the Classic Desktop simply for access to the Applications and System (or Wine) menus, read ahead.

While you can’t actually add the old menu system to the Unity panel, since it is not gnome-panel that is running, there is actually an “indicator” available for Unity that will do the same thing. So while this new (or old?) menu won’t replace Unity‘s “Dash“, you will see an Ubuntu icon in your system tray’s notification area. Click that, and you will see the old familiar Applications menu, with all the categories you’re used to.

To install Classic Menu Indicator, enter the following commands in sequence in a terminal:

sudo add-apt-repository ppa:diesch/testing

sudo apt-get update

sudo apt-get install classicmenu-indicator

Once installed, hit Alt+F2 and enter classicmenu-indicator as the command to run.

Apart from easy access to all your launchers, you’ll find your old System menu is there too, split into the familiar Preferences and Administration sub-menus.

More importantly for many, you will also have your old Wine menu back for running Windows programs. Unity‘s Dash menu system does not currently show a Wine section, and finding those apps can be near-impossible, but classicmenu-indicator will rectify this.

If you find that this menu/indicator does not automatically run upon your next boot (which it should), simply add classicmenu-indicator to your Startup Applications, and it will be forced to load from then onwards (it should already be in there, so check it isn’t disabled).

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »

If you upgraded to Ubuntu 11.04, you might find that some of your familiar icons in the notification area of your panel’s system tray are missing. These will include such system apps as the Update Manager, but more importantly those programs you are running that usually put icons or indicators there.

Some of these might be used for bringing the related programs to the foreground (which is the only way to access those that disappear when minimised, like Firestarter and Vuze), while others are completely useless if not shown in the notification area. A good example of the latter is Parcellite, a clipboard manager which sits in the system tray, and which you can’t access any other way.

So, in Unity, you might not even be sure certain apps are running, without opening the System Monitor. They’re actually open and still trying to put their icons there, but are being prevented by a default Unity setting. But it’s easy to fix, either by the hands-on/visual approach, or the quicker command-line method.

Dconf Editor

First off, if you don’t have Dconf Editor installed, do so by entering the following into a terminal:

sudo apt-get install dconf-tools

To open it, hit Alt+F2 and enter dconf-editor. Navigate to desktop > unity > panel, where the value for the systray-whitelist entry should look something like: [‘JavaEmbeddedFrame’, ‘Mumble’, ‘Wine’, ‘Skype’, ‘hp-systray’, ‘scp-dbus-service’]

You can manually add programs and indicators to it (eg: [‘JavaEmbeddedFrame’, ‘Mumble’, ‘Wine’, ‘Skype’, ‘hp-systray’, ‘scp-dbus-service’, ‘your-indicator-here’]), or you can just get it to show all notifications (which would be preferable, since any programs you install in the future would be included there).

Simply click the systray-whitelist entry and type ['all'] over what is there. That should restore all your usual system tray icons, which were always running, just not visible. To complete this, you will need to run (via Alt+F2) unity --replace to refresh Unity.

Terminal Command

It’s even easier to do this via the terminal (or Alt+F2):

gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"

Once again, you’ll need to refresh Unity to see your changes.

Extra Notes

No Notifications: If you actually want no notifications showing up, leave the value empty. Actually, it will need to be [”] (that’s two single-quotes inside the box bracket), which you can do manually, or by the following command:

gsettings set com.canonical.Unity.Panel systray-whitelist "['']"

Don’t Refresh Unity in Terminal: Use Alt+F2 to refresh Unity, as while running unity --replace in the terminal is fine, if you halt that process, or close the terminal window, Unity will crash. While that isn’t a major deal, it will however leave you without a way to rectify this, as Alt+F2 will not produce the Run dialogue (since the panel isn’t running – which also means no way to log out or restart). You may also find that if you manage to get a terminal up (like if you have a launcher for it on your desktop), you won’t be able to type anything into it.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »

Older Posts »