You are not logged in.

#1 2024-03-12 11:06:40

manmath
Member
Registered: 2024-03-09
Posts: 5

[Solved] Start menu with dead items

I'm running the latest Bunsenlabs linux. However, I've installed/uninstalled many packages. And after that I see the start menu clutter with many dead items. Would anybody please suggest how to regenerate a fresh start menu reflecting the applications that are actually installed, and not the dead ones?
Thank you!

Last edited by manmath (2024-03-13 00:03:55)

Offline

#2 2024-03-12 14:04:41

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,737

Re: [Solved] Start menu with dead items

There should be settings/jgmenu section (from memory).

Offline

#3 2024-03-12 17:53:35

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,032
Website

Re: [Solved] Start menu with dead items

brontosaurusrex wrote:

There should be settings/jgmenu section (from memory).

Yes, it's now under User Settings>jgmenu>Menu Content.

But something's not right, jgmenu should auto-update itself when an application is installed or removed. @manmath, can you name a couple of programs you've removed that still have menu items and include which options in Synaptic Package Manager or which terminal command you used? Thanks.


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#4 2024-03-12 20:02:32

manmath
Member
Registered: 2024-03-09
Posts: 5

Re: [Solved] Start menu with dead items

@Willy Wonka, Hardinfo is one such program, that has been uninstalled but it's still there in the start menu.

Offline

#5 2024-03-12 20:56:47

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,032
Website

Re: [Solved] Start menu with dead items

manmath wrote:

@Willy Wonka, Hardinfo is one such program, that has been uninstalled but it's still there in the start menu.

OK, I can confirm that it's still there under "System Settings>".

'Main Menu>User Settings>jgmenu>Edit Menu Content' will open ~/.config/jgmenu/prepend.csv in your default text editor (geany, probably). Ctrl+F and search 'hardinfo' without quotes, then comment out that line (put a pound sign/hash tag at the beginning of the line) and save the file. On a default boron setup it's line #144. The menu item will be gone.


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#6 2024-03-13 00:03:31

manmath
Member
Registered: 2024-03-09
Posts: 5

Re: [Solved] Start menu with dead items

Thanks, that worked!

Offline

#7 2024-03-13 00:16:56

Robi
Member
Registered: 2024-01-30
Posts: 43

Re: [Solved] Start menu with dead items

I had an opposite problem: installed new programs are not found in jgmenu by 'Type to Search' by default.
(Let me not to add each new app to prepend.csv)

If I modify stay_alive true to false (1 to 0) it works as it should IMO.

stay_alive = 0

in
~/.config/jgmenu/jgmenurc

'stay_alive = boolean (default 1)
              If  set  to  1,  the  menu will “hide” rather than “exit” when the following events
              occur: clicking on menu item; clicking outside the menu; pressing escape.  When  in
              the hidden mode, a USR1 signal will “un-hide” the menu.'

Last edited by Robi (2024-03-13 00:18:44)


...Welcome to the family...

Offline

#8 2024-03-13 00:24:51

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,550
Website

Re: [Solved] Start menu with dead items

stay_alive = 1

has the advantage that second and subsequent calls of the menu will come up slightly faster, and with the cursor in the same place it was last time. ( The menu cache can still be forced to refresh  after a change by running 'pkill jgmenu'. )

On the other hand 'stay_alive = 0' will use slightly less RAM.

Like everything, it's the user's choice. smile


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#9 2024-03-13 00:27:51

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,550
Website

Re: [Solved] Start menu with dead items

Most of the menu is hard-coded by the contents of prepend.csv, and can be rearranged by the user however they want.

The "All Applications" submenu is auto-generated by jgmenu from whatever applications are installed.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

Board footer

Powered by FluxBB