Fedora Linux Support Community & Resources Center
Old 3rd November 2011, 11:49 AM
Japplo Offline
Registered User
Join Date: Sep 2010
Posts: 81
Hide applications in Gnome 3 dock

Hello Fedorausers!

I have added a quick vlc starter to my gnome dock:

cat /usr/bin/vlc-starter
vlc /Channels/dvb-c-free-tv-channels-190211.conf $*

cat /usr/share/applications/vlc-starter.desktop
[Desktop Entry]
Name=VLC media player TV digital
Comment=Read, capture, broadcast your multimedia streams
If I use the starter, I have two vlc Icons in my dock, like in the attachment gnome3-2.png.
How can I prevent this? I need only the starter Icon in the dock like in the attachment

Many thanks,
Attached Thumbnails
Click image for larger version

Name:	gnome3-1.png
Views:	154
Size:	43.2 KB
ID:	22009   Click image for larger version

Name:	gnome3-2.png
Views:	162
Size:	51.0 KB
ID:	22010  

Last edited by Japplo; 3rd November 2011 at 01:41 PM.
Reply With Quote
Old 3rd November 2011, 04:31 PM
Gareth Jones Offline
Retired Adminstrator
Join Date: Jul 2011
Location: Birmingham, UK
Age: 34
Posts: 2,761
Re: Hide allications in Gnome 3 dock

The problem here is that the dash is used for switching between running programs, as well as starting new programs. (Running applications are indicated by the white "shadow" under the icons.)

When you start your script, it runs VLC. The shell recognizes the VLC window as VLC rather than your script, so it adds the vanilla VLC icon to the dash for switching to it.

I'm afraid I've no idea how to make the shell recognize your script's VLC as special though.


---------- Post added at 03:29 PM ---------- Previous post was at 03:25 PM ----------

Also, if all your script does is start VLC, you could change the last line to "exec vlc /Channels/...", which will cause the script to replace itself with VLC rather than hanging around in the background until VLC exits.

It's possible (but unlikely I suppose) that gnome-shell tracks launched processes, in which case this might also fix your problem.


---------- Post added at 03:31 PM ---------- Previous post was at 03:29 PM ----------

P.S.: Also, use '"$@"' rather than '$*' on the VLC line, so that arguments containing spaces are handled properly. $* will cause them to be split into separate arguments at the spaces, whereas "$@" keeps them as originally specified.
Reply With Quote
Old 5th November 2011, 09:37 AM
Japplo Offline
Registered User
Join Date: Sep 2010
Posts: 81
Re: Hide allications in Gnome 3 dock

Hi Gareth,
thank you for reply. I will look for an extension, but currently I could not find a "starter" extension which is independent from the dock

Reply With Quote
Old 23rd June 2012, 02:34 PM
Japplo Offline
Registered User
Join Date: Sep 2010
Posts: 81
Re: Hide applications in Gnome 3 dock

Has anybody an idea how to fix that without replacing the gnome 3 dock?
Reply With Quote

applications, dock, gnome, hide

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do you get the gnome 3 dock? sillyshy Using Fedora 2 29th May 2011 01:40 AM
[SOLVED] F14 gnome-applet Mini-Commander will not dock to gnome-panel LionelHutz Using Fedora 4 28th November 2010 07:28 PM
List of Installed Applications in Gnome Applications Menu BandC Using Fedora 4 7th May 2009 07:19 PM
Gnome Notification hide ACiD GRiM Using Fedora 2 5th January 2009 03:50 AM
A dock panel for Gnome TheRoom Using Fedora 3 8th October 2006 12:53 AM

Current GMT-time: 13:09 (Saturday, 19-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat