 |
 |
X11 different background?
|
 |
|
 |
|
Addicted to MacNN
Join Date: Aug 2000
Location: Retired
Status:
Offline
|
|
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
|
|
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
|
|
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
|
|
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
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status:
Offline
|
|
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
|
|
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
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status:
Offline
|
|
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
|
|
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
|
|
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.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|