Author Topic: Rox Keeps Reverting Backdrop On Screen Rotation  (Read 3465 times)

Tron

  • Newbie
  • *
  • Posts: 47
    • View Profile
Rox Keeps Reverting Backdrop On Screen Rotation
« on: June 25, 2007, 07:39:00 am »
Hello all,

ROX on pdaxii13 with xfce4 (SL-C3100)  keeps reverting to its default backdrop (the one defined as default with "rox-bset"), which resides in /usr/share/pixmaps/Wallpapers/background.png.

I can change the background graphically (ideally, I'd like no background at all), but the rotation mechanism keeps changing it back. I removed the line about rox-bg in the /etc/sysconfig/clamshell/scripts.d/x11scr script (which calls rox-bset with either the -portrait or -landscape option), but I keep missing something.

Is there a way to tell rox not to use any background at all? There must be a system-wide configuration option somewhere. Deleting the background.png gives me a very annoying error message each time I rotate the screen.

Alternatively, where else might rox-bg be called upon rotation?
YT,
Tron

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Rox Keeps Reverting Backdrop On Screen Rotation
« Reply #1 on: June 25, 2007, 03:18:59 pm »
Could you set the baclground image to be a solid color, so when it's set it appears not to change?

Kind of the lazy solution, but it should work.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Tron

  • Newbie
  • *
  • Posts: 47
    • View Profile
Rox Keeps Reverting Backdrop On Screen Rotation
« Reply #2 on: June 25, 2007, 03:44:28 pm »
Well, yeah, of course that would work. The point is that my zaurus takes about 5-6 seconds to complete rotation of desktop, panel and windows into the portrait mode and vice versa. I'd hope to reduce that time if it does not need to rotate the background, at which I don't look at anyway. Setting a solid color picture as a background would not help here.
YT,
Tron

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Rox Keeps Reverting Backdrop On Screen Rotation
« Reply #3 on: June 25, 2007, 06:24:25 pm »
Quote
Well, yeah, of course that would work. The point is that my zaurus takes about 5-6 seconds to complete rotation of desktop, panel and windows into the portrait mode and vice versa. I'd hope to reduce that time if it does not need to rotate the background, at which I don't look at anyway. Setting a solid color picture as a background would not help here.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163727\"][{POST_SNAPBACK}][/a][/div]
the pdaxconfig tool (in pdaxii13) allows you to set a default backdrop for rox.  it doesn't stretch the image(in my experience) but it does rotate and tile....is that at all helpful?

My currsent issue is that in ice wm rotating to tablet mode, then back forces my apps to be only 480 wide (in icewm/ with the panel at top and hiding turned on).  the only solution i have so far is to restart X.
« Last Edit: June 25, 2007, 06:27:32 pm by adf »
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

Tron

  • Newbie
  • *
  • Posts: 47
    • View Profile
Rox Keeps Reverting Backdrop On Screen Rotation
« Reply #4 on: June 26, 2007, 02:12:42 pm »
Quote
the pdaxconfig tool (in pdaxii13) allows you to set a default backdrop for rox.  it doesn't stretch the image(in my experience) but it does rotate and tile....is that at all helpful?
Do you mean the tool which just edits the conf-file in /home/root/Choices? No, that did not help, but the general Idea was good - I did not know that configuration files were in there (honestly, who'd look in a directory called "Choices" with a capital "C"?)
Anyway, underneath there are some rox-pinboard-specific configuration files, one of which defines the default backdrop to be /usr/apps/Settings/Backdrop/default.xml (another configuration directory - can't that stuff be all in /etc where it belongs?)
I then erased the backdrop lines in the default.xml and voila - standard backdrop is set no more and the set backdrop is kept after rotation.
YT,
Tron

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Rox Keeps Reverting Backdrop On Screen Rotation
« Reply #5 on: June 26, 2007, 10:36:24 pm »
Quote
Quote
the pdaxconfig tool (in pdaxii13) allows you to set a default backdrop for rox.  it doesn't stretch the image(in my experience) but it does rotate and tile....is that at all helpful?
Do you mean the tool which just edits the conf-file in /home/root/Choices? No, that did not help, but the general Idea was good - I did not know that configuration files were in there (honestly, who'd look in a directory called "Choices" with a capital "C"?)
Anyway, underneath there are some rox-pinboard-specific configuration files, one of which defines the default backdrop to be /usr/apps/Settings/Backdrop/default.xml (another configuration directory - can't that stuff be all in /etc where it belongs?)
I then erased the backdrop lines in the default.xml and voila - standard backdrop is set no more and the set backdrop is kept after rotation.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163788\"][{POST_SNAPBACK}][/a][/div]

This is a ROX issue. You should complain to the ROX people. That's where ROX puts things. pdaXrom is just following the ROX 'standard'
all pdaXrom specific configs are in Choices directory. I think this is a python thing. under Sharp ROM configs are under /home/zaurus/Settings .. personally, I think these naming conventions came from the Windows world..., and the unix/linux converntion of hiding settings under home . something is not my fav convention either.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Tron

  • Newbie
  • *
  • Posts: 47
    • View Profile
Rox Keeps Reverting Backdrop On Screen Rotation
« Reply #6 on: June 27, 2007, 02:20:09 am »
Quote
This is a ROX issue. You should complain to the ROX people. That's where ROX puts things. pdaXrom is just following the ROX 'standard'
I agree, there is not much pdaxrom can do about this. About the "Choices"-directory deriving from phython - well, I personally think the unix/linux convention of putting everything system-wide under /etc and everything user-specific under ~/.something is not that bad. At least one knows where to look, that's the advantage of a standard. Maybe it's a bit overpowered for a PDA, as I don't think many people use their Z as multiuser-machines.

However, I still would like to know where that rox-bg is called elsewhere when rotating. Sadly enough the busybox-version of "grep" does not understand the "-r" option, that would help...maybe I'll try to compile my own version of "grep" someday.
YT,
Tron

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Rox Keeps Reverting Backdrop On Screen Rotation
« Reply #7 on: June 27, 2007, 03:04:23 am »
Quote
Quote
This is a ROX issue. You should complain to the ROX people. That's where ROX puts things. pdaXrom is just following the ROX 'standard'
I agree, there is not much pdaxrom can do about this. About the "Choices"-directory deriving from phython - well, I personally think the unix/linux convention of putting everything system-wide under /etc and everything user-specific under ~/.something is not that bad. At least one knows where to look, that's the advantage of a standard. Maybe it's a bit overpowered for a PDA, as I don't think many people use their Z as multiuser-machines.

However, I still would like to know where that rox-bg is called elsewhere when rotating. Sadly enough the busybox-version of "grep" does not understand the "-r" option, that would help...maybe I'll try to compile my own version of "grep" someday.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163821\"][{POST_SNAPBACK}][/a][/div]
isn't there a full grep in the feed at tyrannozaurus already?
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf