Page 1 of 1

[SOLVED] Deleted program menu shortcut

Posted: Tue Feb 13, 2018 4:56 pm
by Vasilis_K
I entered the menu editor of the Mint menu (the one that opens through the the bottom left Mint icon). There, I deleted by accident a programs shortcut, and I can't bring it back. I tried uninstalling the program and reinstalling it, even a system restore with Timeshift, but no good. The program is there and works just fine, but I want that shortcut back. Any ideas?
Thanks in advance.

Re: Deleted program menu shortcut

Posted: Mon Feb 19, 2018 6:12 am
by Sir Charles
I imagine that it would be possible to create a new launcher for the application in question using the menu editor. This is how it looks like under Xfce:
menueditor.png
Click on "+" in the menubar and choose "Add Launcher". Fill in the command for your application in the corresponding box. Click on the cog wheel and chose "Browse icons". Choose an icon and save the new launcher. You could then move it to the appropriate category.

Re: Deleted program menu shortcut

Posted: Mon Feb 19, 2018 4:02 pm
by Vasilis_K
Marziano wrote:
Mon Feb 19, 2018 6:12 am
I imagine that it would be possible to create a new launcher for the application in question using the menu editor. This is how it looks like under Xfce:

menueditor.png

Click on "+" in the menubar and choose "Add Launcher". Fill in the command for your application in the corresponding box. Click on the cog wheel and chose "Browse icons". Choose an icon and save the new launcher. You could then move it to the appropriate category.
I'm aware of the process you describe, but there's a little issue: I don't know the command for starting the application. :roll: The app I'm talking about is Master PDF Editor. Any idea about the command? I've googled it a little bit but I've only found links about installing it trough command line, not using it.

Re: Deleted program menu shortcut

Posted: Mon Feb 19, 2018 4:50 pm
by Sir Charles
You could run the application. Open then a terminal and run top or htop. In the last column to the right you will find the command for all the currently running applications/processes. Hope this helps.

Re: Deleted program menu shortcut

Posted: Sat Feb 24, 2018 4:06 pm
by Vasilis_K
Marziano wrote:
Mon Feb 19, 2018 4:50 pm
You could run the application. Open then a terminal and run top or htop. In the last column to the right you will find the command for all the currently running applications/processes. Hope this helps.
"top" gives me the list you mention. The command is "masterpdfeditor" but it gives the message "command not found" in the terminal... :(

Re: Deleted program menu shortcut

Posted: Sat Feb 24, 2018 4:12 pm
by Sir Charles
What would you get if you run whereis masterpdfeditor ?

Re: Deleted program menu shortcut

Posted: Sat Feb 24, 2018 4:21 pm
by Vasilis_K
Marziano wrote:
Sat Feb 24, 2018 4:12 pm
What would you get if you run whereis masterpdfeditor ?
This: "masterpdfeditor:"

Re: Deleted program menu shortcut

Posted: Sat Feb 24, 2018 4:23 pm
by kc1di
Marziano wrote:
Sat Feb 24, 2018 4:12 pm
What would you get if you run whereis masterpdfeditor ?
If you installed masterpdf4 the exicute command is

Code: Select all

/opt/master-pdf-editor-4/masterpdfeditor4 %f
or you can also use

Code: Select all

/usr/bin/masterpdfeditor4
either will work.
good luck.

Re: Deleted program menu shortcut

Posted: Sat Feb 24, 2018 4:26 pm
by Sir Charles
kc1di wrote:

Code: Select all

/usr/bin/masterpdfeditor4
That's it! Was hoping to get the path to the binary.

@Vasilis_K
Would you try to run the line above in a terminal and see if you can start the application?

Re: Deleted program menu shortcut

Posted: Sat Feb 24, 2018 4:38 pm
by Vasilis_K
Marziano wrote:
Sat Feb 24, 2018 4:26 pm
kc1di wrote:

Code: Select all

/usr/bin/masterpdfeditor4
That's it! Was hoping to get the path to the binary.

@Vasilis_K
Would you try to run the line above in a terminal and see if you can start the application?

Code: Select all

masterpdfeditor4
did the job!
Thanks a lot you guys! :D

Re: [SOLVED] Deleted program menu shortcut

Posted: Sat Feb 24, 2018 4:41 pm
by Sir Charles
You're welcome! Nice it got sorted out. Go ahead and create a new launcher and/or shortcut.
cheers