Tiny Core Linux

Tiny Core Base => TCB Tips & Tricks => Topic started by: Tuftec on January 01, 2012, 03:32:42 PM

Title: portrait mode displays
Post by: Tuftec on January 01, 2012, 03:32:42 PM
Hi,

I am sure that this issue has come up before, but I do not know where to look.
Can anyone tell me the easiest way to get a screen working in portrait mode with TinyCore?

Peter.
Title: Re: portrait mode displays
Post by: bmarkus on January 01, 2012, 03:46:27 PM
Using Xorg you can rotate, flip, ... screen. Setting can be change with lxrandr for example.
Title: Re: portrait mode displays
Post by: Tuftec on January 01, 2012, 04:28:08 PM
Thanks.

Can this be achieved using the display utilities tools in the control panel somehow or is there some xorg command I need to run at command level?

Peter.
Title: Re: portrait mode displays
Post by: Rich on January 01, 2012, 04:55:14 PM
Hi Tuftec
Try this:
Install  lxrandr.tcz
Open a terminal and type  lxrandr --help
Title: Re: portrait mode displays
Post by: Tuftec on January 01, 2012, 06:23:15 PM
Installed lxrandr. --help option appears not to work. Just starts the GUI interface as normal.
There is no obvious option in the GUI interface to rotate the screen. I just have a limited range of oprions to change the screen resolution.

Do I need to add something to the xorg.conf file?

Title: Re: portrait mode displays
Post by: Tuftec on January 01, 2012, 06:30:49 PM
I tried xrandr -o left.
That just gave errors. BadMatch (invalid parameter attributes).
Title: Re: portrait mode displays
Post by: bmarkus on January 01, 2012, 06:58:33 PM
Sorry, lxrandr was a typo before instead of xrandr.

xrandr -o left

put my notebook to portrait mode. Type

xrandr -o normal

to go back to original or type

xrandr -o right

to get portrait mode in the other direction.


Title: Re: portrait mode displays
Post by: Rich on January 01, 2012, 07:04:17 PM
Hi Tuftec
Take a look through the xorg.log file and see what it says about xrandr (or randr). I read that your
driver has to support rotation in order for it to work.
Title: Re: portrait mode displays
Post by: hiro on January 01, 2012, 07:05:43 PM
Try rotating just one --output
This works for me.
Title: Re: portrait mode displays
Post by: Tuftec on January 02, 2012, 02:27:23 PM
I tried xrandr -o left earlier and it did not work. Just gave errors.

The h/w I am running on is very simple (eBox) so does not have a very sopgisticated video chip.

Hiro, not sure what you mean by your comment. Where do I add the --output line? Is this in xorg.conf?

Are there other details to add?

Peter.
Title: Re: portrait mode displays
Post by: hiro on January 02, 2012, 02:48:13 PM
xrandr --output LVDS1 --rotate left works here (see xrandr --help)
Title: Re: portrait mode displays
Post by: Tuftec on January 06, 2012, 03:30:59 PM
I have tried the various suggestions.

I think the problem I have is that the display hardware is very simple.

Can the display be rotated when using the basic built in???? video drivers?

Peter.
Title: Re: portrait mode displays
Post by: vinnie on January 06, 2012, 08:54:08 PM
I use arandr http://christian.amsuess.com/tools/arandr/ (http://christian.amsuess.com/tools/arandr/) , dependencies are Xorg-7.x-bin.tcz and pygtk-2.7.tcz, but they serve only temporarily.
Start ./arandr, setup your screen (output-->your_monitor->orientation->left), test with apply,  and if all goes well save setting (layout-->Save as), this creates a script that started returns monitor as you set (with xrandr command).
Title: Re: portrait mode displays
Post by: hiro on January 07, 2012, 04:59:55 AM
If xrandr doesn't work arandr won't either.
Someone already said you should look into Xorg.log and at least post the error you get when running xrandr.
Title: Re: portrait mode displays
Post by: Tuftec on January 07, 2012, 04:00:08 PM
Where do I find the Xorg.log???
Title: Re: portrait mode displays
Post by: Rich on January 07, 2012, 05:04:44 PM
Hi Tuftec
You want  /var/log/Xorg.0.log