Welcome to the most active Linux Forum on the web.
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 03-04-2007, 01:25 AM   #1
Registered: Jan 2004
Location: Lake Bluff, IL
Distribution: Fedora 8
Posts: 117

Rep: Reputation: 15
Question Kill Beryl When Screensaver Activates


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?

Old 03-07-2007, 04:58 AM   #2
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, 06:57 AM   #3
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.

[hayden@localhost ~]$ pgrep beryl
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.


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 01:03 AM
Suddenly KDE always activates OpenOffice jjge Linux - Desktop 4 12-02-2006 05:02 AM
Enlightenment Screensaver --> kill it puk Linux - Software 0 07-04-2004 04:31 PM
eth0 Activates but no internet! benrose111488 Linux - Networking 8 06-21-2004 04:42 PM
eth0 no longer activates during startup zombiedeth Linux - Networking 2 03-03-2004 01:19 AM > Forums > Linux Forums > Linux - Software

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