| Author |
Message |
|
|
Post subject: Keytouch shutdown problem [solved]
Posted: Jun 24, 2008 - 07:30 PM
|
|
Joined: May 28, 2007
Posts: 545
Status: Offline
|
|
This bug is related to http://www.sidux.com/PNphpBB2-viewtopic-t-11037.html post
A workaround is:
vi /etc/X11/Xsession.d/55keytouchd_launch
change the
KEYTOUCHLAUNCH=/usr/bin/keytouchd-launchv
to
KEYTOUCHLAUNCH=/usr/bin/keytouchd-launch --exit-with-session
Please confirm that it works. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Keytouch shutdown problem [solved]
Posted: Jun 24, 2008 - 08:23 PM
|
|

Joined: Aug 08, 2007
Posts: 34
Location: Southwest Florida, USA
Status: Offline
|
|
@ snvv
Yes, I can confirm that adding --exit-with-session works on two installations. Thank you.
--
Neal |
_________________ Registered Linux User 159445.
sidux 2008-1 on HP Pavilion dv6451us laptop.
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 25, 2008 - 11:05 AM
|
|
Joined: Jan 04, 2008
Posts: 67
Status: Offline
|
|
works for me too
thx! |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 25, 2008 - 04:09 PM
|
|
Joined: May 30, 2007
Posts: 9
Status: Offline
|
|
|
|
|
 |
|
|
Post subject:
Posted: Jun 26, 2008 - 05:35 PM
|
|

Joined: Feb 04, 2008
Posts: 119
Location: Reutlingen, Germany
Status: Offline
|
|
Yes, shutdown works now, but keytouch doesn't start with the session. I have to start it manually.
My /etc/X11/Xsession.d/55keytouchd_launch
Code:
# In order to *deactivate* the startup of keytouch at session launch
# simply place disable-session-keytouch into your /etc/X11/Xsession.options file
#
STARTKEYTOUCH=yes
KEYTOUCHLAUNCH=/usr/bin/keytouchd-launch --exit-with-session
if grep -qs ^disable-session-keytouch "$OPTIONFILE" \
|| ! [ -x "$KEYTOUCHLAUNCH" ]; then
STARTKEYTOUCH=''
fi
if [ -n "$STARTKEYTOUCH" ]; then
STARTUP="$KEYTOUCHLAUNCH $STARTUP"
fi
Is it possible to start keytouch with the session now?
Thx and Greetings |
_________________ Friends' Sites:
Scholars.de
Bernhardcore.de
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 26, 2008 - 05:39 PM
|
|

Joined: Dec 08, 2006
Posts: 166
|
|
same here, as with widux.
any help appreciated.
thanx |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 26, 2008 - 06:24 PM
|
|

Joined: Aug 08, 2007
Posts: 34
Location: Southwest Florida, USA
Status: Offline
|
|
Yes, keytouch can be started automatically with each session. Here is what I have in
/home/username/.kde/Autostart/keytouch.desktop
Code:
[Desktop Entry]
Name=KeyTouch
Version=1.0
Comment=Configure extra function keys
Exec=keytouchd-launch --start
Icon=/usr/share/keytouch/pixmaps/icon.png
Terminal=false
Type=Application
Categories=DesktopSettings;Settings;GTK
StartupNotify=false
--
Neal |
_________________ Registered Linux User 159445.
sidux 2008-1 on HP Pavilion dv6451us laptop.
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 26, 2008 - 06:55 PM
|
|

Joined: Feb 04, 2008
Posts: 119
Location: Reutlingen, Germany
Status: Offline
|
|
|
|
|
 |
|
|
Post subject:
Posted: Jun 26, 2008 - 08:39 PM
|
|

Joined: Dec 08, 2006
Posts: 166
|
|
here too!
big thanx to all! great support. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 27, 2008 - 08:36 AM
|
|
Joined: Dec 03, 2006
Posts: 68
Location: Germany - Siegen
Status: Offline
|
|
as i realized keytouchd autostart is not working anymore i tried to launch it from shell:
aim@siduxbox:~$ /usr/bin/keytouchd-launch --exit-with-session
/usr/bin/keytouchd-launch: line 30: --exit-with-session: command not found
i found this one googleing around:
http://www.mail-archive.com/ubuntu-bugs ... 54070.html |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 03, 2008 - 10:13 PM
|
|
Joined: Nov 21, 2007
Posts: 50
Location: US
Status: Offline
|
|
|
Sir_Aim wrote:
as i realized keytouchd autostart is not working anymore i tried to launch it from shell:
aim@siduxbox:~$ /usr/bin/keytouchd-launch --exit-with-session
/usr/bin/keytouchd-launch: line 30: --exit-with-session: command not found
i found this one googleing around:
http://www.mail-archive.com/ubuntu-bugs ... 54070.html
I can confirm that the post you mention does solve the keytouch issue. There's no need to add the exit-with-session option add the end as mentioned in post 1.
basically replace your
/usr/bin/keytouchd-launch
with the following:
Code:
#!/bin/bash
# This script was written by Daniele Favara <danjele@gmail.com>
# Stripped for keytouch by Rodrigo Gallardo <rodrigo@nul-unu.com>
set -e
while [ ! -z "$1" ];do
case "$1" in
--help|-h)
echo "Usage: keytouchd-launch [command]"
echo "Launch the keytouch daemons in background, before running COMMAND."
echo "Please see 'man keytouchd-launch' for details."
exit
;;
*)
SESSION=$@ ; shift $#
;;
esac
done
if [ "x$SESSION" = "x" ]; then
# No session? We die
echo "You must provide a command to run."
exit 1
else
keytouchd &
# Run the session, kill the daemons afterwards
$SESSION
killall keytouchd-launch
exit $?
fi
This fixed both the shutdown/logout problem and the automatic restart of keytouch during boot. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jul 04, 2008 - 05:43 AM
|
|
Joined: May 28, 2007
Posts: 545
Status: Offline
|
|
I confirm this too & this is the proper solution.
Thank you. |
|
|
| |
|
|
|
 |
|
|
Post subject: Thankyou!
Posted: Aug 27, 2008 - 08:10 AM
|
|
Joined: Jan 10, 2007
Posts: 11
Status: Offline
|
|
Wow, this has been bugging me for so long.
Thanks guys, very much appreciated.
Habtool |
|
|
| |
|
|
|
 |
|
|