Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want software that gives me the choice to list the apps on my machine by least used or most used.
Might be a command line entry. Might be a way to click the 'Menu/All Applications' and have all listed as the most used.
Linux Mint Cinnamon 19
I usually launch applications from GUI
I have been using the Terminal more. I am still a novice.
There must be some command line entries that would give me my list of apps from most used to least used.
Thank You!
Last edited by StephenHart; 08-09-2018 at 03:08 PM.
Reason: to make thins clearer
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,500
Rep:
Some package managers have that kind of feature, I think I came across one a while back, but can't remember, it was a GUI version, I normally use the command line for package management.
I want software that gives me the choice to list the apps on my machine by least used or most used. Might be a command line entry. Might be a way to click the 'Menu/All Applications' and have all listed as the most used.
Without knowing your version/distro of Linux, what desktop GUI you're using, or how you're launching your apps, there's not much we can offer in the way of advice. Wouldn't be too hard to write a simple one-liner script to give you the top 10/20 commands you've entered, but that'll only work for apps launched from the CLI.
Code:
history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10
(replace the -n10 with whatever number of commands you want to see)
If you're using KDE, the Excalibur launcher will keep track of your most recently used apps. Gnome's launcher should also keep track of recently used programs as well.
i suspect the gnome desktop environment with its zeitgeist framework might provide something like that. no clue how to use that though; for me one of the reasons to use linux is that it doesn't collect this sort of statistical information.
terminal commands probably go separately; there's some oneliners floating around to list most used commands.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.