Feeds:
Posts
Comments

Archive for the ‘Gnome Panel’ Category

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!

Advertisements

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 upgraded to Ubuntu 11.04 (or installed a fresh Natty Narwhal system) and are running the Classic desktop, you may find something amiss with the ability to bring folder windows or programs to the foreground by holding an item over its taskbar button until it appears.

For example, you’re looking in a folder at a sound file you downloaded, and wish to play it in Banshee, which is already open but hidden from view. Normally, you would drag the file over the Banshee taskbar button in the bottom panel, wait till Banshee appears, then drop the file onto it.

A more common use is perhaps file management, when you’re dragging files and folders from one Nautilus window to another which is hidden from view. This is most handy, as it means you don’t need to carefully line up both source and destination folders before doing the drag-and-dropping.

But you may find something is preventing you from doing this, with the only thing happening is a + sign appearing, and if you finally let go on the panel instead of press the Esc key, a launcher will be created there, which you then have to remove. This is not some new setting you can change in Nautilus‘s preferences (which is evident if you try with another file manager like Thunar), but a Compiz bug. While that obviously needs to be ironed out, there is a way around this, which is to run the following command in a terminal:

compiz --replace

Note that the next time you restart, things will be back as before, but at least you can just run that command again (which you can easily do by hitting the up arrow when in the terminal, or pick from the menu in the Run dialogue via Alt+F2).

Also note that if you try adding that command to your startup programs, it will likely do nothing, but you can always make a launcher for your panel, which you can then click once everything has loaded, or when you go to drag stuff via the taskbar and remember you need to.

This bug will likely be fixed soon enough, but at least there is a way around it for now. If you’d like to add your voice to the bug report (since more voices mean quicker action), click here (note that if you haven’t already got a Launchpad account, it only takes a couple of minutes to join, and is worth the small effort, since you can then report your own bugs).

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

Can’t get the Run Application dialog to appear when you hit Alt+F2?

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

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 scratching your head wondering why your launchers for folders and drives are opening with something other than the default file manager, Nautilus, then hopefully the answer you’re looking for is here.

If you’re experiencing this, you might find your desktop launchers to be fine, but those you’ve custom made for your panel, and even those in the Places menu, will be opening with the wrong program.

In my case, I had right-clicked a DVD’s VIDEO_TS folder and used Open With to open the title with SMPlayer (since the folder was on my hard drive), and all was well – until I clicked a location launcher on my panel. I had done this before without issue, but suddenly all my location launchers started opening SMPlayer, which then tried to find anything to play in the folder Nautilus was supposed to open. It might be a coincidence, but I saw others complaining of this strangeness occurring with another media player – the popular VLC.

If something similar is happening to you, you don’t need me to tell you that something has changed the default app for the task. And while you may have done similar to me in opening a folder with a program like a media player, there is no way you could have accidentally set it to be the default task. But there is a way to fix this, and you don’t even need root privileges for it.

Simply run the following command in a terminal or via Alt+F2:

gedit ~/.local/share/applications/mimeapps.list

When the file opens, look for the line starting with inode/directory= and you should see the offending app listed at the beginning, ahead of Nautilus. All you have to do is either remove it or put it on the end of the line, making sure that nautilus-folder-handler.desktop is directly after inode/directory=.

Once you save and exit the file, your location launchers should be back to normal.

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

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 like the email notification aspect of the Indicator Applet, but want to get rid of the volume button that by default rests to the left of it – especially if you plan to restore the original Ubuntu volume button – don’t worry, as it’s quite easy.

The package indicator-sound is all that needs to be removed, which you can do by pasting the following into a terminal:

sudo apt-get purge indicator-sound

Then just restart the panel with:

killall gnome-panel

When the panel reloads, the volume indicator will be gone.

°ºÒθÓº°

Remove Evolution Mail Notifier from Indicator Applet in Ubuntu’s System Tray

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

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 »