LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-13-2020, 01:35 AM   #1
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Rep: Reputation: Disabled
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
 
Old 08-13-2020, 02:46 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,677

Rep: Reputation: Disabled
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.

Last edited by shruggy; 08-13-2020 at 03:02 AM.
 
1 members found this post helpful.
Old 08-14-2020, 12:08 AM   #3
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
convertall.desktop file

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 View Post
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.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2020-08-14_07-03-49.png
Views:	13
Size:	13.8 KB
ID:	33856   Click image for larger version

Name:	Screenshot_2020-08-14_06-59-36.png
Views:	14
Size:	39.1 KB
ID:	33857  

Last edited by andrewysk; 08-14-2020 at 12:21 AM.
 
Old 08-14-2020, 04:51 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,677

Rep: Reputation: Disabled
Quote:
Originally Posted by andrewysk View Post
pls see the attached photo..
Your screenshots don't show the directory in question. Once again, it's /usr/local/share/applications.
 
Old 08-14-2020, 08:41 AM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
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.
 
Old 08-17-2020, 01:36 AM   #6
andrewysk
Member
 
Registered: Mar 2020
Posts: 797

Original Poster
Rep: Reputation: Disabled
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 View Post
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.

Last edited by andrewysk; 08-17-2020 at 01:39 AM.
 
Old 08-17-2020, 03:19 AM   #7
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,677

Rep: Reputation: Disabled
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 View Post
what is the content of the .desktop file shld be ? where should i put it
Desktop Entry Specification
Desktop Menu Specification

Last edited by shruggy; 08-17-2020 at 03:26 AM.
 
Old 08-18-2020, 11:24 AM   #8
calvinmeadows
Member
 
Registered: Jul 2016
Location: Manassas Virginia USA
Distribution: Manjaro KDE
Posts: 39

Rep: Reputation: Disabled
convertall app

convertall 0.8.0-1 is available via AUR
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
df and due commands show differences and lsof does not show deleted files devUnix Linux - Server 7 07-17-2014 03:45 PM
[SOLVED] xfce - howto edit menu or desktop icon to show currently active username codix Linux - Desktop 4 06-29-2012 04:22 PM
Evolution does not show content of inbox or sent but does show other folders manny_borges Linux - Newbie 1 05-07-2011 05:08 PM
GRUB2 - FreeBSD-8.0 does not show up in triple boot menu, dual boot menu it does.. wiliweld *BSD 7 05-03-2010 01:05 PM
In XFCE, when I open a KDE app(like kile) it have menu's font of KDE. cstrieder Linux - Desktop 1 02-19-2009 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration