Re: [X2Go-User] execute xmodmap on resume

2018-07-31 Thread richard lucassen
On Tue, 31 Jul 2018 15:49:53 +0200 Stefan Baur wrote: > > Hmm, this is a Q&D workaround: > > > > $ cat /usr/lib/x2go/extensions/post-resume.d/010_xmodmap > > #!/bin/dash > > test -f ~/.Xmodmap || exit 0 > > /usr/local/scripts/xmodmap.sh & > > > > $ cat /usr/local/scripts/xmodmap.sh > > #!/bin/d

Re: [X2Go-User] execute xmodmap on resume

2018-07-31 Thread Stefan Baur
Am 30.07.2018 um 11:56 schrieb richard lucassen: > On Fri, 27 Jul 2018 10:57:48 -0400 > "John Stoffel" wrote: > >> It sounds like when the script runs, the Xserver isn't quite ready, >> and xmodmap is waiting for that. Maybe you can start debugging by >> putting: > > Hmm, this is a Q&D workarou

Re: [X2Go-User] execute xmodmap on resume

2018-07-31 Thread richard lucassen
On Tue, 31 Jul 2018 14:18:00 +0200 Stefan Baur wrote: > > Hmm, it is called "post-resume", that suggests that everything is > > up an running... > > Not necessarily. > "We're done resuming on the X2Go side of things" might not be the same > as "We're up and running on the X-Server side of things

Re: [X2Go-User] execute xmodmap on resume

2018-07-31 Thread richard lucassen
On Tue, 31 Jul 2018 14:07:06 +0200 Ulrich Sibiller wrote: > Alright, but I was refferring to your first mail where you wrote > "010-xmodmap" which does NOT match. ;-) I think you missed the first reply to my own post in which I wrote: "Oops, s/010-xmodmap/010_xmodmap/" :) -- richard lucassen

Re: [X2Go-User] execute xmodmap on resume

2018-07-31 Thread Stefan Baur
Am 30.07.2018 um 00:26 schrieb richard lucassen: >> It sounds like when the script runs, the Xserver isn't quite ready, >> and xmodmap is waiting for that. > Hmm, it is called "post-resume", that suggests that everything is up an > running... Not necessarily. "We're done resuming on the X2Go side

Re: [X2Go-User] execute xmodmap on resume

2018-07-31 Thread Ulrich Sibiller
On Tue, Jul 31, 2018 at 1:40 PM, richard lucassen wrote: > On Mon, 30 Jul 2018 12:33:39 +0200 > Ulrich Sibiller wrote: > >> > No, the syntax is ok, the script is executed as stated in the OP... >> >> The egrep above clearly rules out any non-matching file. So maybe this >> script is run by some o

Re: [X2Go-User] execute xmodmap on resume

2018-07-31 Thread richard lucassen
On Mon, 30 Jul 2018 12:33:39 +0200 Ulrich Sibiller wrote: > > No, the syntax is ok, the script is executed as stated in the OP... > > The egrep above clearly rules out any non-matching file. So maybe this > script is run by some other mechanism? No, there is only one instance, in the right dire

Re: [X2Go-User] execute xmodmap on resume

2018-07-30 Thread Ulrich Sibiller
On Mon, Jul 30, 2018 at 11:05 AM, richard lucassen wrote: > On Mon, 30 Jul 2018 01:21:48 +0200 > Ulrich Sibiller wrote: > >> Have a look at /usr/bin/x2goserver-run-extensions, this is the place >> where the extensions are called. >> >> The call is >> >> find "$X2GO_LIB_PATH/extensions/$X2GO_MODAL

Re: [X2Go-User] execute xmodmap on resume

2018-07-30 Thread richard lucassen
On Fri, 27 Jul 2018 10:57:48 -0400 "John Stoffel" wrote: > It sounds like when the script runs, the Xserver isn't quite ready, > and xmodmap is waiting for that. Maybe you can start debugging by > putting: Hmm, this is a Q&D workaround: $ cat /usr/lib/x2go/extensions/post-resume.d/010_xmodmap

Re: [X2Go-User] execute xmodmap on resume

2018-07-30 Thread richard lucassen
On Fri, 27 Jul 2018 10:57:48 -0400 "John Stoffel" wrote: > It sounds like when the script runs, the Xserver isn't quite ready, > and xmodmap is waiting for that. Maybe you can start debugging by > putting: > >xmodmap -verbose -pm > > before your call, to see what it prints out. And make s

Re: [X2Go-User] execute xmodmap on resume

2018-07-30 Thread richard lucassen
On Mon, 30 Jul 2018 01:21:48 +0200 Ulrich Sibiller wrote: > Have a look at /usr/bin/x2goserver-run-extensions, this is the place > where the extensions are called. > > The call is > > find "$X2GO_LIB_PATH/extensions/$X2GO_MODALITY.d/" -maxdepth 1 > -mindepth 1 | egrep "/[0-9]{3}_[[:alnum:]]+" |

Re: [X2Go-User] execute xmodmap on resume

2018-07-29 Thread Ulrich Sibiller
Have a look at /usr/bin/x2goserver-run-extensions, this is the place where the extensions are called. The call is find "$X2GO_LIB_PATH/extensions/$X2GO_MODALITY.d/" -maxdepth 1 -mindepth 1 | egrep "/[0-9]{3}_[[:alnum:]]+" | sort | while read x2go_extension; do which indicates that the script nam

Re: [X2Go-User] execute xmodmap on resume

2018-07-29 Thread richard lucassen
On Fri, 27 Jul 2018 10:57:48 -0400 "John Stoffel" wrote: > It sounds like when the script runs, the Xserver isn't quite ready, > and xmodmap is waiting for that. Hmm, it is called "post-resume", that suggests that everything is up an running... > Maybe you can start debugging by > putting: > >

Re: [X2Go-User] execute xmodmap on resume

2018-07-27 Thread John Stoffel
> "richard" == richard lucassen writes: richard> Hello list, richard> Not an x2go problem, but maybe someone might be able to guess what is richard> happening here. I made a chmod 755 shell script: richard> $ cat /usr/lib/x2go/extensions/post-resume.d/010-xmodmap richard> #!/bin/dash richard

Re: [X2Go-User] execute xmodmap on resume

2018-07-25 Thread richard lucassen
On Wed, 25 Jul 2018 17:03:37 +0200 richard lucassen wrote: > $ cat /usr/lib/x2go/extensions/post-resume.d/010-xmodmap Oops, s/010-xmodmap/010_xmodmap/ -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org http

[X2Go-User] execute xmodmap on resume

2018-07-25 Thread richard lucassen
Hello list, Not an x2go problem, but maybe someone might be able to guess what is happening here. I made a chmod 755 shell script: $ cat /usr/lib/x2go/extensions/post-resume.d/010-xmodmap #!/bin/dash test -f ~/.Xmodmap || exit 0 /usr/bin/xmodmap -display $DISPLAY ~/.Xmodmap When resuming an x2go