Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-03-06 19:42:08

D.dave
Member
Registered: 2019-12-06
Posts: 92
LinuxFirefox 136.0

[Partially Solved] get rid of "Run appname" from Whisker Menu?

Every time that in Whisker Menu I type the name of an application/launcher, also appears this icon/entry, which offers to me, to launch the application: in the following case, also, does nothing; If instead I search, eg, for Gimp, is redundant: I can simply click on the Gimp icon to launch it.

8ubE.png

I've search for it everywhere:

~/local/share/applications/
/usr/local/share/applications/
/usr/share/applications/

I also disabled the "Run Program..." which is xfce4-appfinder --collapsed. But the icon on the image, is still there.
How can I get rid of this?

EDIT: I've been able only to find the icon of this "Run", is located as /usr/share/icons/Flat-Remix-Yellow-Dark/apps/scalable/system-run.svg:

8uc8.png

EDIT2: I moved such icon, and now, this entry is still present with another icon:

8ucq.png

Last edited by D.dave (2025-03-07 15:45:01)


OS: Manjaro x86_64
DE: Xfce 4.20

Offline

#2 2025-03-06 20:28:20

eriefisher
Wanderer
From: ON, Canada
Registered: 2008-10-25
Posts: 672
LinuxFirefox 136.0

Re: [Partially Solved] get rid of "Run appname" from Whisker Menu?

All the Whisker menu does is read .desktop files from certain directories. I would do a search to find "backup". By removing the icon the menu entry just displays the gears because the icon wasn't found. So the .desktop file is somewhere?? You can search this from Whisker  menu itself by entering - backup in the search bar. This will search for any files with "backup" in the name.


I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc

Offline

#3 2025-03-06 20:31:02

D.dave
Member
Registered: 2019-12-06
Posts: 92
LinuxFirefox 136.0

Re: [Partially Solved] get rid of "Run appname" from Whisker Menu?

eriefisher wrote:

All the Whisker menu does is read .desktop files from certain directories. I would do a search to find "backup". By removing the icon the menu entry just displays the gears because the icon wasn't found. So the .desktop file is somewhere?? You can search this from Whisker  menu itself by entering - backup in the search bar. This will search for any files with "backup" in the name.

Nope. This entry appears for every terms I use:

8uc4.png


OS: Manjaro x86_64
DE: Xfce 4.20

Offline

#4 2025-03-06 20:39:52

eriefisher
Wanderer
From: ON, Canada
Registered: 2008-10-25
Posts: 672
LinuxFirefox 136.0

Re: [Partially Solved] get rid of "Run appname" from Whisker Menu?

OK, I see the same result now but only when I type the name out completely. If I just type a few letters the list just gets smaller as it parses through the search results. I'm not sure why but it seems to be the default behavior. One is the search result and the other a command line basically. Both have the same effect in the end. You could try a bug report but that's up to you.


I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc

Offline

#5 2025-03-06 20:42:55

D.dave
Member
Registered: 2019-12-06
Posts: 92
LinuxFirefox 136.0

Re: [Partially Solved] get rid of "Run appname" from Whisker Menu?

Thank you for the investigation  smile
I think that I'll not report a bug, since is only an annoyance.

Added later 15 h 10 min 44 s:
However: the used icon by this entry, is always the icon named "system-run.svg"; I know that icons are named by the app or process name, so, somewhere, there should be something named system-run, or maybe cointained in some file/binary/script.

I did a content search by using the command:

find ./ -type f -exec grep -Hn "system-run" {} \;

In the folder /usr/bin, as well in my home folder; the only results that I get is the icon itself: "system-run.svg".
Just guessing: meybe is something hard coded inside Whisker Menu; but I?ve done a search on Gitlab:
https://gitlab.xfce.org/search?search=s … ref=master
Without any result.

EDIT:
The only reference that I've found about the icon system-run, is here, but is related to Thunar, and however, in any uca.xml file on my system, there is no track about "system-run":

https://gist.github.com/mithat/a6cfd49c … ffca11d137

EDIT:
Also, here, about the Thunar source code:
https://gitlab.xfce.org/xfce/thunar/-/b … her.c#L240

EDIT: I investigate deeper and I've found:

https://bugzilla.xfce.org/show_bug.cgi?id=12306

https://gitlab.xfce.org/panel-plugins/x … it/2d52bdf


The responsible code, seems to be in the file panel-plugin/run-action.cpp

//-----------------------------------------------------------------------------

RunAction::RunAction()
{
	set_icon("system-run");
}

//-----------------------------------------------------------------------------

In facts, the icon, is "system-run".


EDIT:
I opened the library /usr/lib/xfce4/panel/plugins/libwhiskermenu.so with an hex editor, and seems that the entry comes from here:

gtk_dialog_run

EDIT: I've tried to remove gtk_dialog_run from libwhiskermenu.so and Whisker Menu won't start at all  big_smile Luckily I made a backup of the file, which I promplty restored!

Last edited by D.dave (2025-03-07 12:53:08)


OS: Manjaro x86_64
DE: Xfce 4.20

Offline

#6 2025-03-07 13:04:57

eriefisher
Wanderer
From: ON, Canada
Registered: 2008-10-25
Posts: 672
LinuxFirefox 136.0

Re: [Partially Solved] get rid of "Run appname" from Whisker Menu?

I believe that's the standard run dialog built into the whisker menu. Just like alt-F2 with a different wrapper. By default it uses the "system-run" icon. Like you say "hard coded".


I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc

Offline

#7 2025-03-07 13:21:03

D.dave
Member
Registered: 2019-12-06
Posts: 92
LinuxFirefox 136.0

Re: [Partially Solved] get rid of "Run appname" from Whisker Menu?

eriefisher wrote:

I believe that's the standard run dialog built into the whisker menu. Just like alt-F2 with a different wrapper. By default it uses the "system-run" icon. Like you say "hard coded".

Indeed.
However, I decided to open a ticket:

https://gitlab.xfce.org/panel-plugins/x … issues/156

EDIT: has been rejected and closed. Case closed also for me.
I will attempt to compile by myself the plugin, without the "run-app".

EDIT: first of all: I'm not a software developer, I'm just a geek, despite the fact that I work in I.T.
I downloaded and edited the source code, I've spent at least one hour to figure out how to get rid of "Run" (yeah, you're thinking right: I'm stubborn! big_smile ).

I haven't been able to totally remove it, there is just a blank space:

8u2H.png

For now is enough.

I made it nicer, for not have a blank space:

8u_V.png

Last edited by D.dave (2025-03-07 16:35:27)


OS: Manjaro x86_64
DE: Xfce 4.20

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.029 seconds, 7 queries executed - Memory usage: 557.83 KiB (Peak: 574.67 KiB) ]