How to get the list of all application installed which has GUI?
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I want a list of all installed application which has GUI. To be clear, At least all the application that are listed in "Show Applications".
I tried several commands like apt list --installed
, dpkg -l
, find
, etc. also tried some python scripts to get the list of all installed application which all ended up missing some applications (like Android Studio, b1freearchiver, pyCharm, etc.)
Additional info: I'm running Ubuntu 18.04 desktop.
apt package-management gui python3
add a comment |Â
up vote
3
down vote
favorite
I want a list of all installed application which has GUI. To be clear, At least all the application that are listed in "Show Applications".
I tried several commands like apt list --installed
, dpkg -l
, find
, etc. also tried some python scripts to get the list of all installed application which all ended up missing some applications (like Android Studio, b1freearchiver, pyCharm, etc.)
Additional info: I'm running Ubuntu 18.04 desktop.
apt package-management gui python3
What would you search for specifically? Packages that have some type of display as a dependency? Or just try searching for all .desktop files?
â Xen2050
2 hours ago
I'm searching for installed application name. i thought all application would have .desktop so i used find '/usr/share/applications/' -type f -iname '*.desktop' to search for application
â Sathish Kanna
2 hours ago
It seems that gui programs mostly have .desktop files, terminal programs (like the coreutils) don't usually bother. If searching for those files worked, I might as well post it as an answer
â Xen2050
1 hour ago
actually i tried /home/ and /usr/ searching for .desktop i haven't got few applications.
â Sathish Kanna
1 hour ago
wouldn't that be easy to find the folder or file that is used by the 'Show Applications' menu to get all the applications listed in it.
â Sathish Kanna
1 hour ago
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I want a list of all installed application which has GUI. To be clear, At least all the application that are listed in "Show Applications".
I tried several commands like apt list --installed
, dpkg -l
, find
, etc. also tried some python scripts to get the list of all installed application which all ended up missing some applications (like Android Studio, b1freearchiver, pyCharm, etc.)
Additional info: I'm running Ubuntu 18.04 desktop.
apt package-management gui python3
I want a list of all installed application which has GUI. To be clear, At least all the application that are listed in "Show Applications".
I tried several commands like apt list --installed
, dpkg -l
, find
, etc. also tried some python scripts to get the list of all installed application which all ended up missing some applications (like Android Studio, b1freearchiver, pyCharm, etc.)
Additional info: I'm running Ubuntu 18.04 desktop.
apt package-management gui python3
apt package-management gui python3
asked 2 hours ago
Sathish Kanna
987
987
What would you search for specifically? Packages that have some type of display as a dependency? Or just try searching for all .desktop files?
â Xen2050
2 hours ago
I'm searching for installed application name. i thought all application would have .desktop so i used find '/usr/share/applications/' -type f -iname '*.desktop' to search for application
â Sathish Kanna
2 hours ago
It seems that gui programs mostly have .desktop files, terminal programs (like the coreutils) don't usually bother. If searching for those files worked, I might as well post it as an answer
â Xen2050
1 hour ago
actually i tried /home/ and /usr/ searching for .desktop i haven't got few applications.
â Sathish Kanna
1 hour ago
wouldn't that be easy to find the folder or file that is used by the 'Show Applications' menu to get all the applications listed in it.
â Sathish Kanna
1 hour ago
add a comment |Â
What would you search for specifically? Packages that have some type of display as a dependency? Or just try searching for all .desktop files?
â Xen2050
2 hours ago
I'm searching for installed application name. i thought all application would have .desktop so i used find '/usr/share/applications/' -type f -iname '*.desktop' to search for application
â Sathish Kanna
2 hours ago
It seems that gui programs mostly have .desktop files, terminal programs (like the coreutils) don't usually bother. If searching for those files worked, I might as well post it as an answer
â Xen2050
1 hour ago
actually i tried /home/ and /usr/ searching for .desktop i haven't got few applications.
â Sathish Kanna
1 hour ago
wouldn't that be easy to find the folder or file that is used by the 'Show Applications' menu to get all the applications listed in it.
â Sathish Kanna
1 hour ago
What would you search for specifically? Packages that have some type of display as a dependency? Or just try searching for all .desktop files?
â Xen2050
2 hours ago
What would you search for specifically? Packages that have some type of display as a dependency? Or just try searching for all .desktop files?
â Xen2050
2 hours ago
I'm searching for installed application name. i thought all application would have .desktop so i used find '/usr/share/applications/' -type f -iname '*.desktop' to search for application
â Sathish Kanna
2 hours ago
I'm searching for installed application name. i thought all application would have .desktop so i used find '/usr/share/applications/' -type f -iname '*.desktop' to search for application
â Sathish Kanna
2 hours ago
It seems that gui programs mostly have .desktop files, terminal programs (like the coreutils) don't usually bother. If searching for those files worked, I might as well post it as an answer
â Xen2050
1 hour ago
It seems that gui programs mostly have .desktop files, terminal programs (like the coreutils) don't usually bother. If searching for those files worked, I might as well post it as an answer
â Xen2050
1 hour ago
actually i tried /home/ and /usr/ searching for .desktop i haven't got few applications.
â Sathish Kanna
1 hour ago
actually i tried /home/ and /usr/ searching for .desktop i haven't got few applications.
â Sathish Kanna
1 hour ago
wouldn't that be easy to find the folder or file that is used by the 'Show Applications' menu to get all the applications listed in it.
â Sathish Kanna
1 hour ago
wouldn't that be easy to find the folder or file that is used by the 'Show Applications' menu to get all the applications listed in it.
â Sathish Kanna
1 hour ago
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
2
down vote
Try searching for all the .desktop files, Gnome's Developer website calls them the "registered set of applications that users can run" and they're almost always GUI programs.
This answer (How can I find *.desktop files?) says you could just search everywhere for .desktop files with
find / -name '*.desktop'
Or they're probably only in /usr/share/applications/
and ~/.local/share/applications
so just looking there might be sufficient.
almost always isn't a very good criteria. Python has .desktop file, byobu does too. These aren't GUI programs, and in fact command line apps may stateTerminal=True
in . desktop file to open default terminal. A .desktop file != GUI app
â Sergiy Kolodyazhnyy
26 mins ago
add a comment |Â
up vote
1
down vote
As compliment to the @Xen2050 answer you can determine exact package names of the deb-packages (so they are known to APT) having *.desktop
files with this one-liner:
dpkg --search '*.desktop' | awk 'print $1' | sed "s/://" | sort --unique
In the command above:
dpkg --search '*.desktop'
will search for packages having*.desktop
files;|
is redirect from output of previous command to the input of next command;awk 'print $1'
will print first column of search result (usually in formplank: /usr/share/applications/plank.desktop
- so you will getplank:
);sed "s/://"
will remove unnecessary:
from package name (you will getplank
here);sort --unique
will sort the results and remove duplicates from them.
On my Ubuntu 16.04.5 LTS it returns about 347 unique package names.
If you have installed some software to the home folder - then you can use command below
find ~ -name '*.desktop'
or more precise
find ~/.local/share/applications/ '*.desktop'
to find their *.desktop
files.
actually not all application provide .desktop at least the applications i mentioned in the question.
â Sathish Kanna
1 hour ago
Usually many applications were installed by APT. If you have installed software with Snap, AppImage, Ubuntu Make, FlatPak, compiled them from source code - then you should find them manually :)
â N0rbert
1 hour ago
add a comment |Â
up vote
0
down vote
Generally, that's difficult to determine. The other answers aren't addressing that command line apps also may have .desktop files or GUI apps may not provide a . desktop file. Besides there's no guarantee an app referenced in the .desktop file still exists on the system( you'd have to run it to know or check Exec= line for existing path). Thus it's a poor criteria.
What can be done, however is ask a better question. What apps depend on GUI ? That can be found with apt-cache rdepends 'package or lib'
. For instance, apt-cache rdepends libappindicator
will show packages that have that lib as dependency and probably provide such applet.
But also to be fair, a terminal app may also interface with GUI without actually having a GUI interface. If your goal to find apps with GUI front-end seek apps that depend on Gtk or Qt libraries
Of course, it also depends of whether package maintainer properly provided dependency description for their package. For standard Ubuntu repositories that's OK. For external PPA that depends on the developers and maintainers.
$ apt-cache rdepends libappindicator
returnsE: No packages found
, but searching forlibappindicator*
does find the version I've got installed (and the other 6 I don't), but the reverse depends it lists mostly aren't installed either. Sounds like it's on the right track though
â Xen2050
7 mins ago
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
Try searching for all the .desktop files, Gnome's Developer website calls them the "registered set of applications that users can run" and they're almost always GUI programs.
This answer (How can I find *.desktop files?) says you could just search everywhere for .desktop files with
find / -name '*.desktop'
Or they're probably only in /usr/share/applications/
and ~/.local/share/applications
so just looking there might be sufficient.
almost always isn't a very good criteria. Python has .desktop file, byobu does too. These aren't GUI programs, and in fact command line apps may stateTerminal=True
in . desktop file to open default terminal. A .desktop file != GUI app
â Sergiy Kolodyazhnyy
26 mins ago
add a comment |Â
up vote
2
down vote
Try searching for all the .desktop files, Gnome's Developer website calls them the "registered set of applications that users can run" and they're almost always GUI programs.
This answer (How can I find *.desktop files?) says you could just search everywhere for .desktop files with
find / -name '*.desktop'
Or they're probably only in /usr/share/applications/
and ~/.local/share/applications
so just looking there might be sufficient.
almost always isn't a very good criteria. Python has .desktop file, byobu does too. These aren't GUI programs, and in fact command line apps may stateTerminal=True
in . desktop file to open default terminal. A .desktop file != GUI app
â Sergiy Kolodyazhnyy
26 mins ago
add a comment |Â
up vote
2
down vote
up vote
2
down vote
Try searching for all the .desktop files, Gnome's Developer website calls them the "registered set of applications that users can run" and they're almost always GUI programs.
This answer (How can I find *.desktop files?) says you could just search everywhere for .desktop files with
find / -name '*.desktop'
Or they're probably only in /usr/share/applications/
and ~/.local/share/applications
so just looking there might be sufficient.
Try searching for all the .desktop files, Gnome's Developer website calls them the "registered set of applications that users can run" and they're almost always GUI programs.
This answer (How can I find *.desktop files?) says you could just search everywhere for .desktop files with
find / -name '*.desktop'
Or they're probably only in /usr/share/applications/
and ~/.local/share/applications
so just looking there might be sufficient.
answered 1 hour ago
Xen2050
6,55912142
6,55912142
almost always isn't a very good criteria. Python has .desktop file, byobu does too. These aren't GUI programs, and in fact command line apps may stateTerminal=True
in . desktop file to open default terminal. A .desktop file != GUI app
â Sergiy Kolodyazhnyy
26 mins ago
add a comment |Â
almost always isn't a very good criteria. Python has .desktop file, byobu does too. These aren't GUI programs, and in fact command line apps may stateTerminal=True
in . desktop file to open default terminal. A .desktop file != GUI app
â Sergiy Kolodyazhnyy
26 mins ago
almost always isn't a very good criteria. Python has .desktop file, byobu does too. These aren't GUI programs, and in fact command line apps may state
Terminal=True
in . desktop file to open default terminal. A .desktop file != GUI appâ Sergiy Kolodyazhnyy
26 mins ago
almost always isn't a very good criteria. Python has .desktop file, byobu does too. These aren't GUI programs, and in fact command line apps may state
Terminal=True
in . desktop file to open default terminal. A .desktop file != GUI appâ Sergiy Kolodyazhnyy
26 mins ago
add a comment |Â
up vote
1
down vote
As compliment to the @Xen2050 answer you can determine exact package names of the deb-packages (so they are known to APT) having *.desktop
files with this one-liner:
dpkg --search '*.desktop' | awk 'print $1' | sed "s/://" | sort --unique
In the command above:
dpkg --search '*.desktop'
will search for packages having*.desktop
files;|
is redirect from output of previous command to the input of next command;awk 'print $1'
will print first column of search result (usually in formplank: /usr/share/applications/plank.desktop
- so you will getplank:
);sed "s/://"
will remove unnecessary:
from package name (you will getplank
here);sort --unique
will sort the results and remove duplicates from them.
On my Ubuntu 16.04.5 LTS it returns about 347 unique package names.
If you have installed some software to the home folder - then you can use command below
find ~ -name '*.desktop'
or more precise
find ~/.local/share/applications/ '*.desktop'
to find their *.desktop
files.
actually not all application provide .desktop at least the applications i mentioned in the question.
â Sathish Kanna
1 hour ago
Usually many applications were installed by APT. If you have installed software with Snap, AppImage, Ubuntu Make, FlatPak, compiled them from source code - then you should find them manually :)
â N0rbert
1 hour ago
add a comment |Â
up vote
1
down vote
As compliment to the @Xen2050 answer you can determine exact package names of the deb-packages (so they are known to APT) having *.desktop
files with this one-liner:
dpkg --search '*.desktop' | awk 'print $1' | sed "s/://" | sort --unique
In the command above:
dpkg --search '*.desktop'
will search for packages having*.desktop
files;|
is redirect from output of previous command to the input of next command;awk 'print $1'
will print first column of search result (usually in formplank: /usr/share/applications/plank.desktop
- so you will getplank:
);sed "s/://"
will remove unnecessary:
from package name (you will getplank
here);sort --unique
will sort the results and remove duplicates from them.
On my Ubuntu 16.04.5 LTS it returns about 347 unique package names.
If you have installed some software to the home folder - then you can use command below
find ~ -name '*.desktop'
or more precise
find ~/.local/share/applications/ '*.desktop'
to find their *.desktop
files.
actually not all application provide .desktop at least the applications i mentioned in the question.
â Sathish Kanna
1 hour ago
Usually many applications were installed by APT. If you have installed software with Snap, AppImage, Ubuntu Make, FlatPak, compiled them from source code - then you should find them manually :)
â N0rbert
1 hour ago
add a comment |Â
up vote
1
down vote
up vote
1
down vote
As compliment to the @Xen2050 answer you can determine exact package names of the deb-packages (so they are known to APT) having *.desktop
files with this one-liner:
dpkg --search '*.desktop' | awk 'print $1' | sed "s/://" | sort --unique
In the command above:
dpkg --search '*.desktop'
will search for packages having*.desktop
files;|
is redirect from output of previous command to the input of next command;awk 'print $1'
will print first column of search result (usually in formplank: /usr/share/applications/plank.desktop
- so you will getplank:
);sed "s/://"
will remove unnecessary:
from package name (you will getplank
here);sort --unique
will sort the results and remove duplicates from them.
On my Ubuntu 16.04.5 LTS it returns about 347 unique package names.
If you have installed some software to the home folder - then you can use command below
find ~ -name '*.desktop'
or more precise
find ~/.local/share/applications/ '*.desktop'
to find their *.desktop
files.
As compliment to the @Xen2050 answer you can determine exact package names of the deb-packages (so they are known to APT) having *.desktop
files with this one-liner:
dpkg --search '*.desktop' | awk 'print $1' | sed "s/://" | sort --unique
In the command above:
dpkg --search '*.desktop'
will search for packages having*.desktop
files;|
is redirect from output of previous command to the input of next command;awk 'print $1'
will print first column of search result (usually in formplank: /usr/share/applications/plank.desktop
- so you will getplank:
);sed "s/://"
will remove unnecessary:
from package name (you will getplank
here);sort --unique
will sort the results and remove duplicates from them.
On my Ubuntu 16.04.5 LTS it returns about 347 unique package names.
If you have installed some software to the home folder - then you can use command below
find ~ -name '*.desktop'
or more precise
find ~/.local/share/applications/ '*.desktop'
to find their *.desktop
files.
edited 1 hour ago
answered 1 hour ago
N0rbert
18.3k43886
18.3k43886
actually not all application provide .desktop at least the applications i mentioned in the question.
â Sathish Kanna
1 hour ago
Usually many applications were installed by APT. If you have installed software with Snap, AppImage, Ubuntu Make, FlatPak, compiled them from source code - then you should find them manually :)
â N0rbert
1 hour ago
add a comment |Â
actually not all application provide .desktop at least the applications i mentioned in the question.
â Sathish Kanna
1 hour ago
Usually many applications were installed by APT. If you have installed software with Snap, AppImage, Ubuntu Make, FlatPak, compiled them from source code - then you should find them manually :)
â N0rbert
1 hour ago
actually not all application provide .desktop at least the applications i mentioned in the question.
â Sathish Kanna
1 hour ago
actually not all application provide .desktop at least the applications i mentioned in the question.
â Sathish Kanna
1 hour ago
Usually many applications were installed by APT. If you have installed software with Snap, AppImage, Ubuntu Make, FlatPak, compiled them from source code - then you should find them manually :)
â N0rbert
1 hour ago
Usually many applications were installed by APT. If you have installed software with Snap, AppImage, Ubuntu Make, FlatPak, compiled them from source code - then you should find them manually :)
â N0rbert
1 hour ago
add a comment |Â
up vote
0
down vote
Generally, that's difficult to determine. The other answers aren't addressing that command line apps also may have .desktop files or GUI apps may not provide a . desktop file. Besides there's no guarantee an app referenced in the .desktop file still exists on the system( you'd have to run it to know or check Exec= line for existing path). Thus it's a poor criteria.
What can be done, however is ask a better question. What apps depend on GUI ? That can be found with apt-cache rdepends 'package or lib'
. For instance, apt-cache rdepends libappindicator
will show packages that have that lib as dependency and probably provide such applet.
But also to be fair, a terminal app may also interface with GUI without actually having a GUI interface. If your goal to find apps with GUI front-end seek apps that depend on Gtk or Qt libraries
Of course, it also depends of whether package maintainer properly provided dependency description for their package. For standard Ubuntu repositories that's OK. For external PPA that depends on the developers and maintainers.
$ apt-cache rdepends libappindicator
returnsE: No packages found
, but searching forlibappindicator*
does find the version I've got installed (and the other 6 I don't), but the reverse depends it lists mostly aren't installed either. Sounds like it's on the right track though
â Xen2050
7 mins ago
add a comment |Â
up vote
0
down vote
Generally, that's difficult to determine. The other answers aren't addressing that command line apps also may have .desktop files or GUI apps may not provide a . desktop file. Besides there's no guarantee an app referenced in the .desktop file still exists on the system( you'd have to run it to know or check Exec= line for existing path). Thus it's a poor criteria.
What can be done, however is ask a better question. What apps depend on GUI ? That can be found with apt-cache rdepends 'package or lib'
. For instance, apt-cache rdepends libappindicator
will show packages that have that lib as dependency and probably provide such applet.
But also to be fair, a terminal app may also interface with GUI without actually having a GUI interface. If your goal to find apps with GUI front-end seek apps that depend on Gtk or Qt libraries
Of course, it also depends of whether package maintainer properly provided dependency description for their package. For standard Ubuntu repositories that's OK. For external PPA that depends on the developers and maintainers.
$ apt-cache rdepends libappindicator
returnsE: No packages found
, but searching forlibappindicator*
does find the version I've got installed (and the other 6 I don't), but the reverse depends it lists mostly aren't installed either. Sounds like it's on the right track though
â Xen2050
7 mins ago
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Generally, that's difficult to determine. The other answers aren't addressing that command line apps also may have .desktop files or GUI apps may not provide a . desktop file. Besides there's no guarantee an app referenced in the .desktop file still exists on the system( you'd have to run it to know or check Exec= line for existing path). Thus it's a poor criteria.
What can be done, however is ask a better question. What apps depend on GUI ? That can be found with apt-cache rdepends 'package or lib'
. For instance, apt-cache rdepends libappindicator
will show packages that have that lib as dependency and probably provide such applet.
But also to be fair, a terminal app may also interface with GUI without actually having a GUI interface. If your goal to find apps with GUI front-end seek apps that depend on Gtk or Qt libraries
Of course, it also depends of whether package maintainer properly provided dependency description for their package. For standard Ubuntu repositories that's OK. For external PPA that depends on the developers and maintainers.
Generally, that's difficult to determine. The other answers aren't addressing that command line apps also may have .desktop files or GUI apps may not provide a . desktop file. Besides there's no guarantee an app referenced in the .desktop file still exists on the system( you'd have to run it to know or check Exec= line for existing path). Thus it's a poor criteria.
What can be done, however is ask a better question. What apps depend on GUI ? That can be found with apt-cache rdepends 'package or lib'
. For instance, apt-cache rdepends libappindicator
will show packages that have that lib as dependency and probably provide such applet.
But also to be fair, a terminal app may also interface with GUI without actually having a GUI interface. If your goal to find apps with GUI front-end seek apps that depend on Gtk or Qt libraries
Of course, it also depends of whether package maintainer properly provided dependency description for their package. For standard Ubuntu repositories that's OK. For external PPA that depends on the developers and maintainers.
edited 12 mins ago
answered 20 mins ago
Sergiy Kolodyazhnyy
67.4k9137300
67.4k9137300
$ apt-cache rdepends libappindicator
returnsE: No packages found
, but searching forlibappindicator*
does find the version I've got installed (and the other 6 I don't), but the reverse depends it lists mostly aren't installed either. Sounds like it's on the right track though
â Xen2050
7 mins ago
add a comment |Â
$ apt-cache rdepends libappindicator
returnsE: No packages found
, but searching forlibappindicator*
does find the version I've got installed (and the other 6 I don't), but the reverse depends it lists mostly aren't installed either. Sounds like it's on the right track though
â Xen2050
7 mins ago
$ apt-cache rdepends libappindicator
returns E: No packages found
, but searching for libappindicator*
does find the version I've got installed (and the other 6 I don't), but the reverse depends it lists mostly aren't installed either. Sounds like it's on the right track thoughâ Xen2050
7 mins ago
$ apt-cache rdepends libappindicator
returns E: No packages found
, but searching for libappindicator*
does find the version I've got installed (and the other 6 I don't), but the reverse depends it lists mostly aren't installed either. Sounds like it's on the right track thoughâ Xen2050
7 mins ago
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1091235%2fhow-to-get-the-list-of-all-application-installed-which-has-gui%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What would you search for specifically? Packages that have some type of display as a dependency? Or just try searching for all .desktop files?
â Xen2050
2 hours ago
I'm searching for installed application name. i thought all application would have .desktop so i used find '/usr/share/applications/' -type f -iname '*.desktop' to search for application
â Sathish Kanna
2 hours ago
It seems that gui programs mostly have .desktop files, terminal programs (like the coreutils) don't usually bother. If searching for those files worked, I might as well post it as an answer
â Xen2050
1 hour ago
actually i tried /home/ and /usr/ searching for .desktop i haven't got few applications.
â Sathish Kanna
1 hour ago
wouldn't that be easy to find the folder or file that is used by the 'Show Applications' menu to get all the applications listed in it.
â Sathish Kanna
1 hour ago