Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-16-2006, 02:33 PM   #1
Registered: Sep 2001
Location: Cherry Hill, NJ
Distribution: Gentoo baby!
Posts: 67

Rep: Reputation: 15
Idle Time in KDE

How would I find out how much time a user has been idle in KDE? Is there some DCOP command that can give this info? I'd like my music player (amaroK) to pause after an hour of non-activity.
Old 05-17-2006, 11:49 PM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
The w command will list idle time.
Old 05-19-2006, 06:12 AM   #3
Registered: Sep 2001
Location: Cherry Hill, NJ
Distribution: Gentoo baby!
Posts: 67

Original Poster
Rep: Reputation: 15
Thanks. This doesn't show idle time within the display manager, but it shows idle time within any terminal I have open which is good enough.
Old 11-18-2015, 01:21 PM   #4
LQ Newbie
Registered: Nov 2015
Posts: 1

Rep: Reputation: Disabled
Possible solution?

Hi elconde,

Did you manage to do this?

I wanted this functionality also, and couldn't find anything to implement it so I wrote a script to do have Amarok pause on idle:

My idle-detection is just activity in Amarok itself (playlist change, volume change, skip back etc.).

Perhaps it can be useful to you.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How run script after certain idle time? nio Linux - Software 2 07-09-2005 02:05 PM
IDLE time for DSL metallica1973 Linux - Networking 0 02-22-2005 11:06 AM
Gentoo, X locks up after long idle time ksas025 Linux - Hardware 5 11-10-2004 07:11 AM
How to find out idle time at console? redss Linux - General 1 04-26-2004 10:23 PM
Automatic logout because of Idle time palanisaravanan Linux - General 4 10-17-2003 10:51 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:23 PM.

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