@ kde I've been using Global Menu for a while, but since it is less and less supported, I've finally removed the widget

submitted by

@kde I've been using Global Menu for a while, but since it is less and less supported, I've finally removed the widget.

However, I did not get the local menu back! Now all my KDE apps have no menu at all.

I thought that restarting the session would fix it, but it did not help. Anybody has any hint on how to fix this?

17

Log in to comment

11 Comments

Just for anyone who might be interested, to have normal menubar in LibreOffice one needs to search for background services in kickoff (or any alternative) and turn off Application menus daemon.

I was going crazy without the menubar. I wish there was an easy way to choose how menubars are displayed in KDE Settings: turned off completely, classic (below titilebar of each window), global (available via global app menu widget or plasmoid), or in a titlebar button that looks like a hamburger button. Also an option to invoke / show the menu via a hotkey (like Alt, I think Firefox does this).

Even better, have this per application or per window using window rules.

Currently app menus are a mess, unfortunately.

I might be wrong here, but looks like KDE devs think of app menus as something unused and outdated, something takes up screen space, and tries to find a workaround to save that space (global menus, titlebar app menu bar etc) but for some software (like LibreOffice) I think menubars are essential, and still want to have them permanently.

@pretzel6666@c.im I know this isn't entirely related to your post, but there was some stuff a while back trying to get LIMs (like unity) in KDE. maybe go and give these (https://bugs.kde.org/show_bug.cgi?id=375951, https://invent.kde.org/plasma/breeze/-/merge_requests/126/commits) some attention? If we can show that enough people want this kind of stuff, maybe it'll get some attention from people who know how to implement it.

@unknown1234_5 @kde If apps won't export the menu via ibus, this will still work as partially as global menu does.

Meanwhile, I refuse to give it up, so I have been using less gtk4 apps.

@pretzel6666 @kde it's a classic issue which I thought was already fixed. Are you using plasma 5?

In any case, check your config files and you should see a Menubar setting which need to be enabled again πŸ˜”

@carl @kde no I'm on a recently updated kde neon. But my config files have been transferred from one install to the other for many years.

What is maybe special, is that I remove two global menu widgets in one go, as I have two screens.

Anyways, sounds like it is time for a big grep exploration!

@carl @kde Oh LOL, do I need to change all of them manually?

[130|18:08|paulite23|.config]$ find . -type f -name \*rc -exec grep -i menubar --color \{\} /dev/null \;

./dolphinrc:MenuBar=Disabled
./dragonplayerrc:MenuBar=Disabled
./kaddressbookrc:MenuBar=Disabled
./kdenliverc:MenuBar=Disabled
./kfontviewrc:MenuBar=Disabled
./khelpcenterrc:MenuBar=Disabled
./kinfocenterrc:MenuBar=Disabled
./kmail2rc:MenuBar=Disabled
./kmail2rc:MenuBar=Disabled
./kmenueditrc:MenuBar=Disabled
./kminesrc:MenuBar=Disabled
./kolourpaintrc:MenuBar=Disabled
./kolourpaintrc:MenuBar=Disabled
./komparerc:MenuBar=Disabled
./konquerorrc:MenuBar=Disabled
./konsolerc:MenuBar=Disabled
./korganizerrc:MenuBar=Disabled
./krdcrc:MenuBar=Disabled
./kritarc:MenuBar=Disabled
./ktnefrc:MenuBar=Disabled
./ktorrentrc:MenuBar=Disabled
./ktorrentrc:menubar_hidden=true
./kwriterc:ShowMenuBar=true
./kwriterc:MenuBar=Disabled
./kilerc:MenuBar=Disabled
./arkrc:MenuBar=Disabled
./arkrc:MenuBar=Disabled
./systemsettingsrc:MenuBar=Disabled
./gwenviewrc:MenuBar=Disabled
./katerc:MenuBar=Disabled
./okularrc:shouldShowMenuBarComingFromFullScreen=false
./okularrc:MenuBar=Disabled

@pretzel6666 @kde Just use sed ;)

find ~/.config -iname '*rc' -exec sed -i '/Menubar=/d' {} \;

This should work but you might want to execute the sed command on one file first before running it everywhere as I am on my phone and didn't test it πŸ˜…

That line of bash is so beautiful 😍

@carl @kde No worry, I had already done something similar, however but it does not seem to have worked… I'll try google some more.

@carl @kde It looks like I have to typer ctrl-shift-m in every single app I want the menu back! But at least it is working