[SOLVED] List of all applications...
Forum rules
Before you post please read how to get help
Before you post please read how to get help
[SOLVED] List of all applications...
Is there an app or command that will give me a list of all applications that are in a Mint Linux Cinnamon install?
Jack
Jack
Last edited by jackerbes on Thu Mar 19, 2020 9:03 am, edited 1 time in total.
Mint 18.3 and 19, 64-bit, Cinnamon, Lenovo ThinkPad T520 laptop, ASUS Z-97 desktop, Samsung S6 Android phone
Jack Erbes in Ellsworth, ME, USA
Jack Erbes in Ellsworth, ME, USA
- JoeFootball
- Level 10
- Posts: 3141
- Joined: Tue Nov 24, 2009 1:52 pm
- Location: /home/usa/mn/minneapolis/joe
Re: List of all applications...
In Software Manager, upper-right menu button, "Show installed applications".jackerbes wrote: Is there an app or command that will give me a list of all applications that are in a Mint Linux Cinnamon install?
Re: List of all applications...
That's a good one!
I don't know why I can't find some of these things...
I googled the question and got this one that is a good choice too:
I'll bet I can send that list to a text file too. Or even just copy it and paste it into one.
Thanks again!
Jack
I don't know why I can't find some of these things...
I googled the question and got this one that is a good choice too:
Code: Select all
jack@jack-T520:~$ dpkg -l
Thanks again!
Jack
Mint 18.3 and 19, 64-bit, Cinnamon, Lenovo ThinkPad T520 laptop, ASUS Z-97 desktop, Samsung S6 Android phone
Jack Erbes in Ellsworth, ME, USA
Jack Erbes in Ellsworth, ME, USA
- JoeFootball
- Level 10
- Posts: 3141
- Joined: Tue Nov 24, 2009 1:52 pm
- Location: /home/usa/mn/minneapolis/joe
Re: List of all applications...
If you're looking for that level of detail, yes indeed.jackerbes wrote: ... this one that is a good choice too
Sure can:jackerbes wrote: I'll bet I can send that list to a text file too.
dpkg -l > apps.txt
Re: List of all applications...
I get a rather short list which includes non-applications like kernels and themes, but doesn't include installed applications like alsamixer or update-grub.JoeFootball wrote: ↑Thu Mar 19, 2020 8:56 amIn Software Manager, upper-right menu button, "Show installed applications".
Edit:
dpkg -l
lists packages, not applications.I use the terminal a lot and often use this script,
W
, to find the name of an application in my path
Code: Select all
$ cat ~/bin/W
#!/bin/bash
#
if [ $# -lt 1 ]
then
echo Usage: `basename $0` pattern
exit 1
fi
echo $PATH | sed 's/^/ls -A /' | sed 's/:/ |grep -i '$1'; ls -A /g' | sed 's/$/ |grep -i '$1'/' | bash | sort
exit 0
Code: Select all
$ W alsa # lists all the applications in PATH with "alsa" in their names
alsa
alsa-info
alsabat
alsabat-test
alsactl
alsaloop
alsamixer
alsatplg
alsaucm
Code: Select all
X a
X b
W a
not X
......etc for all the letters,
sort -u
the output, I get list of 2508 executables in my PATH. dpkg -l
shows 2024 packages (which include non-applications like themes and fonts).
Last edited by Flemur on Thu Apr 16, 2020 3:43 pm, edited 2 times in total.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
Re: [SOLVED] List of all applications...
The depth of your knowledge is inspiring Flemur!
I've spent the last hour trying to learn more about scripts and running scripts.
Is the script you call "W" in a text file named W.txt?
I have so much to learn that I feel like Neanderthal man tying to communicate with a modern genius!
Jack
I've spent the last hour trying to learn more about scripts and running scripts.
Is the script you call "W" in a text file named W.txt?
I have so much to learn that I feel like Neanderthal man tying to communicate with a modern genius!
Jack
Mint 18.3 and 19, 64-bit, Cinnamon, Lenovo ThinkPad T520 laptop, ASUS Z-97 desktop, Samsung S6 Android phone
Jack Erbes in Ellsworth, ME, USA
Jack Erbes in Ellsworth, ME, USA
Re: [SOLVED] List of all applications...
Actually I'm pretty bad at bash scripting and, although I made that 'W' script a couple of years ago, I no longer understand how it works (I learned that when I tried to fix a minor bug - it sometimes lists files in the CWD = current working directory)
You can call the script anything, but call it what you want to run: if you name it
W.txt
, you need to run W.txt
in a terminal...so if it's called W
(or whatever you want), put it in $HOME/bin
and chmod +x ~/bin/W
. If you don't have a $HOME/bin directory, make one first, do the above, then log out/back in to add it to your $PATH. Your .profile file takes care of it...or you could do
Code: Select all
. .profile
Also note the "grep -i" in it: that makes it ignore the case of the commands. I have another one called Ws that doesn't use the -i, so the case matters (it also lists the file size)
Code: Select all
$ Ws W
4 W
4 Wget
4 Which
4 Winetricks
4 Wl
4 Wordpad
4 Ws
Code: Select all
$ Ws grub # list all the commans with lowercase 'grub' in their names, and the file sizes
...
244 grub-mklayout
...
$ ls -l `which grub-mklayout`
-rwxr-xr-x 1 root root 245848 Nov 10 22:52 /usr/bin/grub-mklayout
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
Re: [SOLVED] List of all applications...
A way to get a list of everything (? some are desktop dependent) that's in your desktop menu is just:
but sometimes that filename is different than the executable name, like
Code: Select all
$ ls /usr/share/applications
/usr/share/applications/org.gnome.FileRoller.desktop
tries to Exec=file-roller %U
.Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
Re: [SOLVED] List of all applications...
Not the most elegant but effective single liner for thisFlemur wrote: ↑Thu Mar 19, 2020 12:17 pmA way to get a list of everything (? some are desktop dependent) that's in your desktop menu is just:but sometimes that filename is different than the executable name, likeCode: Select all
$ ls /usr/share/applications
/usr/share/applications/org.gnome.FileRoller.desktop
tries toExec=file-roller %U
.
Code: Select all
for f in $(ls /usr/share/applications); do cat /usr/share/applications/$f | grep -w Exec; done
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.