You are not logged in.
Pages: 1
Hello,
Would you eventually know a possible X11 Programming Development Forum?
Thank you
Offline
I'm not understanding this. Is it a question (about an existing forum somewhere) or a request (for a space on this forum)? If you want to discuss that here, the DIY forum would be a good place. Moving since it is not a support question regarding Devuan Jessie.
Offline
I'm not understanding this. Is it a question (about an existing forum somewhere) or a request (for a space on this forum)? If you want to discuss that here, the DIY forum would be a good place. Moving since it is not a support question regarding Devuan Jessie.
I want to make my own XBINDKEYS for a simple launcher of XTERM.
I have learned how TinyWm works, but now, I would like to interact with keyboard. Of course, a platform such as a forum is the best, because the man X11 is not easy.
Offline
This _should_ let you build you own user specific .xbindkeys
I'm not using TWM (openbox)
apt-get install xbindkeys
man xbindkeys
has examples
Offline
xbindkeys -dg
is full of guile cool
Hope it actually works these days.
I will also test here as _some_ EFL based (at least) apps wont launch when run under slim.
But will launch when run from startx.
(getting that back was a small journey in itself)
Offline
Replying to myself
Xbindkeys looks promising it will even write a config file for you in either plain text or guile
however I think my window manger is grabbing (back) the keys or I have to log out in again ... no idea
Offline
As this may be helpful for somebody else:
Success on TWM
_Caveat_
I had to add (restore ?) a conf file so X would let me start as a normal user from console.
(see end of this post if startx as a normal user doesn't work )
you will need to organise for xbindkeys to start
so perhaps something like this in ~/.xinitrc
( simple copy of mine so YOU need to edit / uncomment to taste )
As you experiment ONE variable thing at a time
# the following variable defines the session which is started if the user
# doesn't explicitly select a session
DEFAULT_SESSION=openbox-session
case $1 in
twm)
#xbindkeys &
#xterm &
exec twm
;;
enlightenment)
exec /usr/bin/enlightenment_start
;;
enlightenment?*)
exec /usr/local/bin/enlightenment_start
;;
icewm)
icewmbg &
icewmtray &
exec icewm
;;
*)
exec $DEFAULT_SESSION
;;
esac
## EOF
startx twm
or
xinit twm -- :2
Then generate a default by a run of:
$ xbindkeys --default > .xbindkeys
discover the combinations with:
$ xbindkeys --keys
--help and man pages should be available
It is quite helpful and can even show a redirection example for the conf file :)
(move any existing version out of the way.)
Finally there appear to be other ways to set keyboard shortcuts but life is short.
The scheme version is way more flexible, though probably not for a first attempt.
(the examples are excellent)
(and my system is broken enough already !)
#######################################
startx wont work for $USER ?
try setting this in /etc/X11/Xwrapper.config :
# one of the following values:
# rootonly,console,anybody
allowed_users=anybody
#nice_value=12
#eof
worked for me _EVENTUALLY_
oh the nice value is not needed its just MY pref.
and it should be console but I want to play with remote stuff ...
This WILL make your system less secure.
Last edited by PeteGozz (2017-06-21 15:40:10)
Offline
Pages: 1