> Date: Tue, 15 Mar 2011 13:56:41 +0900
> From: Carsten Haitzler (The Rasterman) <ras...@rasterman.com>
> Subject: Re: [e-users] e17 commandline config changes
> To: "hannes.janet...@gmail.com" <hannes.janet...@googlemail.com>
> Cc: enlightenment-users@lists.sourceforge.net
> Message-ID: <20110315135641.1382b6e5.ras...@rasterman.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Tue, 15 Mar 2011 04:57:09 +0100 "hannes.janet...@gmail.com"
> <hannes.janet...@googlemail.com> said:
>
> > Hi,
> >
> > On Tue, Mar 15, 2011 at 3:25 AM, Jackson <jack...@objectivelytrue.com>
> wrote:
> > > Hey gents,
> > > ?I'm using an old thinkpad and trying to get e17 screen rotation to
> work.
> > > A simple workaround seems to be that I could write a toggle script to
> get
> > > and set the Resolution settings -> Screen rotation config option,
> binding it
> > > to the laptop's screen rotation button, but I cannot figure out how to
> get
> > > or set the config option outside the gui.
> > >
> > > I know enlightenment_remote has been deprecated. ?Is this the sort of
> thing
> > > dbus can be used for? ?I've never used dbus and don't know of any other
> > > potential tools for doing this job, really... if anyone knows anything
> that
> > > might help push me in the right direction, I'd love to hear about it.
> > >
> > you can set all screen options also with xrandr utility. if you found
> > the right options you can add a keybinding to  'launch->command'
> > action with that options. sth like 'xrandr --output LVDS1 --rotate
> > left'. hope this helps for now.
>
> yeah. x itself already provides a cmdline util, so no need for e to
> duplicate
> it. what would be more up e's alley is a module that can listen to all
> these
> rotation things. some hardware has an acpi button or x key that will be
> pressed
> or some gpio line if you flip/rotate the screen, there is some connector
> that
> figures it out and can signal you. on tablets and phones there are
> accelerometers too that can  tell you orientation. what kind of rotation
> button
> is it? is it just like a key that you press and the screen rotates
> clockwise
> (or anti-clockwise) by 90 degrees? 2 buttons (to rotate +90 or -90) or 4
> buttons to select one of 4 rotations (0, 90, 180, 270), or some
> slider/switch
> to select between them?
>
>
> --
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler)    ras...@rasterman.com
>
>
>
This thinkpad just has a toggle beneath the screen.  I've actually never
seen this machine up and running fully, so I don't know quite how it's
supposed to work, but it looks like you press it to toggle a 90 degree
clockwise and anticlockwise shift, not sure if rotating the screen itself is
supposed to fire off any triggers, but I am pretty sure there's no
accelerometer in this old thing.  For anyone looking, though, I did find a
nice little script on the Arch wiki for my specific device... needs some
modifications to correct the arrow keys and to disable needlessly toggling 4
views, when the tablet only needs two, but it's enough to get it working in
a basic way and I was able to map it using e's keybindings.

xrandr control actually looks pretty simple, but I'm sure the other
modifications to get rotation working as expected will be a bit more
complex.

See: https://wiki.archlinux.org/index.php/Lenovo_Thinkpad_X60_Tablet

Thanks for the help!


-- 
The right understanding of any matter and a misunderstanding of the same
matter do not wholly exclude each other. -- Franz Kafka, "The Trial"
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to