How to get the list of all application installed which has GUI?
up vote
3
down vote
favorite
I want a list of all installed application which have a GUI. To be clear, At least all the applications that are listed in Show Applications.
I tried several commands like apt list --installed
, dpkg -l
, find '*.desktop'
to get the list of all installed application which all ended up missing some applications (like Android Studio, b1freearchiver, pyCharm, etc.)
Wouldn't there be a way to find the folder or file that is used by the Show Applications menu to get all the applications listed in it.
I'm running Ubuntu 18.04 desktop.
apt package-management python application-development gui
add a comment |
up vote
3
down vote
favorite
I want a list of all installed application which have a GUI. To be clear, At least all the applications that are listed in Show Applications.
I tried several commands like apt list --installed
, dpkg -l
, find '*.desktop'
to get the list of all installed application which all ended up missing some applications (like Android Studio, b1freearchiver, pyCharm, etc.)
Wouldn't there be a way to find the folder or file that is used by the Show Applications menu to get all the applications listed in it.
I'm running Ubuntu 18.04 desktop.
apt package-management python application-development gui
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
Nov 8 at 20:12
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
Nov 8 at 20:35
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
Nov 8 at 20:44
actually i tried /home/ and /usr/ searching for .desktop i haven't got few applications.
– Sathish Kanna
Nov 8 at 20:55
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I want a list of all installed application which have a GUI. To be clear, At least all the applications that are listed in Show Applications.
I tried several commands like apt list --installed
, dpkg -l
, find '*.desktop'
to get the list of all installed application which all ended up missing some applications (like Android Studio, b1freearchiver, pyCharm, etc.)
Wouldn't there be a way to find the folder or file that is used by the Show Applications menu to get all the applications listed in it.
I'm running Ubuntu 18.04 desktop.
apt package-management python application-development gui
I want a list of all installed application which have a GUI. To be clear, At least all the applications that are listed in Show Applications.
I tried several commands like apt list --installed
, dpkg -l
, find '*.desktop'
to get the list of all installed application which all ended up missing some applications (like Android Studio, b1freearchiver, pyCharm, etc.)
Wouldn't there be a way to find the folder or file that is used by the Show Applications menu to get all the applications listed in it.
I'm running Ubuntu 18.04 desktop.
apt package-management python application-development gui
apt package-management python application-development gui
edited Nov 16 at 8:21
asked Nov 8 at 19:58
Sathish Kanna
988
988
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
Nov 8 at 20:12
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
Nov 8 at 20:35
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
Nov 8 at 20:44
actually i tried /home/ and /usr/ searching for .desktop i haven't got few applications.
– Sathish Kanna
Nov 8 at 20:55
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
Nov 8 at 20:12
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
Nov 8 at 20:35
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
Nov 8 at 20:44
actually i tried /home/ and /usr/ searching for .desktop i haven't got few applications.
– Sathish Kanna
Nov 8 at 20:55
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
Nov 8 at 20:12
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
Nov 8 at 20:12
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
Nov 8 at 20:35
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
Nov 8 at 20:35
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
Nov 8 at 20:44
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
Nov 8 at 20:44
actually i tried /home/ and /usr/ searching for .desktop i haven't got few applications.
– Sathish Kanna
Nov 8 at 20:55
actually i tried /home/ and /usr/ searching for .desktop i haven't got few applications.
– Sathish Kanna
Nov 8 at 20:55
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 in those should be sufficient:
find /usr/share/applications ~/.local/share/applications -name '*.desktop'
If you specifically want to exclude terminal programs (even if they have a terminal GUI like htop), you could append these commands to a search above:
... -print0 |xargs -0 grep -i -l "Terminal=False"
1
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
Nov 8 at 22:17
@SergiyKolodyazhnyy a modified search to avoid "Terminal=True" files would befind / -name '*.desktop' -print0 |xargs -0 grep -i -l "Terminal=True"
but that would exclude matching htop, Midnight Commander, and a few others that have "terminal" GUI's. But a "good" desktop program should really follow the freedesktop standaards & "register" a .desktop file, shouldn't they?
– Xen2050
Nov 8 at 22:50
I agree, they should, but that doesn't mean they necessarily will, especially anything installed from non-standard repository.
– Sergiy Kolodyazhnyy
Nov 8 at 22:57
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
Nov 8 at 21:25
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
Nov 8 at 21:29
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
Nov 8 at 22:37
@Xen2050 The package name libappindicator is written on phone and from memory, so it may not be exactly correct. The point still stands, though. Look for what needs GUI not look for GUI
– Sergiy Kolodyazhnyy
Nov 8 at 22:45
The apt-cache option--installed
should "Limit the output of depends and rdepends to packages which are currently installed" which should help. I'm just not sure which package(s) to search, libappindicator* only rdepends on other libappindicator packages for my xfce. Even xorg says it's a dependency of xfce4, but that's just a metapackage I happen to not have installed, despite having almost all the other xfce4 pakages. Tricky
– Xen2050
Nov 8 at 23:10
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 in those should be sufficient:
find /usr/share/applications ~/.local/share/applications -name '*.desktop'
If you specifically want to exclude terminal programs (even if they have a terminal GUI like htop), you could append these commands to a search above:
... -print0 |xargs -0 grep -i -l "Terminal=False"
1
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
Nov 8 at 22:17
@SergiyKolodyazhnyy a modified search to avoid "Terminal=True" files would befind / -name '*.desktop' -print0 |xargs -0 grep -i -l "Terminal=True"
but that would exclude matching htop, Midnight Commander, and a few others that have "terminal" GUI's. But a "good" desktop program should really follow the freedesktop standaards & "register" a .desktop file, shouldn't they?
– Xen2050
Nov 8 at 22:50
I agree, they should, but that doesn't mean they necessarily will, especially anything installed from non-standard repository.
– Sergiy Kolodyazhnyy
Nov 8 at 22:57
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 in those should be sufficient:
find /usr/share/applications ~/.local/share/applications -name '*.desktop'
If you specifically want to exclude terminal programs (even if they have a terminal GUI like htop), you could append these commands to a search above:
... -print0 |xargs -0 grep -i -l "Terminal=False"
1
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
Nov 8 at 22:17
@SergiyKolodyazhnyy a modified search to avoid "Terminal=True" files would befind / -name '*.desktop' -print0 |xargs -0 grep -i -l "Terminal=True"
but that would exclude matching htop, Midnight Commander, and a few others that have "terminal" GUI's. But a "good" desktop program should really follow the freedesktop standaards & "register" a .desktop file, shouldn't they?
– Xen2050
Nov 8 at 22:50
I agree, they should, but that doesn't mean they necessarily will, especially anything installed from non-standard repository.
– Sergiy Kolodyazhnyy
Nov 8 at 22:57
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 in those should be sufficient:
find /usr/share/applications ~/.local/share/applications -name '*.desktop'
If you specifically want to exclude terminal programs (even if they have a terminal GUI like htop), you could append these commands to a search above:
... -print0 |xargs -0 grep -i -l "Terminal=False"
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 in those should be sufficient:
find /usr/share/applications ~/.local/share/applications -name '*.desktop'
If you specifically want to exclude terminal programs (even if they have a terminal GUI like htop), you could append these commands to a search above:
... -print0 |xargs -0 grep -i -l "Terminal=False"
edited Nov 8 at 22:58
answered Nov 8 at 20:49
Xen2050
6,61712142
6,61712142
1
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
Nov 8 at 22:17
@SergiyKolodyazhnyy a modified search to avoid "Terminal=True" files would befind / -name '*.desktop' -print0 |xargs -0 grep -i -l "Terminal=True"
but that would exclude matching htop, Midnight Commander, and a few others that have "terminal" GUI's. But a "good" desktop program should really follow the freedesktop standaards & "register" a .desktop file, shouldn't they?
– Xen2050
Nov 8 at 22:50
I agree, they should, but that doesn't mean they necessarily will, especially anything installed from non-standard repository.
– Sergiy Kolodyazhnyy
Nov 8 at 22:57
add a comment |
1
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
Nov 8 at 22:17
@SergiyKolodyazhnyy a modified search to avoid "Terminal=True" files would befind / -name '*.desktop' -print0 |xargs -0 grep -i -l "Terminal=True"
but that would exclude matching htop, Midnight Commander, and a few others that have "terminal" GUI's. But a "good" desktop program should really follow the freedesktop standaards & "register" a .desktop file, shouldn't they?
– Xen2050
Nov 8 at 22:50
I agree, they should, but that doesn't mean they necessarily will, especially anything installed from non-standard repository.
– Sergiy Kolodyazhnyy
Nov 8 at 22:57
1
1
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
Nov 8 at 22:17
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
Nov 8 at 22:17
@SergiyKolodyazhnyy a modified search to avoid "Terminal=True" files would be
find / -name '*.desktop' -print0 |xargs -0 grep -i -l "Terminal=True"
but that would exclude matching htop, Midnight Commander, and a few others that have "terminal" GUI's. But a "good" desktop program should really follow the freedesktop standaards & "register" a .desktop file, shouldn't they?– Xen2050
Nov 8 at 22:50
@SergiyKolodyazhnyy a modified search to avoid "Terminal=True" files would be
find / -name '*.desktop' -print0 |xargs -0 grep -i -l "Terminal=True"
but that would exclude matching htop, Midnight Commander, and a few others that have "terminal" GUI's. But a "good" desktop program should really follow the freedesktop standaards & "register" a .desktop file, shouldn't they?– Xen2050
Nov 8 at 22:50
I agree, they should, but that doesn't mean they necessarily will, especially anything installed from non-standard repository.
– Sergiy Kolodyazhnyy
Nov 8 at 22:57
I agree, they should, but that doesn't mean they necessarily will, especially anything installed from non-standard repository.
– Sergiy Kolodyazhnyy
Nov 8 at 22:57
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
Nov 8 at 21:25
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
Nov 8 at 21:29
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
Nov 8 at 21:25
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
Nov 8 at 21:29
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 Nov 8 at 21:30
answered Nov 8 at 21:14
N0rbert
19.5k54290
19.5k54290
actually not all application provide .desktop at least the applications i mentioned in the question.
– Sathish Kanna
Nov 8 at 21:25
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
Nov 8 at 21:29
add a comment |
actually not all application provide .desktop at least the applications i mentioned in the question.
– Sathish Kanna
Nov 8 at 21:25
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
Nov 8 at 21:29
actually not all application provide .desktop at least the applications i mentioned in the question.
– Sathish Kanna
Nov 8 at 21:25
actually not all application provide .desktop at least the applications i mentioned in the question.
– Sathish Kanna
Nov 8 at 21:25
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
Nov 8 at 21:29
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
Nov 8 at 21:29
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
Nov 8 at 22:37
@Xen2050 The package name libappindicator is written on phone and from memory, so it may not be exactly correct. The point still stands, though. Look for what needs GUI not look for GUI
– Sergiy Kolodyazhnyy
Nov 8 at 22:45
The apt-cache option--installed
should "Limit the output of depends and rdepends to packages which are currently installed" which should help. I'm just not sure which package(s) to search, libappindicator* only rdepends on other libappindicator packages for my xfce. Even xorg says it's a dependency of xfce4, but that's just a metapackage I happen to not have installed, despite having almost all the other xfce4 pakages. Tricky
– Xen2050
Nov 8 at 23:10
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
Nov 8 at 22:37
@Xen2050 The package name libappindicator is written on phone and from memory, so it may not be exactly correct. The point still stands, though. Look for what needs GUI not look for GUI
– Sergiy Kolodyazhnyy
Nov 8 at 22:45
The apt-cache option--installed
should "Limit the output of depends and rdepends to packages which are currently installed" which should help. I'm just not sure which package(s) to search, libappindicator* only rdepends on other libappindicator packages for my xfce. Even xorg says it's a dependency of xfce4, but that's just a metapackage I happen to not have installed, despite having almost all the other xfce4 pakages. Tricky
– Xen2050
Nov 8 at 23:10
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 Nov 8 at 22:31
answered Nov 8 at 22:24
Sergiy Kolodyazhnyy
67.8k9140301
67.8k9140301
$ 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
Nov 8 at 22:37
@Xen2050 The package name libappindicator is written on phone and from memory, so it may not be exactly correct. The point still stands, though. Look for what needs GUI not look for GUI
– Sergiy Kolodyazhnyy
Nov 8 at 22:45
The apt-cache option--installed
should "Limit the output of depends and rdepends to packages which are currently installed" which should help. I'm just not sure which package(s) to search, libappindicator* only rdepends on other libappindicator packages for my xfce. Even xorg says it's a dependency of xfce4, but that's just a metapackage I happen to not have installed, despite having almost all the other xfce4 pakages. Tricky
– Xen2050
Nov 8 at 23:10
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
Nov 8 at 22:37
@Xen2050 The package name libappindicator is written on phone and from memory, so it may not be exactly correct. The point still stands, though. Look for what needs GUI not look for GUI
– Sergiy Kolodyazhnyy
Nov 8 at 22:45
The apt-cache option--installed
should "Limit the output of depends and rdepends to packages which are currently installed" which should help. I'm just not sure which package(s) to search, libappindicator* only rdepends on other libappindicator packages for my xfce. Even xorg says it's a dependency of xfce4, but that's just a metapackage I happen to not have installed, despite having almost all the other xfce4 pakages. Tricky
– Xen2050
Nov 8 at 23:10
$ 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
Nov 8 at 22:37
$ 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
Nov 8 at 22:37
@Xen2050 The package name libappindicator is written on phone and from memory, so it may not be exactly correct. The point still stands, though. Look for what needs GUI not look for GUI
– Sergiy Kolodyazhnyy
Nov 8 at 22:45
@Xen2050 The package name libappindicator is written on phone and from memory, so it may not be exactly correct. The point still stands, though. Look for what needs GUI not look for GUI
– Sergiy Kolodyazhnyy
Nov 8 at 22:45
The apt-cache option
--installed
should "Limit the output of depends and rdepends to packages which are currently installed" which should help. I'm just not sure which package(s) to search, libappindicator* only rdepends on other libappindicator packages for my xfce. Even xorg says it's a dependency of xfce4, but that's just a metapackage I happen to not have installed, despite having almost all the other xfce4 pakages. Tricky– Xen2050
Nov 8 at 23:10
The apt-cache option
--installed
should "Limit the output of depends and rdepends to packages which are currently installed" which should help. I'm just not sure which package(s) to search, libappindicator* only rdepends on other libappindicator packages for my xfce. Even xorg says it's a dependency of xfce4, but that's just a metapackage I happen to not have installed, despite having almost all the other xfce4 pakages. Tricky– Xen2050
Nov 8 at 23:10
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
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
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
Nov 8 at 20:12
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
Nov 8 at 20:35
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
Nov 8 at 20:44
actually i tried /home/ and /usr/ searching for .desktop i haven't got few applications.
– Sathish Kanna
Nov 8 at 20:55