Jump to content

Need to add application to Manjaro menu


Recommended Posts

I will try to explain this as best I can. I have Manjaro cinnamon installed and working great. I use luckybackup in mint and want to use it in Manjaro. I downloaded the tar file and opened it. I then executed in the terminal qmake make and it did everything OK and made a directory. Now the only way I can run the application is to cd to the directory while in the terminal and the use the command ./luckybackup. Here is the comple syntax


[mhb@Manjaro ~]$ cd luckybackup-0.5.0
[mhb@Manjaro luckybackup-0.5.0]$ ./luckybackup

the program is then executed and works. What I want to do is put the program in my application menu. There is a folder with Icons for the application. I am not sure about how to get the application into the applicarion menu so that I can just click on a icon to run the program.



Link to comment
Share on other sites

In Debian the menu is populated by placing .desktop files in /usr/share/applications/ . The syntax is fairly simple. If Manjaro/Cinnamon uses the same method (it probably does as it's an xdg standard), just look in there for any other .desktop file and modify to suit.

Here's a simple one from my system for Mirage (filename is mirage.desktop), the categories are fairly self-explanatory and you can ignore mimetypes for Luckybackup I guess:

[Desktop Entry]
Comment=A fast GTK+ Image Viewer
Exec=mirage %f

You might need full path for Icon and/or Exec depending on where it is.

Link to comment
Share on other sites

V.T. Eric Layton

RULE #1 for ALL Linux distributions: Always search the repos before building on your own. Of course, you know that already, Mel. :)




By the way, Josh...


Configs/PGP Key/comhack π


I happened to click on your comhack in your sigline a few moments ago. I notice that nothing is happening there. The page doesn't even load. At one time, you had a "coming soon" notice, but not anymore. I guess I'm just going to have to quit waiting for comhack to come online, huh? It's been like waiting for my winning lottery jackpot or watching a pot boil. 🤪

  • Haha 1
Link to comment
Share on other sites

Thanks Sunrat I will have to see where the desktop ini files are placed in manjaro. Eric and Security I searched the AUR repos and Manjaro pamac did not find it. I had to go to Source Forge and download a tarball which after extracting I had to compile. I will search the AUR repos again and use Pacman.



Link to comment
Share on other sites

Problem solved

I found that the AUR repo was not activated in Pamac even though it looked like it was. I activated it and downloaded the build package and got it compiled and installed. Thanks everyone. Now I will check to see where it put the desktop ini file. It is working now.



  • Like 1
  • +1 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...