Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I run Steam there are two icons, one in the Launcher and one in the Unity panel. How do I remove the icon on the Launcher? I just want an icon of Steam on Unity Panel.

Clicking the close button in Steam just minimises the window to the launcher, not fully hiding it.

share|improve this question
    
First, I don't think it's easily possible. All launched programs show on the launcher by default, some like pidgin, will disappear if you close the window but still remain on the panel(if whitelisted) but if they are not designed to do that, getting it to happen is likely to involve recoding part of Steam. Second, even if yo could get it to disappear, it would come back as soon as you opened a game(if you notice when a game is running there are 2 arrows beside the icon) so that nothing would be gained by doing all the work to get it to go away. –  TrailRider Jul 11 '13 at 4:29
    
Yeah I want Steam to behave like Pidgin or Transmission which goes to panel, not to launcher,when the window closed, whats the point of close button anyway if its functionality is same as minimize. But looks like it cant be done. Thanks for answering. –  Nur Jul 11 '13 at 9:54
1  
The closest you can come is to launch your games from the dash. It will launch Steam only in the panel. You can then launch other games by clicking on the icon and then selecting the game form the pop up menu. However if you open the Steam Client you cannot close it again and have it disappear from the launcher. It doesn't matter how you do it as far as memory is concerned unless you are very lean on memory, there is only a 30-50MB difference so it will not help much. 140MB compared to 180MB when I tested it on my computer. –  TrailRider Jul 11 '13 at 22:37
    
I posted the last comment as a comment instead of an answer because it doesn't really answer your question, It is as close to an answer as you can get I think. I.E. your question was "HOW" to remove the icon as opposed to "IF" you can. so my answer of "NO" does not really answer it. Wish I could have been of more help. –  TrailRider Jul 11 '13 at 22:40
1  
Go complain to valve. Seriously, write some sort of bug report or something, because this is actually a problem. The windows version of steam does not suffer from this issue - closing steam there does indeed remove its 'open window' tab thing from the main bar, but leaves the icon in the taskbar. Why should the linux version need users to perform some big workaround to fix this issue? –  AJMansfield Aug 17 '13 at 18:58

1 Answer 1

To do this only for your user, you need to run this command in a terminal:

echo 'STEAM_FRAME_FORCE_CLOSE DEFAULT=1' >> ~/.pam_environment

Then logout and log back in.


Alternatively, you could add it for all users with this command:

echo 'STEAM_FRAME_FORCE_CLOSE=1' | sudo tee -a /etc/environment

Then logout and log back in.

References:

share|improve this answer
1  
It seems like the archlinux folks are almost always the ones that figure out the all the fixes and workarounds for stuff like this... –  AJMansfield Oct 26 '13 at 21:51
    
No wonder when the distro really makes you learn everything about Linux. They know what goes where and how. –  Kaspar Feb 5 at 11:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.