Author Topic: Rox: Screen Rotation / Different Background Image  (Read 1485 times)

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Rox: Screen Rotation / Different Background Image
« on: November 23, 2006, 01:34:06 pm »
Hello,

can the rox desktop be configure to use a different background image if the screen is rotated? Now the old background is shown, so the right part sticks "out of" the screen and on the bottom the upper part is repeated. Looks not too nice  

It would also be good if the panel could be reconfigured to use another background image after rotation... but I suspect this needs reinitialization of the panel using another ~/.matchbox/mb-panel-orientation file, and that reinitialization takes a bit long for my taste. or does anyone know another way?

Thanks for hints!
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Rox: Screen Rotation / Different Background Image
« Reply #1 on: November 23, 2006, 01:55:41 pm »
Well, whenever the lid is open/closed/rotated, it executes /usr/bin/chkhinge which then runs the following script:
/etc/sysconfig/clamshell/scripts.d/x11scr

You could add a line under landscape and portrait if you know the command that sets the wallpaper. In fluxbox you would use fbsetbg wallpaper.png and I think there is similar with other WM's.

If the wallpaper is set to stretch on loading, you could add the killall command to end the process that the wallpaper is being displayed with (like rox??) and relaunch it.

Hope this helps, I've done it before but decided I wasn't too fussed.