Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Using xscreensaver-command with KDE
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Sat Oct 26, 2002 4:55 am    Post subject: Using xscreensaver-command with KDE Reply with quote

I'm trying to do some key-bindings, and I want to turn on the screensaver with a certain keypress. I'm using xbindkeys to run the commands.

The command I need seems to be xscreensaver-command -lock, but running this gives me the error:

Code:
xscreensaver-command: no screensaver is running on display :0.0


I'm using KDE, and I have a screensaver set up and configured. It works fine if I choose "Lock Screen" from the KDE menu. What method could I use?
Back to top
View user's profile Send private message
kkj
n00b
n00b


Joined: 17 Jul 2002
Posts: 52
Location: Denmark, aarhus

PostPosted: Sun Oct 27, 2002 9:30 pm    Post subject: Re: Using xscreensaver-command with KDE Reply with quote

OdinsDream wrote:
I'm trying to do some key-bindings, and I want to turn on the screensaver with a certain keypress. I'm using xbindkeys to run the commands.

The command I need seems to be xscreensaver-command -lock, but running this gives me the error:

Code:
xscreensaver-command: no screensaver is running on display :0.0


I'm using KDE, and I have a screensaver set up and configured. It works fine if I choose "Lock Screen" from the KDE menu. What method could I use?


Hey..
Try running xscreensaver-demo first.....u r code works fine on my PC :)
Back to top
View user's profile Send private message
kkj
n00b
n00b


Joined: 17 Jul 2002
Posts: 52
Location: Denmark, aarhus

PostPosted: Sun Oct 27, 2002 9:31 pm    Post subject: Re: Using xscreensaver-command with KDE Reply with quote

OdinsDream wrote:
I'm trying to do some key-bindings, and I want to turn on the screensaver with a certain keypress. I'm using xbindkeys to run the commands.

The command I need seems to be xscreensaver-command -lock, but running this gives me the error:

Code:
xscreensaver-command: no screensaver is running on display :0.0


I'm using KDE, and I have a screensaver set up and configured. It works fine if I choose "Lock Screen" from the KDE menu. What method could I use?


Hey..
Run
Code:
 xscreensaver-demo
first.....u r code works fine on my PC :)
Back to top
View user's profile Send private message
maKKus
Guru
Guru


Joined: 07 Aug 2002
Posts: 356
Location: /Universe/Milky Way/Sol/Earth/Europe/EEC/The Netherlands/Limburg/Beek/Neerbeek

PostPosted: Mon Oct 28, 2002 7:41 am    Post subject: Reply with quote

KDE seems to have its own screensaver variant (like everything, probably named kscreensaver :wink: ) so xscreensaver-command will not work,
Back to top
View user's profile Send private message
kkj
n00b
n00b


Joined: 17 Jul 2002
Posts: 52
Location: Denmark, aarhus

PostPosted: Mon Oct 28, 2002 7:22 pm    Post subject: Reply with quote

maKKus wrote:
KDE seems to have its own screensaver variant (like everything, probably named kscreensaver :wink: ) so xscreensaver-command will not work,

Just disable the kde screensaver ( in the kde control-panel ) , then it will work...... :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum