LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
LinkBack Search this Thread
Old 10-15-2009, 05:01 PM   #1
sam_o_rogers
Member
 
Registered: Apr 2006
Posts: 47
Blog Entries: 1

Rep: Reputation: 15
Swapping X and Y axis on Trackpad when switching screen orientation.


Running Ubuntu 9.04 onan Aspire One. Under System Preference Display, you have the rotation option of left, right and upside down.

It occured to me that for some documents using a .pdf reader, it would be more convenient for reading purposes to orient the page to the left for example.

This is a little strange. But it is usable, until I try to use the track pad. The X and Y moves on the track pad remain unchanged. So now to move up, I need to drag to the right, and to move down, drag to the left and to drag left I drag down, and to moveright I drag up. Very disorienting.

So I figured if I can rotate the screen, surely I should be able to rotate the track pad. But no such option exists.

Do I need to rewrite a mouse driver and rebuild the kernel to get this to work? Or is this simply an item for which there is documentation that I haven't read yet?
 
Old 10-23-2009, 12:32 AM   #2
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbang
Posts: 299
Blog Entries: 1

Rep: Reputation: 64
Some suggestions:
1. use a usb mouse. (small ones exist for laptops etc.)
2. mod the touch pad by removing it and installing it in a different orientation. (probably not practical unless you intend using it that way permanently)

it might be possible to find a software solution that doesn't require rewriting the mouse driver.
 
Old 10-25-2009, 09:21 AM   #3
sam_o_rogers
Member
 
Registered: Apr 2006
Posts: 47
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Talking

Quote:
Originally Posted by qlue View Post
Some suggestions:

2. mod the touch pad by removing it and installing it in a different orientation.
Ha, Ha, funny, funny.

Actually I have a usb track ball I much prefer to the trackpad. But it just seems awfully strange to me that the capability of swapping the screen is so prominent, and the corresponding pointer control to go with it is so hard to find. Did a yahoo search, and the top ten responses included this post, and not much else that was relevant. Yahoo search got messed up with lastest set of changes. I suspect it is the Microsoft influence.

Searching the Ubuntu forums, I see some references to modifying xorg.conf, which then requires you to restart x to make work. However I find no trackpad reference under /etc/X11/xorg.conf, (See Below), so I would have to assume stuff has been moved elsewhere.

Note, this issue seems to be built in for the Apple iPhone, where simply re-orienting the phone, switches between x and y, automatically corrects the touch screen orientation. (Think about it, it does get corrected.)

With normal laptops, changing the screen orientation is awkward because they are so unwieldy, but the netbooks are a smaller package, and it is not as unreasonable as one might think.

# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# 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 "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
 
Old 10-27-2009, 09:13 PM   #4
bendib
Member
 
Registered: Feb 2009
Location: I'm the black rat in your couch.
Distribution: Some version of Fedora on most PCs. Others include CentOS, SliTaz, Pipsqueak, Mint.
Posts: 166

Rep: Reputation: 35
First, I do not believe this is supposed to change, second, connect an external mouse.
 
Old 10-29-2009, 02:06 PM   #5
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbang
Posts: 299
Blog Entries: 1

Rep: Reputation: 64
Actually, I played around a bit and, while I haven't found a solution, I've found another use-case for it. when using gthumb on a 1024x600 screen, it only displays a thin sliver of the image you're working with. By turning the screen left, you get a much better work area on a 600x1024 screen. So maybe we should ask the good folks at Canonical to implement a solution in their next release of UNR.
I'm a little concerned that modding the mouse driver would have the undesirable effect of messing up any other trackball/mouse input device that you might want to use with it.
On a related issue, I was thinking about building a new case design for my Aspire One. By adding a touch-screen and hiding the keyboard in a slide-out, I could get a very interesting MID (Mobile Internet Device). A similar product would probably cost twice what the Aspire One costs. And by building my own case, I'd be able to make room for several extra SSD or HDD storage drives.
Just a thought.
 
Old 10-31-2009, 06:46 PM   #6
sam_o_rogers
Member
 
Registered: Apr 2006
Posts: 47
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by qlue View Post
I'm a little concerned that modding the mouse driver would have the undesirable effect of messing up any other trackball/mouse input device that you might want to use with it.
Theoretically, it should be consistent for any mouse device.

For example, if you rotate the screen to the left, then the left side of your laptop becomes the top. You turn your laptop so the right side is at the bottom. When you move your finger what was to the left on the trackpad, it moves the mouse pointer up.

On a mouse, to get it to work, you are turning the mouse ninety degrees clockwise. Then you move the mouse away from you, it is moving the pointer up, and your left mouse button is now at the "top" of the mouse.
 
Old 10-31-2009, 06:53 PM   #7
sam_o_rogers
Member
 
Registered: Apr 2006
Posts: 47
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by qlue View Post
On a related issue, I was thinking about building a new case design for my Aspire One. By adding a touch-screen and hiding the keyboard in a slide-out, I could get a very interesting MID (Mobile Internet Device). A similar product would probably cost twice what the Aspire One costs. And by building my own case, I'd be able to make room for several extra SSD or HDD storage drives.
Just a thought.
Sounds slick. Will you post here if you decide to do it? I'd like to know if you do.
 
Old 10-31-2009, 06:56 PM   #8
sam_o_rogers
Member
 
Registered: Apr 2006
Posts: 47
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bendib View Post
Connect an external mouse.
You still have to rotate the mouse, and your left button is no longer under your thumb.
 
Old 10-31-2009, 10:02 PM   #9
lwasserm
Member
 
Registered: Mar 2008
Location: Baltimore Md
Distribution: ubuntu
Posts: 184

Rep: Reputation: 41
Quote:
Originally Posted by sam_o_rogers View Post
You still have to rotate the mouse, and your left button is no longer under your thumb.
Are you sure about that? I believe using an external mouse will work fine.

However, I'd like to know how to rotate the touchpad input also.
 
Old 11-01-2009, 03:16 AM   #10
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbang
Posts: 299
Blog Entries: 1

Rep: Reputation: 64
an external mouse should work since the touchpad is technically still working correctly. It's just that the touchpad is fixed in position. Yes, an external mouse would be turned ninety degrees, but so is the screen so they would both agree with each other. The touch pad, however, can't be turned to agree with the screen.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vi under GNOME Terminal -- Suppressing Screen Buffering/Swapping xthx1138@fastmail.fm Linux - General 4 11-06-2008 01:17 AM
[SOLVED] Dual Monitors, Swapping screen 1 for screen 0 almcneill Linux - Hardware 2 11-30-2006 12:54 PM
While switching using KVM, screen blinks linux_yoda Linux - Hardware 2 08-11-2005 08:53 AM
How to stop screen switching off?? little_penguin Suse/Novell 5 03-22-2005 09:37 AM
Switching from X to Console messes up screen marsonist Linux - Hardware 0 06-05-2004 12:12 AM


All times are GMT -5. The time now is 05:04 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration