Re: KDE sub menus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/20/23 6:28 AM, Slávek Banko via tde-devels wrote:
For tdelibs there is a building option WITH_KDE4_MENU_SUFFIX. Is it
possible that this is the thing you are looking for?

I suspect not. That build option likely only affects KDE4 and probably has not been tested with KDE 5. The old "[KDE4]" designation was (mostly) obsoleted by the patches from bug report 977. That was 11 years ago. I do not remember the exact details and do not know what has further changed since then.

When KDE software is installed there is a "KDE" submenu in each TDE top level menu. The goal is to avoid clutter when the full KDE suite of packages is installed. This is done through tde-applications.menu and $TDEDIR/share/desktop-directories/kde-*.directory files.

There does not seem to be a quick way to merge KDE apps directly into the TDE menus and avoid the "KDE" submenu.

The current menu structure with these "KDE" submenus presumes a full TDE and full KDE suite of packages installed. The "KDE" submenu then seems sane. There also is the tde-applications.menu-no-kde option to not show any KDE apps.

The presumptions start splintering when only a handful of non conflicting KDE packages are installed or a careful blend of both TDE and KDE packages are installed.

Under such an environment the "KDE" submenus create extra navigation. For example, installing Okular should have a menu entry directly in the TDE Office menu without any KDE submenu. Another example is users might prefer a KDE version of a package rather than TDE. For example, Gwenview, but with the presumptions the "KDE" submenu will appear for Gwenview.

One solution is through kmenuedit. That starts getting messy and every time a new KDE package is installed might require further menu editing.

Another solution is copy the respective KDE *.desktop file from /usr/share/applications to $HOME/.local/share/applications or /usr/local/share/applications and delete the "KDE;" designator from the Categories key. Then the KDE app appears directly in the TDE menu without a "KDE" submenu.

A third administrative menu would provide the option to merge KDE apps directly into the TDE menu:

* tde-applications.menu-no-kde (already provided)
* tde-applications.menu-with-kde-submenus (default: currently tde-applications.menu)
* tde-applications.menu-with-kde-no-submenus (new option)

Or, rather than a third menu option, possibly a TCC GUI check box to display KDE apps without the submenus (basically internal code ignores the "KDE;" category in the *.desktop files).

Some people might still want the separation and some might not. A third option would provide user choice.

I could not find an easy global solution, hence the post.
____________________________________________________
tde-devels mailing list -- devels@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devels-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/devels@xxxxxxxxxxxxxxxxxx




[Index of Archives]     [Trinity Users]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [KDE]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux