LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 07-29-2018, 02:48 PM   #1
StephenHart
LQ Newbie
 
Registered: Mar 2018
Posts: 1

Rep: Reputation: Disabled
list applications by least used / most used


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
 
Old 07-30-2018, 05:40 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,500

Rep: Reputation: Disabled
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.
 
Old 07-30-2018, 01:20 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Hello and welcome to LQ.

I've never heard of that but maybe one could create some program or cron task to monitor and watch a set of programs? There maybe one out there.
 
Old 07-30-2018, 02:38 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,657

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by StephenHart View Post
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.

Last edited by TB0ne; 07-30-2018 at 02:44 PM.
 
Old 08-01-2018, 07:42 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Get list of recently or most-used applications action_owl Programming 1 12-05-2010 11:09 PM
Modifying /usr/share/applications/default.list (Or: setting default applications) arizonagroovejet Linux - Desktop 0 06-02-2010 04:19 AM
Get Installed applications list and applications activity arunarora Linux - Software 1 05-26-2009 08:33 PM
List of installed applications kumarnarain Linux - Software 2 08-14-2006 10:40 AM
List running applications 3saul Linux - Software 2 02-15-2006 01:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration