LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installed app *.gz does not show up on xfce menu. (https://www.linuxquestions.org/questions/linux-newbie-8/installed-app-%2A-gz-does-not-show-up-on-xfce-menu-4175680329/)

andrewysk 08-13-2020 01:35 AM

installed app *.gz does not show up on xfce menu.
 
i downloaded convertall from internet.
untar it .
installed it using
python3 install install.py
the installation was done.
but i can't find the convertall in xfce menu.
however i can run it by typing name and enter.
why ?
it is a gui app, why it does not shows on the menu ?

thx
andrew

shruggy 08-13-2020 02:46 AM

For a GUI app to show up in the menu, it should install its .desktop file where the system can see it. The usual places are: /usr/share/applications, /usr/local/share/applications, ~/.local/share/applications.

By default, convertall installs to /usr/local, so it should be /usr/local/share/applications/convertall.desktop.

Just curious, why did you install it from .tar.gz? Convertall is available for most distros.

andrewysk 08-14-2020 12:08 AM

convertall.desktop file
 
2 Attachment(s)
i can't even see convertall.desktop file in /usr/local

pls see the attached photo.. sorry the address bar is a bit too dark, but see able.

i didn't notice that convertall is in the repo.. after you mentioned, i checked it is in aur.

what my feeling is:
if i keep using repo and all those automated stuff, i will ended up not really know how to use linux.. what's the point of using linux if not learning ? then rather use back windows.. lol



Quote:

Originally Posted by shruggy (Post 6155403)
For a GUI app to show up in the menu, it should install its .desktop file where the system can see it. The usual places are: /usr/share/applications, /usr/local/share/applications, ~/.local/share/applications.

By default, convertall installs to /usr/local, so it should be /usr/local/share/applications/convertall.desktop.

Just curious, why did you install it from .tar.gz? Convertall is available for most distros.

btw:
anybody know what's wrong with manjaro forum ? it became read only for many days.. without any announcement.. what a poor management.

shruggy 08-14-2020 04:51 AM

Quote:

Originally Posted by andrewysk (Post 6155709)
pls see the attached photo..

Your screenshots don't show the directory in question. Once again, it's /usr/local/share/applications.

rtmistler 08-14-2020 08:41 AM

I think shruggy is leading you the correct direction with regards to making a .desktop file. They do have a point about using your software manager to install, where it may have worked better, but either case, you can get it doing what you want.

Since you run it with a command line command, then you can use the 'which' or 'locate' commands to get the path the command runs from:
Code:

$ which <command>
$ locate <command>

From there you can construct a .desktop file and have it show in your menu.

andrewysk 08-17-2020 01:36 AM

sorry, replied late.

i can't anywhere
Code:

convertall.desktop
this file
used:
Quote:

$find convertall.desktop
$locate convertall.desktop
totally no result.

you said:
Quote:

From there you can construct a .desktop file and have it show in your menu.
how can i construct the .desktop file ? i should name it convertall.desktop ? (some app don't name the way it displayed, then how ? )
what is the content of the .desktop file shld be ? where should i put it (how do i know where to put is the correct location) since there is no such file exist.

tq

Quote:

Originally Posted by rtmistler (Post 6155823)
I think shruggy is leading you the correct direction with regards to making a .desktop file. They do have a point about using your software manager to install, where it may have worked better, but either case, you can get it doing what you want.

Since you run it with a command line command, then you can use the 'which' or 'locate' commands to get the path the command runs from:
Code:

$ which <command>
$ locate <command>

From there you can construct a .desktop file and have it show in your menu.


shruggy 08-17-2020 03:19 AM

Well, a .desktop file is shipped within the tarball:
Code:

$ tar tf convertall-0.8.0.tar.gz \*.desktop
ConvertAll-0.8.0/convertall.desktop

You can use it as the starting point.
Quote:

Originally Posted by andrewysk (Post 6156733)
what is the content of the .desktop file shld be ? where should i put it

Desktop Entry Specification
Desktop Menu Specification

calvinmeadows 08-18-2020 11:24 AM

convertall app
 
convertall 0.8.0-1 is available via AUR


All times are GMT -5. The time now is 07:27 AM.