Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 242921 Details for
Bug 332713
[PATCH] synclient orientation: patch to allow to rotate your device
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
A sh file using zenity allowing easy GUI for screen+mouse rotation
rotation (text/plain), 1.11 KB, created by
niogic
on 2010-08-14 10:31:33 UTC
(
hide
)
Description:
A sh file using zenity allowing easy GUI for screen+mouse rotation
Filename:
MIME Type:
Creator:
niogic
Created:
2010-08-14 10:31:33 UTC
Size:
1.11 KB
patch
obsolete
>#!/bin/bash >if [ "$LANG" = "it_IT.UTF-8" ] > then > column="Orientamento" > tit="Ruota desktop" > left="sinistra" > right="destra" > inverted="invertito" > tray="Clicca qui per tornare alla rotazione normale" > text="Scegli il nuovo orientamento del desktop" > else > column="Orientation" > tit="Desktop rotation" > left="left" > right="right" > inverted="inverted" > tray="Click here to go back to default rotation" > text="Choose a new desktop orientation" >fi > >rotation=$(zenity --list --radiolist \ > --title="$tit" \ > --text="$text" \ > --column="" --column="$column" \ > false "$right" \ > false "$left" \ > false "$inverted") > >if [ "$?" = 0 ] >then > case $rotation in > "$left") > synclient orientation=1 > xrandr --orientation left > ;; > "$right") > synclient orientation=3 > xrandr --orientation right > ;; > "$inverted") > synclient orientation=2 > xrandr --orientation inverted > ;; > esac > > zenity --notification \ > --text="$tray" \ > --window-icon="/usr/share/icons/gnome/24x24/actions/gtk-refresh.png" > > synclient orientation=0 > xrandr --orientation normal >fi > > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 332713
:
242915
|
242919
| 242921