How to get the list of all application installed which has GUI?









up vote
3
down vote

favorite
2












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.










share|improve this question























  • 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















up vote
3
down vote

favorite
2












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.










share|improve this question























  • 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













up vote
3
down vote

favorite
2









up vote
3
down vote

favorite
2






2





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.










share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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

















  • 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











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"





share|improve this answer


















  • 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










  • @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

















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 form plank: /usr/share/applications/plank.desktop - so you will get plank:);


  • sed "s/://" will remove unnecessary : from package name (you will get plank 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.






share|improve this answer






















  • 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

















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.






share|improve this answer






















  • $ 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










  • 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










Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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

























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"





share|improve this answer


















  • 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










  • @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














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"





share|improve this answer


















  • 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










  • @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












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"





share|improve this answer














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"






share|improve this answer














share|improve this answer



share|improve this answer








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 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










  • 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




    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










  • 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












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 form plank: /usr/share/applications/plank.desktop - so you will get plank:);


  • sed "s/://" will remove unnecessary : from package name (you will get plank 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.






share|improve this answer






















  • 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














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 form plank: /usr/share/applications/plank.desktop - so you will get plank:);


  • sed "s/://" will remove unnecessary : from package name (you will get plank 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.






share|improve this answer






















  • 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












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 form plank: /usr/share/applications/plank.desktop - so you will get plank:);


  • sed "s/://" will remove unnecessary : from package name (you will get plank 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.






share|improve this answer














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 form plank: /usr/share/applications/plank.desktop - so you will get plank:);


  • sed "s/://" will remove unnecessary : from package name (you will get plank 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.







share|improve this answer














share|improve this answer



share|improve this answer








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
















  • 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










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.






share|improve this answer






















  • $ 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










  • 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














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.






share|improve this answer






















  • $ 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










  • 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












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.






share|improve this answer














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.







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 8 at 22:31

























answered Nov 8 at 22:24









Sergiy Kolodyazhnyy

67.8k9140301




67.8k9140301











  • $ 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










  • 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










  • @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

















 

draft saved


draft discarded















































 


draft saved


draft discarded














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





















































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







Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)