|Emilia L.K. Blåsten 6ae2f261fd Add files with instruction for Trisquel MATE||3 months ago|
|COPYING||3 months ago|
|README.md||3 months ago|
|rotate.sh||3 months ago|
This folder contains the following bash script:
Its purpose is to rotate the screen and/or Wacom stylus and/or
trackpoint orientation for more comfortable drawing and writing on a
touch screen. To use them your system should have the commands
Save the script to your home folder, for example
/home/admin if your
admin. Next, make it executable,
/home/admin/rotate.sh. Then use your desktop environment's shortcut
tool run the command
/home/admin/rotate.sh -spt where one or more of
t are used (see below). You might need to
experiment with which of the three options are needed.
Trisquel icon > System > Preferences > Hardware > Keyboard Shortcutsand clicking
The script accepts three command line options
-s Rotates the screen 90 degrees counterclockwise.
-p Sets the stylus input orientation to the same as the screen
-t Sets the trackpoint orientation to the same as the screen
These can be combined, for example with
-stp for rotating
everything. The order of the options does not matter. The script will
make sure that the screen is rotated first, and then sets the correct
input device orientations.
Different desktop environments do different things automatically. For
example on the MATE-desktop in Parabola, pressing the bezel rotation
button will always rotate the screen (but not the stylus), even when
not using this script. Hence you could use
rotate.sh -pt to fix the
pen (stylus) and trackpoint orientations.
On other systems the desktop environment might automatically update
the stylus orientation whenever the screen orientation changes. In
this case it is enough to rotate only the screen by
Lastly, if your desktop enviroment does absolutely nothing
-spt. This might be the case for example when
Copyright (C) 2021 Emilia L.K. Blåsten
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the the file COPYING for more details.