Help - Search - Members - Calendar
Full Version: Xfce Rotate
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
SiduS
Ok I have a 3200 running pdaxrom beta3.

I've installed xfce and the rotation of the desktop is upside down smile.gif

In landscape its landscape just upside down and same with portrait

Any suggestions?
InSearchOf
do a xrandr -o 0 or 1 or 2 or 3 until it is right :-)

Late
InSearchOf
this is part of the xinitrc.xfce4 editing...


do it like this first....

xrandr -o right

that should fix it


Late
SiduS
QUOTE(InSearchOf @ Aug 7 2006, 11:14 PM)
do a xrandr -o 0 or 1 or 2 or 3  until it is right :-)

Late
*


That works but restarting xfce or clicking on the rotate tool still causes it to go back to being the wrong one.

It seems that it would just be a simple script. And doing a quick look I found a rotate.sh script that calls /etc/sysconfig/clamshell/landscape.d/100x11scr

Am I on the right track?
InSearchOf
nope....

LOL

easy fix... in you xinitrc.xfce4 file in you /home/root dir...

edit the file and add xrandr -o right

Well just here


Below also fixed the keymaping also the "SL-C1000|SL-3000..... " part.. and below

CODE
#!/bin/sh
#
# Very simple session manager for matchbox tools
#

echo "0" >/proc/power_key_off 2>/dev/null

test -f /etc/profile && . /etc/profile

# Uncomment below to enable parsing of debian menu entrys
# export MB_USE_DEB_MENUS=1


if [ ! -d $HOME/Choices/common ]; then
   mkdir -p $HOME/Choices/common
fi

if [ -f $HOME/Choices/lightnpower.cfg ]; then
   lightnpower.py --loadandquit
fi

if [ -f /usr/bin/gconfd-2 ]; then
   /usr/bin/gconfd-2 15 &
fi

MODEL=`cat /proc/deviceinfo/product`
echo 'MODEL:'$MODEL
case "$MODEL" in
   SL-C1000|SL-C3000|SL-C3100)
    test -f /etc/X11/kb/akita.xmodmap && xmodmap /etc/X11/kb/akita.xmodmap
;;    
   SL-C860|SL-C760)
    test -f /etc/X11/kb/corgi.xmodmap && xmodmap /etc/X11/kb/corgi.xmodmap
;;
   SL-6000)
    test -f /etc/X11/kb/tosa.xmodmap && xmodmap /etc/X11/kb/tosa.xmodmap
;;
   *)
    cat /proc/cpuinfo | grep 'Sharp-Collie' 2>/dev/null >/dev/null && test -f /etc/X11/kb/collie.xmodmap && xmodmap /etc/X11/kb/collie.xmodmap
;;
esac

test -f /etc/X11/kb/userdefined.xmodmap && xmodmap /etc/X11/kb/userdefined.xmodmap
test -f /usr/bin/chkhinge && /usr/bin/chkhinge 2>/dev/null >/dev/null


/usr/X11R6/bin/xset s 0
xrandr -o right
xfce4-session

GCONF2_PID=`pidof gconfd-2`
if [ ! "$GCONF2_PID" = "" ]; then
   kill $GCONF2_PID
fi

echo "1" >/proc/power_key_off 2>/dev/null


Late
SiduS
QUOTE(InSearchOf @ Aug 7 2006, 11:16 PM)
this is part of the xinitrc.xfce4 editing...


do it like this first....

xrandr -o right

that should fix it


Late
*



Yeah before I even started xfce I looked at the xinitc.xfce4 and didn't see anything that would need to adjust.

So I guess I can just put the xrandr -o right comand into the xinitrc.xfce4? but I don't think that will help me if I click the rotate option. It will still rotate to the wrong way.

Did I install the wrong packages? It just seems that everytime I try to do something it never works without fixing stuff. Or is it just that the 3200 isn't as supported as the older models?
SiduS
Ok that fixed the keymapping and on startup it does start loading the wrong way and then quickly switches over to the xrandr -o right possition which is correct. However. That rotate scrip still rotates wrong. If this is covered in another thread please just let me know and I'll stop bugging smile.gif.

I'm gonna go read the other threads on xfce and see if I can't figure it out.
InSearchOf
QUOTE
That rotate scrip still rotates wrong.


what rotate script?
SiduS
QUOTE(InSearchOf @ Aug 7 2006, 11:57 PM)
QUOTE
That rotate scrip still rotates wrong.


what rotate script?
*


smile.gif

In the xfce menu it has a link to the rotate button you could click when running in the default WM of pdaxrom.

Also I must be missing some ipks. Because I'm getting a few errors on start of xfce.

in xinitrc.xfce4 line 6 and 56 it tries to echo 1 or 2 to /proc/power_key_off but that does not exist. Perhaps this was something pre 3200?

And aparently I'm missing the hicolor theme so it complains about that. and when I'm logged into xfce it looks like X without a WM except for the xfce menu bar at the bottom and the bar across the top that lets you select yoru desktop. I'm assuming this has to do with the missing theme.

However, when trying to adjust things I click on xfce menu / settings / settings manager and it kills everything. X is still running but theres no xfce menu or the desktop selection bar across the top and any opened apps.
Civil
I think it is better to replace in startxfce4 line:
defaultserverargs=" -nolisten tcp -kb"
with
defaultserverargs=" -nolisten tcp -kb -screen 480x640@270"
and forget about xrandr and problems with rotate script...
karlto
I think you're looking for /usr/bin/rotate.sh
InSearchOf
QUOTE
In the xfce menu it has a link to the rotate button you could click when running in the default WM of pdaxrom.


what i did is i create to launchers landscape and portrait... and i just launch when i rotate the screen... which i rarely do... im not to worried about the on the fly hoop-lah...

QUOTE
Also I must be missing some ipks. Because I'm getting a few errors on start of xfce.

in xinitrc.xfce4 line 6 and 56 it tries to echo 1 or 2 to /proc/power_key_off but that does not exist. Perhaps this was something pre 3200?


i get the same error.. i just ignore it... if i wasnt so lazy i would comment out the line xinitrc.xfce4 and see if i notice a diff...

QUOTE
And aparently I'm missing the hicolor theme so it complains about that. and when I'm logged into xfce it looks like X without a WM except for the xfce menu bar at the bottom and the bar across the top that lets you select yoru desktop. I'm assuming this has to do with the missing theme.


ok hi color is the icon set that comes with xfce... now like i said in either earlier post... or im the pm's... i dont use the newer ipkgs because of these issues... i ran into the same problems with the taskbar dumping... when it dumps next time... do a ctrl alt (button to the right of ctrl) del(<BS)

what is the lastest error...

next on the issue... ROX... xfce desktop is nothing... no pin board for icons... nothing... this is when rox comes in to play... it will be the pin board for you... you will find instructions for installing rox in th xfce fine tuning thread i believe... if you run into any problem post or pm me...

QUOTE
However, when trying to adjust things I click on  xfce menu / settings / settings manager and it kills everything. X is still running but theres no xfce menu or the desktop selection bar across the top and any opened apps.


the above explains this issue... also if you want the older packages.. let me know... i have a working set to meet all depends... so placing all files in 1 dir and running ipkg install *.ipk gets you everything you need....

ok im going to bed now... maybe...

replying this much on the Z give me thumb pains...

Late... as always...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.