OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.

OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.

−

==Rotating the touch screen in openbox==

+

==Rotating the touch screen==

Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code under <keyboard>:

Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code under <keyboard>:

Line 116:

Line 116:

To rotate the screen, use the following script (note the following script can also be bound to the expressgate button itself to generate rotations (bypass any menu):

To rotate the screen, use the following script (note the following script can also be bound to the expressgate button itself to generate rotations (bypass any menu):

+

+

** As of evdev 2.7.3-1, this script no longer properly rotates the touchscreen axes.

{{bc|<nowiki>

{{bc|<nowiki>

#!/bin/bash

#!/bin/bash

−

#Written by Mark Lee

+

echo "

−

#New and improved script to rotate the touch screen by pressing the 'Express Gate Button'

+

##############################################################

−

#Has both a command line interface as well as a single button click interface

+

# #

−

#Records rotation in the ram disk directory as 'cur_rot'

+

# Touch_Rotate for Asus T101mt #

−

#Does not require cur_rot to be initially created, only that all rotations use this script.

Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.

Edit '~/.config/openbox/menu.xml' to include the following code:

Edit '~/.config/openbox/menu.xml' to include the following code:

Line 203:

Line 200:

<action name="Execute">

<action name="Execute">

<execute>

<execute>

−

rotate_touch_screen normal

+

touch_rotate normal

</execute>

</execute>

</action>

</action>

Line 210:

Line 207:

<action name="Execute">

<action name="Execute">

<execute>

<execute>

−

rotate_touch_screen right

+

touch_rotate right

</execute>

</execute>

</action>

</action>

Line 217:

Line 214:

<action name="Execute">

<action name="Execute">

<execute>

<execute>

−

rotate_touch_screen upside_down

+

touch_rotate upside-down

</execute>

</execute>

</action>

</action>

Line 224:

Line 221:

<action name="Execute">

<action name="Execute">

<execute>

<execute>

−

rotate_touch_screen left

+

touch_rotate left

</execute>

</execute>

</action>

</action>

Line 231:

Line 228:

You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).

You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).

Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.

Function Keys

Suspend-, Brightness- and Audiokeys work. Others may need special configuration.
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.

Installing OpenBox

OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.

Rotating the touch screen

Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code under <keyboard>:

You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).

Launch xbindkeys in gnome3 via gnome-session-properties. Add it as a launcher app (xbindkeys).

On Screen Keyboard

Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:

kvkbd &

This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.

Suspend2RAM

Touchscreen is not working afterwards.

It will work after you reload hid_multitouch kernel module:

# rmmod hid_multitouch
# modprobe hid_multitouch

As a workaround, you can add the following line to the file '/etc/pm/config.d/modules':

SUSPEND_MODULES="hid_multitouch"

This way the kernel module will be explicitly unloaded before suspend.

Hibernate

Not Working.

Multi-Touch

Modern kernels out-of-the-box support multitouch in our devises, but not Xorg. In Ubuntu there is some Xorg patches for a multitouch support and utouch (ginn) for multitouch gestures, but in other linux distributives you can use twofing. You can find utouch packages in AUR, but they are untested on our device.

But you can use twofing experimental daemon to use some gestures.

While we are waiting someone to build AUR packages, we can install it from sources. Get the latest git version here.

Replace idProduct variable to idProduct of latest model touchscreen ID. To to check it, try this

lsusb | grep "ASUS Comp"

Then, create symlink to touchscreen device:

ln -s /dev/input/mouse1 /dev/twofingtouch

Add 'twofing --wait' command to start with user session.
You can read more about it here.
It works on all linux distributives with actual hid_multitouch module.

Brightness

With some Eee PC's, the brightness setting are either too low, or are sometimes a little inconstant or arbitrary (cycling high/low/completely off).
If you have issues with this, issue this command to fix it:

And regenerate the grub2 file:

# setpci -s 00:02.0 f4.b=80

The 80 represents the highest brightness level in hexadecimal, which can be replaced with up to FF if desired. 80 is about half, being approximately the same brightness range as windows or grub.