The Discussions and Opinions forum is a place for open discussion regarding everything related to KDE, within the boundaries of KDE Code of Conduct. If you have a question or need a solution for a KDE problem, please post in the apppropriate forum instead.
Reply to topic

Possible to convert XFCE Menu to KDE Menu?

Ajukilibodin
Registered Member
Posts
2
Karma
0
Hello, I am using BackBox on my laptop. It's a really nice OS and all, but I frankly hate XFCE. It's just odd. Is it possible to somehow convert the custom menu entries on XFCE that are put there by the BackBox developers to KDE Menu to be used under KDE?
User avatar bcooksley
Administrator
Posts
18556
Karma
83
OS
What do these menu entries concern exactly?
Assuming XFCE uses the XDG menu specification, and the BackBox developers used it to make their changes to XFCE then the entries should show up under KDE.

The only other way that couldn't happen if they were using the XDG menu specification is if they marked them as OnlyShowIn=XFCE or similar.


System Settings and Device Actions KCM maintainer
Image
Ajukilibodin
Registered Member
Posts
2
Karma
0
bcooksley wrote:What do these menu entries concern exactly?
Assuming XFCE uses the XDG menu specification, and the BackBox developers used it to make their changes to XFCE then the entries should show up under KDE.

The only other way that couldn't happen if they were using the XDG menu specification is if they marked them as OnlyShowIn=XFCE or similar.


Thanks for your reply (:

Well, the XFCE menu and it's details are best explained here;

http://wiki.xfce.org/howto/customize-menu

For example, /menus/xfce-applications.menu for a hypothetical Programming entry would be

Code: Select all
    <Menu>
        <Name>Random Menu Programming Tools</Name>
        <Directory>xfce-programming.directory</Directory>
        <Include>
            <Or>
                <Category>Subcategory Perl</Category>
                <Category>Subcategory Python</Category>
            </Or>
        </Include>
    </Menu>



Whereas my AwesomePerlProgrammingTool's desktop entryin ~/.local/share/applications would be

Code: Select all
[Desktop Entry]
Version=9.6
Type=Application
Encoding=UTF-8
Exec=awesomeperlprogrammingtool
Icon=awesomeperlprogrammingtool
StartupNotify=false
Categories=Random Menu Programming Tools; Subcategory Perl ;
OnlyShowIn=XFCE;
Name=AwesomePerlProgrammingTool
Comment=AwesomePerlProgrammingTool


I'm not sure how the KDE Menu works. But is there a way to convert this to KDE's menu structure? So my AwesomePerlProgrammingTool would be available under Random Menu Programming Tools's, Subcategory Perl without having so much editing (BackBox has over a 100 menu entries)

I'm not sure what you mean by;

The only other way that couldn't happen if they were using the XDG menu specification is if they marked them as OnlyShowIn=XFCE or similar.


so if I remove the "OnlyShowIn=XFCE" it would show up?

Thank you again (:
User avatar bcooksley
Administrator
Posts
18556
Karma
83
OS
Yes, if you remove the OnlyShowIn=XFCE then it very well may show up. The *.desktop and menu files you have created are both those specified by the XDG specification, which KDE follows.

Whether KDE reads and follows xfce-applications.menu is another thing altogether however - the file to edit may be called kde-applications.menu instead..


System Settings and Device Actions KCM maintainer
Image

 
Reply to topic

Bookmarks



Who is online

Registered users: Andreas Mair, Baidu [Spider], Bing [Bot], capslock, einar, Exabot [Bot], Google [Bot], Hans, koriun, Majestic-12 [Bot], rainbowgoblin, raymondsarver, rulet111, tparrott, urgo, Uri_Herrera, Yahoo [Bot]