-
-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible to customize the start menu>leave options? #876
Comments
Menu entries are .desktop files, so they can be overridden like any application. |
So I can remove "Leave" totally by deleting /usr/share/desktop-directories/lxqt-leave.directory but I cannot remove or edit some of the options you are saying? Is it possible for me to compile it from source without any option except logout? Or is there an alternative involving deleting /usr/share/desktop-directories/lxqt-leave.directory and adding a logout button somehow? Thank you :) |
/usr/share/desktop-directories/lxqt-leave.directory is just a menu directory description. |
Thank you. I was able to add the Hidden=true to them and now it works the way I would like it to. |
In case you don't want to read the whole specification stated above changes on a per-user basis can be made by copying the files to Btw. eventually providing a GUI to edit those desktop entry files is discussed in #820. If your question got answered by now please close this issue by hitting the respective button below the form to file comments. |
Thank you both! |
Sorry, I had to reopen this. I copied these to
Example:
Is there something else I need to do? |
Try "NoDisplay=true"! |
Yes, that worked, thank you. |
This got me curious so I compared the behaviour of KDE, LXQt, LXDE and Xfce. Both All in all this seems a bit odd to me. Shouldn't both keys have the same effect at both locations suggesting that there's something wrong with the implementations e. g. in KDE and LXQt? Am I missing something? @gituser6 |
By spec, the difference between |
This way doesn't seem to work for Wayland session, it is possible to customize the leave menu for wayland session |
You mean the central leave menu with the 6 options or the one in the applications menu? The first one can't be customized, the latter should work. |
As I said: this can't be configured by modifying |
I see @Vladimir-csp did it by this way ,and it worked, isn't this way only for X11 and not for wayland? |
There is no difference between wayland and x11 here. |
But judging from what @gituser6 said, it was definitely not about "leave button in main menu", it was about the leave menu with the 6 options |
@knm100 |
@tsujan if I want to hide the button or change the icon of the button of lock screen under the leave menu. is it possible? It look like it's in neither the main menu nor the fancy menu |
The icons are taken from your icon theme. They can also be changed in desktop entries ( |
If by "button" you mean a button inside a dialog, and not a menu entry, the only way to change its icon is changing your icon theme. |
@stefonarch @tsujan Thank you both for helping me figure this out |
@tsujan, One more question: So the section 4.2 of lxqt wiki in archwiki is not true. (https://wiki.archlinux.org/title/LXQt ) |
It is correct. It's about the items you see under the "Leave" sub-menu, not about the buttons inside lxqt-leave dialog. That dialog shows all options. |
Long time ago I suggested a thing that would prevent this issue from happening, at least the logout dialog part: #580 |
@knm100 in your screenshot In the application menus "Lock Screen" is not displayed inside the "Leave" menu as it isn't part of |
thank you it work in fancy menu, if i cp /usr/share/applications/lxqt-hibernate.desktop ~/.local/share/applications |
I am wondering if the "Leave" options can be edited? I'd like to remove a few of them from showing up.
The text was updated successfully, but these errors were encountered: