Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-09-07 15:57:40

julian
Member
Registered: 2020-09-07
Posts: 31

Replace Window Button with a Launcher (to avoid two same icons)

Another thing that has had me stumped for a while...

In the Panel, Launchers are only able to launch a program, after which the program is added to the Window Buttons component. This means there are effectively two identical icons in the Panel. My concern is this will confuse the new users.

Is there a function of the Panel that allows a launcher to double as a Window Button? So it won't launch another instance of the program unless expressly requested (say via right-clicking) but would instead summon the already open program?


PGP: 4198 58E4 F9E8 AC05 FDEA A303 F083 6D52 5A2D 8356

Find my email where you get good encryption keys.

Offline

#2 2020-09-07 17:11:28

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Replace Window Button with a Launcher (to avoid two same icons)

Unfortunately, xfce4-panel doesn't have this functionality. You can use xfce4-dockbarx-plugin which embeds a dockbar inside of the panel, or plank - a third party dock.

It's also possible to programmatically manage the launchers. See https://forum.xfce.org/viewtopic.php?pid=24932#p24932 - read through the whole thread for some history - the final working script is towards the end of the thread. It's not as user friendly as dockbarx or plank, but it does use existing xfce4-panel functionality.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2020-09-09 17:59:10

julian
Member
Registered: 2020-09-07
Posts: 31

Re: Replace Window Button with a Launcher (to avoid two same icons)

This is effectively SOLVED based on the above answer, and additional input from ToZ the the thread he links in the 2nd paragraph above.

I'd add "(SOLVED)" to the title of this thread but I don't believe I can make the title any longer.

Thanks ToZ!! cool


PGP: 4198 58E4 F9E8 AC05 FDEA A303 F083 6D52 5A2D 8356

Find my email where you get good encryption keys.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 8 queries executed - Memory usage: 523.79 KiB (Peak: 524.63 KiB) ]