LinuxQuestions.org
Help answer threads with 0 replies.
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 05-16-2006, 02:33 PM   #1
elconde
Member
 
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
macemoneta
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
elconde
Member
 
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
robertmuil
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: https://github.com/robertmuil/amarok-idle-pause

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

Perhaps it can be useful to you.

Rob.
 
  


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

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

All times are GMT -5. The time now is 05:16 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