LinuxQuestions.org
Register a domain and help support LQ
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 03-04-2007, 02:25 AM   #1
sloik2000
Member
 
Registered: Jan 2004
Location: Lake Bluff, IL
Distribution: Fedora 8
Posts: 117

Rep: Reputation: 15
Question Kill Beryl When Screensaver Activates


Hello,

I've had beryl for around a month now, and I love it!
The thing is, it slows down my screensaver... sometimes to the point of lockup.
Is there anyway that I can run a script of some sort to kill beryl whenever the screensaver activates, and restart it when the screensaver is deactivated?

I'm using the standard KDE screensaver. I was thinking of replacing the /usr/bin/kdesktop_lock file with a script... but would that only work for locking the desktop?

Thanks!
 
Old 03-07-2007, 05:58 AM   #2
vangelis
Member
 
Registered: Nov 2004
Location: Hellas
Distribution: Zenwalk 6.4
Posts: 337
Blog Entries: 4

Rep: Reputation: 30
I suppose it could be done with grep-ing the process of beryl and the output to kill, and then after the screensaver stops to run beryl.

Have you tried it manually? Only the blinking of the page is really annoying and takes around 5 seconds to activate beryl and to kill it also. Wouldn't it better to use a blank screensaver maybe? or a 2d one?
 
Old 03-07-2007, 07:57 AM   #3
sloik2000
Member
 
Registered: Jan 2004
Location: Lake Bluff, IL
Distribution: Fedora 8
Posts: 117

Original Poster
Rep: Reputation: 15
Yes, I've done it manually. It's just that some of my screensavers run slow...

I like my screensaver, I don't really want a blank one.

Code:
[hayden@localhost ~]$ pgrep beryl
3600
So that's how I can get the PID. But how do I go about writing the script to kill that? Also, how do I get that script to run when the screensaver comes up? I'm using the KDE slideshow screensaver.
 
  


Reply

Tags
beryl, kill, lock, screensaver, script


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
FC6 GNOME + Beryl + gnome-screensaver focus issue rhoekstra Fedora 3 01-09-2007 02:03 AM
Suddenly KDE always activates OpenOffice jjge Linux - Desktop 4 12-02-2006 06:02 AM
Enlightenment Screensaver --> kill it puk Linux - Software 0 07-04-2004 05:31 PM
eth0 Activates but no internet! benrose111488 Linux - Networking 8 06-21-2004 05:42 PM
eth0 no longer activates during startup zombiedeth Linux - Networking 2 03-03-2004 02:19 AM


All times are GMT -5. The time now is 02:36 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration