LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-09-2014, 08:48 PM   #1
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Fedora and the KDE Screensaver reset/glitch


I'm following this tutorial in the hope to fix the KDE Screensaver issue. The instruction for KDE is about 1/2 way down the page.
http://www.jwz.org/xscreensaver/man1.html

Each time I boot up Fedora I have to consistently reset the screensaver. (not sure why that's happening)

For some reason (maybe the instruction is old?) Appearance & Themes are not in the KDE Control Module. General, Fonts and stylesheets are the only options. UNchecking "start automatically" doesn't exist.

I also looked in Screensaver under advanced preferences-
Not there either.

BTW, this machine is not mine to make this adjustment so that's one of the reasons I have asked for help.

Aside from following the instructions that don't apply to what I am working with; is there another way to set the screensaver permanently?

Thanks in advance-
 
Old 07-09-2014, 11:40 PM   #2
kentyler
Member
 
Registered: Dec 2008
Location: Newark Ohio
Distribution: Fedora Core
Posts: 270

Rep: Reputation: 38
When you say reset do you mean the timeout or type and or both? There may be some screen saver swapping thing that cycles thru them on a cron job but since I haven't played with FC20 yet it's just a guess.

Look at the config file timestamp. If you have to chattr +i the file and it won't be able to even as root.
 
Old 07-09-2014, 11:54 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,639

Rep: Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653
as i recall for Gnome3 and kde
getting the gtk2 based xscreensaver custom settings to work requires making a custom config file for the ones you want

however it has been some time since i used them
if i leave the machine running and i am away i tend to be running a LONG running program that is using all the CPU cores or all the GPU cores and almost all the ram and swap

and i normally do not want the screen saver eating up cpu/gpu cycles with a 2 to 4 hour long run
 
Old 07-10-2014, 07:56 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528

Original Poster
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by kentyler View Post
When you say reset do you mean the timeout or type and or both? There may be some screen saver swapping thing that cycles thru them on a cron job but since I haven't played with FC20 yet it's just a guess.

Look at the config file timestamp. If you have to chattr +i the file and it won't be able to even as root.
By reset I mean I have to go to the Applications menu and select 'screensaver'.
Upon doing so, I get a message something like you do not have the screensaver set at this time do you want to set it? I say yes but at the next fresh boot up the screensaver has to be set again.
 
Old 07-10-2014, 08:08 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528

Original Poster
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by John VV View Post
as i recall for Gnome3 and kde
getting the gtk2 based xscreensaver custom settings to work requires making a custom config file for the ones you want

however it has been some time since i used them
if i leave the machine running and i am away i tend to be running a LONG running program that is using all the CPU cores or all the GPU cores and almost all the ram and swap

and i normally do not want the screen saver eating up cpu/gpu cycles with a 2 to 4 hour long run
I can make a custom config file and maybe name it kde-screensaver and add the names of the screensavers to the file. The problem I have is the argument given in the instruction for the /usr/libexec/kde4/kscreenlocker file and understanding where it belongs.

Code:
#!/bin/sh
xscreensaver-command -lock
At the end or at the beginning?
I went in circle's trying to learn how to make a file executable with chmod a+x.
I read the man pages for chmod and it still alluds me-
Is this the right way to run a file called 'xscreensaver' making it executable via the terminal?

Code:
chmod a+x xscreensaver
I generally just run ./nameofile or use bash-
 
Old 07-11-2014, 08:46 AM   #6
kentyler
Member
 
Registered: Dec 2008
Location: Newark Ohio
Distribution: Fedora Core
Posts: 270

Rep: Reputation: 38
Chmod a+x means everyone can execute it and what's odd is I'd think that it should be that way by default.

Either way you are doing it properly by command line. I would use full path in your script though.
 
Old 07-11-2014, 08:46 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528

Original Poster
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by kentyler View Post
Chmod a+x means everyone can execute it and what's odd is I'd think that it should be that way by default.

Either way you are doing it properly by command line. I would use full path in your script though.
Thanks, I'll try to get it working tomorrow after I make a custom config file.
I know the names of the screensavers that I want should be in that file however, I'm not entirely sure what the arguments or strings should be.

If you could make a suggestion that would be great.
 
Old 07-25-2014, 02:30 AM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528

Original Poster
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by kentyler View Post
Chmod a+x means everyone can execute it and what's odd is I'd think that it should be that way by default.

Either way you are doing it properly by command line. I would use full path in your script though.
Unfortunately it's not by default. Agreed it should be.

I'll use /home/ztcoracat/sheena.sh

There is only one screensaver that I want to be used all of the time anyway.
Do you think that a boot time script would be better than creating a custom config file?
 
Old 08-10-2014, 05:35 PM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528

Original Poster
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Installed CentOS last week and no longer running Fedora.
 
  


Reply


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
LXer: Xbox 360 reset glitch hack, Xbox 360 Linux on its way? LXer Syndicated Linux News 0 08-29-2011 10:50 PM
Kubuntu KDE Wallpaper Loop Glitch/Bug? theif519 Linux - Newbie 1 04-17-2011 10:11 AM
Tomboy+KDE - Minor Glitch t1n0m3n Linux - Software 2 06-13-2007 01:38 PM
Sound glitch in Debian Woody with KDE 3.1.4 upgrade Cage47 Debian 0 04-02-2004 09:56 AM
screensaver in kde geraldallen Linux - Software 6 10-07-2003 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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