LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-25-2003, 09:17 PM   #16
the.jxc
LQ Newbie
 
Registered: Jun 2003
Posts: 14

Rep: Reputation: 0
Angry xsetroot doesn't seem to work...


I just tracked this one down myself. I figured out how to change the startup splash graphics, by creating files in

~/.kde/share/apps/ksplash/pics

...that worked just fine. But the background color is still boring. I tracked down startkde, and it tries to run xsetroot -solid #232323 to change the background root window color. But it just doesn't seem to work!

I tried it just from a terminal window, and it doesn't work there either. (Note you'll need to use \# in the shell, to escape the hash character).

Basically, it just don't do anything. Runs fine, no errors, but...

I'll keep scratching... but does anybody have any clues?

J.
 
Old 06-26-2003, 01:40 AM   #17
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
You're going to get a grey (between black and white) color if all your RGB values are the same. The values will go from black (000000) to white (FFFFFF), but will be grey in between. The 232323 triplet works for me, though it's rather black. It works for me in both the startkde script, and in a terminal window to change the background.
 
Old 06-26-2003, 11:58 PM   #18
the.jxc
LQ Newbie
 
Registered: Jun 2003
Posts: 14

Rep: Reputation: 0
Yep, I just put in random numbers, I know that's dark grey!

But no colour works for me. I just see my background image.

Even if I swap my desktop to be a plain colour, I see no change when I run xsetroot. Very strange.

I'm running KDE, under RH 9.0

J.
 
Old 06-27-2003, 12:35 AM   #19
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
=-}
Very strange indeed. I normally have an image in the background, but xsetroot changes it to whatever when I run the command. However, I don't run KDE.
I started up KDE, and it looks like KDE ignores the xset command. It's probably ignoring a lot of X directives that it maybe shouldn't . . .
One of the many reasons I stick with my ancient window manager. . .
=-}

You can change the background in KDE by using the "configure desktop" option in the menu you get when you right click on the empty desktop. . .

Last edited by moses; 06-27-2003 at 12:36 AM.
 
Old 06-27-2003, 01:04 AM   #20
the.jxc
LQ Newbie
 
Registered: Jun 2003
Posts: 14

Rep: Reputation: 0
Yep.

Changing background is easy. The question is how to set the background which runs behind ksplash when startkde executes it.
 
Old 06-27-2003, 09:34 AM   #21
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
That also changes when I run xsetroot in the startkde script. Mind you, it's only up there for a short time before KDE covers it up, but it does change. . .
 
Old 06-29-2003, 06:19 PM   #22
the.jxc
LQ Newbie
 
Registered: Jun 2003
Posts: 14

Rep: Reputation: 0
Ah...

Works for me when I note that XDM_MANAGED is actually set, and
so I need to explicitly set $bkg.

Yep, I see it change too. Although it does flicker blue first, before it
turns my selected color. Still, that's a question for another day.

Looks like KDE overpaints the root window with its own root, hence
xsetroot no longer works after KDE has started.
 
  


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
startx on Debian gives grey background - cannot move mouse cursor or type fdac Linux - Newbie 7 05-04-2005 03:11 PM
Splash screen background in GDM bayat Linux - General 3 11-05-2004 10:09 AM
grey background after startx cragwolf Slackware 3 08-05-2004 01:01 AM
Highlights on Menus: text = white, background = grey GexNZ Linux - Software 1 07-31-2004 11:41 PM
KDE splash screen background NewtonIX Linux - Newbie 7 10-24-2003 09:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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