sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
snvv
Post subject: Keytouch shutdown problem [solved]  PostPosted: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
HeSaid
Post subject: RE: Keytouch shutdown problem [solved]  PostPosted: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
soulspirit
Post subject:   PostPosted: Jun 25, 2008 - 11:05 AM



Joined: Jan 04, 2008
Posts: 67

Status: Offline
works for me too Smile

thx!
 
 View user's profile Send private message  
Reply with quote Back to top
jd
Post subject:   PostPosted: Jun 25, 2008 - 04:09 PM



Joined: May 30, 2007
Posts: 9

Status: Offline
works, thanks!
 
 View user's profile Send private message  
Reply with quote Back to top
widux
Post subject:   PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
saxxonian
Post subject:   PostPosted: Jun 26, 2008 - 05:39 PM



Joined: Dec 08, 2006
Posts: 166

same here, as with widux.
any help appreciated.
thanx
 
 View user's profile Send private message Yahoo Messenger  
Reply with quote Back to top
HeSaid
Post subject:   PostPosted: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
widux
Post subject:   PostPosted: Jun 26, 2008 - 06:55 PM



Joined: Feb 04, 2008
Posts: 119
Location: Reutlingen, Germany
Status: Offline
@Neal: Thanx! It's works perfectly!
@snvv: thanx for the workaround!

_________________
Friends' Sites:
Scholars.de
Bernhardcore.de
 
 View user's profile Send private message  
Reply with quote Back to top
saxxonian
Post subject:   PostPosted: Jun 26, 2008 - 08:39 PM



Joined: Dec 08, 2006
Posts: 166

here too!
big thanx to all! great support.
 
 View user's profile Send private message Yahoo Messenger  
Reply with quote Back to top
Sir_Aim
Post subject:   PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
houms
Post subject:   PostPosted: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
snvv
Post subject:   PostPosted: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
habtool
Post subject: Thankyou!  PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio