Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > X11 different background?

X11 different background?
Thread Tools
Addicted to MacNN
Join Date: Aug 2000
Location: Retired
Status: Offline
Reply With Quote
Nov 9, 2003, 09:13 PM
 
When you use Apple's X11 in full screen mode, you get a plain gray background, is there anyway to change this?
Power Macintosh Dual G4
SGI Indigo2 6.5.21f
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Nov 10, 2003, 08:27 AM
 
Sure. You just need to use xsetroot.


xsetroot -solid blue


That would set the background to blue. If you wanted to set it to a picture:

xsetroot -bitmap somefile.xbm

The picture has to be in "X-bitmap" format. You can use GraphicConverter to convert to this format.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Dedicated MacNNer
Join Date: Sep 2003
Location: Louisiana, US
Status: Offline
Reply With Quote
Nov 10, 2003, 11:45 PM
 
if you have eterm installed, you should be able to do:

esetroot /path/to/blahblah.jpg
     
Addicted to MacNN
Join Date: Aug 2000
Location: Retired
Status: Offline
Reply With Quote
Nov 11, 2003, 03:57 AM
 
xsetroot works but the only bitmaps it will load are XPMs which only support black and white and I don't mean like a black and white photograph, more like a chess board.

I don't eterm installed but I may try it out.
Power Macintosh Dual G4
SGI Indigo2 6.5.21f
     
Zim
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status: Offline
Reply With Quote
Nov 11, 2003, 07:40 AM
 
Haven't tried this with Mac OSX, but when I was on Solaris, I would always use

xv -root -quit -rmode 5 $HOME/pic.jpg

(using xv, which I do know works under OS X).

I had this command in my .xinitrc.

Mike
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Nov 11, 2003, 09:19 AM
 
Originally posted by Zim:
Haven't tried this with Mac OSX, but when I was on Solaris, I would always use

xv -root -quit -rmode 5 $HOME/pic.jpg

(using xv, which I do know works under OS X).

I had this command in my .xinitrc.

Mike
That would work, but xv is not included with OSX.

If you have the developer tools, you can download the source here and compile it:

http://www.trilon.com/xv/downloads.html#src-distrib

I didn't suggest that because (1) it was not included, and (2) the source does not compile cleanly on OSX.
(Last edited by Arkham_c; Nov 11, 2003 at 09:29 AM. )
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Zim
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status: Offline
Reply With Quote
Nov 11, 2003, 10:05 AM
 
It was May 16, 2002 that I compiled xv (no idea what version of 10.x we were on then), but I don't recall having much trouble getting it to compile. Not saying it was zero problems, only point being that if *I* can do it, most other people here can prob stumble thru it too (that's a statement of me not being the best at compiling packages).

Anyway, just one option. XV has multiple modes of root display, it can center, stretch, tile/repeat, etc. I used that in conjunction with fvwm as my window manager for years at work.

Cheers,
Mike
     
Addicted to MacNN
Join Date: Aug 2000
Location: Retired
Status: Offline
Reply With Quote
Nov 11, 2003, 04:31 PM
 
Originally posted by Zim:
Haven't tried this with Mac OSX, but when I was on Solaris, I would always use

xv -root -quit -rmode 5 $HOME/pic.jpg

(using xv, which I do know works under OS X).

I had this command in my .xinitrc.

Mike
I have xv installed via fink and this command works great! Thanks for the tip.
Power Macintosh Dual G4
SGI Indigo2 6.5.21f
     
Forum Regular
Join Date: Oct 2002
Location: Atlanta
Status: Offline
Reply With Quote
Nov 12, 2003, 02:22 PM
 
And if you run X11 in root-less mode and want to use an X11 applications transparent features (like running xchat with a transparent background, for example) setting the X11 background to whatever you have as your OS X background works great, as shown here.
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:48 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2