Ubuntu :: What's The Command To Initiate The Gnome System Tray For When It Fails To Load
May 14, 2010
what the command is for the System Tray, so thought I'd ask here. Note I am not asking how to put a system tray on the panel - I know I can add a notification area, but when I reboot there will be 2 of them, so this is not what I want.
I just need to be able to initialise it when it fails to load. Since my upgrade to Lucid, this has happened a couple of times, so expect it will happen again soon enough.
OpenSuSE 11.4 --- 2.6.37.6-0.5-desktop #1 SMP PREEMPT 2011-04-25 21:48:33 +0200 i686 i686 i386 GNU/Linux So recently in the last couple of days my NetworkManager Icon has disappeared from the "System Tray" on the Taskbar, even after a reboot. I have tried doing: Alt+F2 then typing "nm-applet" and nothing happens. Also tried in the terminal typing "nm-applet" and I get:
Code:
# nm-applet
An instance of nm-applet is already running. I am connected to the internet so I know it is working but how do I get the icon back? I would like to be able to switch between connection types (i.e. wlan0 or eth0 etc...) but can't do it without it (well easily anyway, probably could switch through the terminal but I would rather not). Also, on another note I remember earlier in the week reading a post that someone had the same problem, and they told him to Alt-F2 and type "nm-applet", which did work for me once but now it is not.
***And I do remember accidentally deleting something involving NetworkManager from the "Startup Applications" app. Can't remember exactly what it said but I do remember it had the word "-disable" at the end of the command. --> If anyone has NetworkManager icon in their system tray could you please look at your "Startup Applications" and tell me what the one for NetworkManager's command says?
The volume control in the Gnome panel system tray has disappeared from my wife's Ubuntu 10.04 system with the master volume set to zero.I was able to restore sound via System->Preferences->Sound master volume, but this is not particularly convienent. How do I restore the panel volume control? (the speaker icon on the panel, between the Network arrows and Chat/Mail setup icons).
I am trying to find a way to put an icon in the system tray and run a bash command every time I click on the icon.
Purpose: I want to set up a system tray icon that will hide/unhide the desktop when clicked, much as would the standard desktop panel plugin for the various panel apps like lxpanel, gnome panel, etc.
Why don't I just use a panel app?
I am using a very reduced install of Ubuntu Lucid oriented towards first time PC users on very old hardware, using Openbox as the window manager and Tint2 with lxlauncher instead of a panel, the latter both compiled from latest source for some slight customization. Tint2 is a taskbar that also features a built in clock applet and system tray which I have chosen after examining basically all other alternatives and chosen for its light footprint and customization. It gives me everything I need except a single click hide/show-desktop feature or a halt/reboot/logout menu. lxlauncher is a very lightweight alternative to the Ubuntu Netbook Remix netbook-launcher (and/or netbook-launcher-efl) package that conforms to the freedesk specifications and occupies all free deskspace other than tint2, under all other windows. I used the freedesk specs to set up a "shutdown" menu category and created shutdown.desktop reboot.desktop and logout.desktop files in the category to add that feature, using dbus commands for the first two and 'openbox --exit' for the latter.
I set the openbox config to open all app windows maximized with no decoration, so each app takes up the whole screen other than tint2 and can only be closed by right clicking on its icon in tint2 or by its file->Quit menu.
This gives me a kind of OLPC for grown ups with no computer experience. In other words, for people who don't know what a desktop or window is. This is similar to the Ubuntu Netbook Remix except that in UNR they superimpose the window decorations over the gnome panel so you can still close the window.
However, the one problem here is that to see lxlauncher when one has several apps running, one has to click on each app in tint2 to minimize it. I would like to add a system tray icon to make this possible with one click without adding too much more overhead to the existing setup.
Here is a screen cap of the desktop:
BTW, I will use wmctrl to test the desktop visibility state and toggle it using this bash command: test 'wmctrl -m | grep ON' && wmctrl -k on || wmctrl -k off
how to get an icon in the system tray and run the above command when clicked will be appreciated
P.S. I've looked at 'zenity --notification --listen' but running a command when the icon is clicked in this case is a pending feature for the app and not yet implemented. My last resort will be to learn C and try that.
I upgraded to jessie today and I am having problems with my background. When I log in, the background tries to start on the external monitor but then it fails to load. I can change the background in settings but it does not show up. The background just becomes black and I am not sure why.
I am trying to fix a perl script, and I really suck at perl. But I think this problem will be easy for people who know it.
The problem is, I have an old setup script someone wrote many years ago. It fails if the standard shell is dash and not bash. The only way I've gotten it to work is to point /bin/sh to bash. I looked thru the script and it uses "system" many places, and I think that's the problem.
I searched for it and found this link:url
My plan is to include this function:
Code: sub system_bash { my @args = ( "bash", "-c", shift ); system(@args); } Then I could simply change all calls to system into system_bash and it should work?
The parameter to the system calls is usually some variable. What if the parameter is a list already? Do I need to test for it somehow, and if it's a list, prepend "bash" and "-c" to the list? How do I do that?
In the script there are lots of places like this:
my $error = system($cmd); if ($error) { die/warn "some error message"; }
Shouldn't there be a return in the system_bash function?
Somewhere along the line while trying to reset the Ubuntu panels i lost the system tray getting the message in the title . Now , when i log on and get to the desktop i have no way to get anywhere else . Managed to get on - line via Help icon on log off screen . Is there any way for me to get these functions back without re - installing from scratch ?
I accidentally deleted both my Power button and my System Tray from my Gnome Panels and I can't get them back! They aren't listed in the "Add To Panel" dialog.EDIT:Oh wait, the System Tray is actually called the Notification Area.Oh wait again, I still have a Notification Area. I don't know the name of the thing I deleted
This is how my Firestarter and Pidgin icons appear in the tray against a panel using an image background, even though the icons are transparent. What can be done to fix this? According to this five year old thread, GTK libraries didn't support transparency in the tray area back then, but surely this must've been fixed by now? There are even some links to bugfixes in that very thread, but I'm hesitant to apply something that old. What to do?
I was trying to make my surround sound work and screwed things up. Anyways, one of them is the one with the vertical slider and the other one is the one with the horizontal slider. I want to get rid of the one with the vertical slider. How do I do this? (The one with the vertical slider is in the part where the "tray-ed" programs go). When I use my keyboard volume up and volume down buttons, I notice that the two controls respond APPROXIMATELY the same where one is slightly ahead of the other. If more information is needed, just ask.
I use Debian Jessie which includes a gnome shell version 3.14.1. The problem is that icons of some applications such as Viber or Starcal are not shown in the tray while the icons of other applications (e.g. Skype of Dropbox) are shown without problem.
By the way, the problem does not relate to loading, because all applications are loaded and a space is considered for each in the tray, but the problem is that for some of applications the pictures of their icons are not shown.
I reinstalled fedora the other day, and it's been working just fine, apart from the internet. It shows that I have a full connection with the wireless network, but it's really difficult to actually load a page. 80% of the time it just fails and shows "Page Load Error". It's really frustrating because it is connected to the internet. In fact, the icon in the address bar even loads from the site I try to access, but websites just will not load.
I've tested my wireless internet with another laptop which is running vista, and it works perfectly on that. Also, I'm running Fedora 10 on an Acer Extensa laptop.
Here's a summary of my problem: When using Skype, it's possible to close the gui of the application only. When doing this, the Skype process itself doesn't close; it hides in gnome-panel's notification-area.
Now, when opening the Skype application again (e.g. by clicking on a Skype launcher), Skype starts a whole new process. This is shown to the user as a new Skype tray icon being generated, as well as a new gui window being created.
What I'd like to do is as follows:
I'd like to replace the Skype launcher with a script that would * recognize if there is a Skype process running if yes, bring up that * instance of Skype if not, start Skype normally
Now, I've read some of the source code of gnome-panel to try and see how it's done. From what I've gathered, a button_press_event is bound to some function that probably (am unsure of this) sends a signal of some kind to Skype.
Very similar to this thread, except for Skype and without wmctrl (does not work with Skype): HOWTO: Make a launcher restore an open window (dock-like) [URL]
I dont use Network Manager to connect, but the nm-applet wireless icon wont go out of the system tray. Ive tried to do it through the GUI by unchecking Network Manager in the startup applications: didnt work. I tried to do it by editing the .desktop files in /.config/autostart and /etc/xdg/autostart: didnt work. I deleted all the .desktop files: didnt work. I can get rid of it by killing nm-applet, but then it comes back next time I log in. Is there any way to get rid of this stupid thing outside of purging Network Manager?
I'm running Ubuntu 10.04. I just installed HP drivers for my printer tonight, and now my laptop is acting a little "buggy". Some applications have froze, and my system tray icons are getting messed up. Sometimes the little power button dissapears and my username appears there instead, but it's not clickable. This means I have to shut down by using the power button on my laptop.
Also, as I am typing this message, the letters onscreen are lagging quite a bit behind my actual typing. It's as if there's something running in the background that is slowing everything down and messing things up.
Is anyone else getting a non-transparent icon in the system tray when TrueCrypt 6.3a loads on Ubuntu 10.04 with the default theme? Annoying white bars on the top and bottom of the icon. This didn't occur with the same version of TrueCrypt on previous versions of Ubuntu. Any way to resolve it? It looks out of place...
I removed the bottom panel and killed gnome-panel process. After that the icons are shown in random order on the panel. The clock is sometimes in the middle, sometimes at the end. This is very annoying I locked it to the panel, but it keeps moving randomly after restart. And I can't move it after the panel is loaded.
installed winxp on my virtualbox. since i use virtualbox all day cause i run an important program from windowsxp i was wondering if i can minimize virtualbox to systemtray. it uses too much space in Windows List
After installing Kubuntu 11.04, the system tray has gone wild. It contains network manager, volume etc. icons, but applications cannot add theirs. For example Skype status icon positions itself in the top left screen corner; Pidgin icon floats in a small window on the desktop. What could be wrong?
I've done some searching through google and can't seem to find a fix for this.
I installed skype on my computer and couldn't figure out where the tray icon went after i closed the main window so I started playing around with all my taskbars and stuff. Being new to ubuntu and all (I'm using version 11.04 with the gnome theme) i accidentally deleted the Skype icon, my windows list on the bottom and everything up top. I successfully restored my windows list and have system monitor so i can easily kill skype if i accidentally restore it (i haven't been able to figure out how to restore the icon up there) and got rid of all my stuff in the top right corner. Upon reboot everything returned except for my shutdown/restart/log off list which i loved (it fit in esthetically and had all the options).
I have noticed that Kupfer will not show up in the system tray in Kubuntu 11.04. I also had this problem with Linux Mint 11 GNOME.Because of this,I cannot access the Kupfer preferences
Is there a way to enable the system tray to display the icons for running apps in the unity panel like they did in the old gnome ubuntu? For example Pandora.
In Ubuntu some applications can be set to minimize instead of exit on close. For example, Empathy minimizes to the system tray (mail icon) when the close button is pressed in the application window. How do I make Evolution do this as well?
Essentially I would like to have Evolution hidden in the system tray instead of having to re-launch it every ten minutes to check for new messages (or leave it open and clutter the taskbar).
I installed Skype only because it is necessary to Pidgin to handle the Skype service/protocol. I use Pidgin for many protocols included the IRC, so I don't need Skype icon in the system tray at all. Honestly I hate Skype, but unfortunately it seems that all the world use it. how to take off that terrible icon/indicator/applet from the systray. I searched in all system to find a configuration file, I opened few named Skype using vi to avoid to damage them, but I have not found nothing interesting for my scope. PS: don't tell me how I will switch on or off Skype, because a plug-in of Pidgin do it w/o user interaction.