Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Installation & Upgrades
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Installation & Upgrades
For questions about upgrading and installation of your new Ubuntu OS.

 
Thread Tools Display Modes
Old December 16th, 2007   #21
Gaiwecoor
First Cup of Ubuntu
 
Gaiwecoor's Avatar
 
Join Date: Sep 2006
My beans are hidden!
Ubuntu 10.04 Lucid Lynx
Re: xrandr screen rotation in Gutsy

Quote:
Originally Posted by zackiv31 View Post
...
My stylus does not work when rotated... the pointer mirrors where I touch on the screen, meaning that the stylus drivers must be made aware of the change, but I have no idea how to remedy this.

Is there any other information out there for this problem?
I believe you're looking for this:

Code:
xsetwacom set stylus Rotate ccw
xsetwacom set eraser Rotate ccw
xsetwacom set cursor Rotate ccw
If I recall correctly, the Rotate option could be cw, ccw or none.

Quote:
Originally Posted by zackiv31 View Post
...
Also is there a journal format that can be used with both Vista and Linux? Right now I'm using xournal for ubuntu, and it works great... I just wish I could share the files between both my OS's easily.
The only one I know if is Jarnal. [link] As far as I know, it uses the same format as Xournal and Gournal, but it can be run cross-platform, as it's a java implementation.

Hope that helps!
Gaiwecoor is offline   Reply With Quote
Old December 17th, 2007   #22
zackiv31
A Carafe of Ubuntu
 
Join Date: Apr 2006
Beans: 126
Re: xrandr screen rotation in Gutsy

Is there a way to have those commands execute on rotate?

Currently I'm doing it through the Screen Resolution, or whatever it is options... and doing it through there...

Ideally I would not like to use that, and use the rotate button on the X61 itself... meaning each time i press it, everything rotates left... and at the same time executes that command you just described.

Has this been achieved yet?
zackiv31 is offline   Reply With Quote
Old December 17th, 2007   #23
Gaiwecoor
First Cup of Ubuntu
 
Gaiwecoor's Avatar
 
Join Date: Sep 2006
My beans are hidden!
Ubuntu 10.04 Lucid Lynx
Re: xrandr screen rotation in Gutsy

Honestly, I don't really know much more than what I've been able to find on these forums. This thread might be what you're looking for, though: Howto: Get automatic xrandr screen rotation on a Thinkpad X61 tablet/Intel 965

I believe they get it to rotate the screen when you swivel it, but I didn't see anything about the button, sorry. Alternatively, someone somewhere posted this script that does the rotating when called:

Code:
#!/bin/bash

if [ -e ~/.rotated ]
then
        xrandr -o normal
        xsetwacom set stylus Rotate none
        xsetwacom set eraser Rotate none
        xsetwacom set cursor Rotate none

        xsetwacom set stylus BottomX 28800
        xsetwacom set eraser BottomX 28800
        xsetwacom set cursor BottomX 28800

        xsetwacom set stylus BottomY 21760
        xsetwacom set eraser BottomY 21760
        xsetwacom set cursor BottomY 21760

        rm ~/.rotated

else
        xrandr -o left
        xsetwacom set stylus Rotate ccw
        xsetwacom set eraser Rotate ccw
        xsetwacom set cursor Rotate ccw

        xsetwacom set stylus BottomX 21760
        xsetwacom set eraser BottomX 21760
        xsetwacom set cursor BottomX 21760

        xsetwacom set stylus BottomY 28800
        xsetwacom set eraser BottomY 28000
        xsetwacom set cursor BottomY 28800

        touch ~/.rotated

fi
Hope it helps.
Gaiwecoor is offline   Reply With Quote
Old January 5th, 2008   #24
Centx
5 Cups of Ubuntu
 
Centx's Avatar
 
Join Date: Jan 2006
Location: Norway
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
Re: xrandr screen rotation in Gutsy

Hoping to see this post with a [SOLVED] tag, I'll try to share my experiences with xrandr and xorg.conf using "nvidia" drivers =)

I was messing around in xorg to get xrandr working searching google and everywhere, and a "cat /var/log/Xorg.0.log |grep -i randr" showed
Code:
(**) NVIDIA(0): Option "RandRRotation" "True"
(==) RandR enabled
(II) Initializing built-in extension RANDR
but this was actually not right (I think at least). It seems that I had several definitions of both Screens, Device and a messed up serverlayout due to some experimenting with duel head earlier last year, using mostly the "nvidia-settings" utility.

Now what I did to resolve this was removing _all_ that I thought was unnessecary, the wacom and all, and only left one definition of screen, device and so. Now the output from the above log-check was the same, but lo' and behold, now xrandr -o left did not yeild an error, but worked!

So here is my xorg.conf, and this _works_ (for me at least)
Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder3)  Wed Sep 12 14:30:30 PDT 2007

# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen       "Default Screen"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "ServerFlags"

# Removed Option "Xinerama" "1"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "no"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ImPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
EndSection

Section "Monitor"
    Identifier     "Monitor"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
EndSection


Section "Device"
    Identifier     "nVidia Corporation NV43 [GeForce 6600 GT]"
    Driver         "nvidia"
    Option         "AddARGBVisuals" "True"
    Option         "AddARGBGLXVisuals" "True"
    Option         "NoLogo" "True"
    BusID          "PCI:1:0:0"
    Option       "RandRRotation" "True"    
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation NV43 [GeForce 6600 GT]"
    Monitor        "Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       1
        Modes      "1440x900" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1440x900" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1440x900" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1440x900" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1440x900" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1440x900"
    EndSubSection
EndSection
__________________
If global warming is caused by lack of pirates , all should be doing what they can to save the planet

Last edited by Centx; January 6th, 2008 at 12:15 AM..
Centx is offline   Reply With Quote
Old January 23rd, 2008   #25
sgf323
First Cup of Ubuntu
 
Join Date: Jun 2007
Beans: 1
Re: xrandr screen rotation in Gutsy

I'm new to Ubuntu and thanks to everyone in this thread I got this working! I'm running Gutsy with a 6600GT.

Here's what I had to do to get it working:

First, in terminal:

Code:
md5sum /etc/X11/xorg.conf | sudo tee /var/lib/x11/xorg.conf.md5sum
sudo nvidia-glx-config enable
sudo nvidia-xconfig
Then I opened xorg.conf and added: Option "RandRRotation" "True"

That got it working but not at proper resolutions. I was stuck at 1024x768 on my Hanns-G 19" widescreen. So, next I edited the xorg.conf file again to add 1440x900 and after a restart I was able to get the resolution I wanted and rotation!

I've got this monitor along side my XP machine with a 28" monitor. I plan on using Synergy to work between both. The 19" on it's side is the exact height of the 28" monitor so they look really good next to each other.

I just wish that there was something like MaxiVista for Ubuntu! -- I don't really feel like installing XP on my extra machine just to run MaxiVista. I'm going to try out Synergy for a while and see how I like it.
sgf323 is offline   Reply With Quote
Old February 15th, 2008   #26
Hilko
A Carafe of Ubuntu
 
Hilko's Avatar
 
Join Date: Sep 2007
Beans: 98
Ubuntu 9.10 Karmic Koala
Re: xrandr screen rotation in Gutsy

When I had Feisty, my screen rotation worked fine. Since I have Gutsy I cant get it working anymore. I just want to be able to rotate my screen again.

Here is a part of my xorg.conf:
...
Section "Device"
Identifier "VIA Technologies, Inc. S3 Unichrome Pro VGA Adapter"
Driver "via"
BusID "PCI:1:0:0"
Option "UseFBDev" "true"
Option "RandRRotate" "true"
#Option "Rotate" "CCW"
EndSection

Section "Monitor"
Identifier "AL1923"
Option "DPMS"
HorizSync 30-65
VertRefresh 50-75
EndSection

Section "Screen"
Identifier "Default Screen"
Device "VIA Technologies, Inc. S3 Unichrome Pro VGA Adapter"
Monitor "AL1923"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes
...

I don't know what nvidia is, but I think I don't have it (whatever it is). I don't know if that is relevant.

Please, if anyone could explain how I can rotate my screen, it would make me very happy.
Hilko is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:31 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry