* Change keymap using .xinitrc
@ 2022-03-14 1:03 goncholden via Users list for the GNU Emacs text editor
0 siblings, 0 replies; only message in thread
From: goncholden via Users list for the GNU Emacs text editor @ 2022-03-14 1:03 UTC (permalink / raw)
To: goncholden via Users list for the GNU Emacs text editor
I have made a .xinitrc file in my home directory. Want to run the file xinit.rc form directory ${HOME}/bin/inge.
Is the following the way to do things?
File: .xinitrc
#!/bin/bash
source ${HOME}/bin/inge/xinit.rc
--------
File: ${HOME}/bin/inge/xinit.rc
#!/bin/bash
linge_trk="${HOME}/bin/inge"
xmodmap_variant=2
if (( xmodmap_variant == 0 )); then
xmodmap ${linge_trk}/inge-xmodmap
elif (( xmodmap_variant == 1 )); then
xmodmap ${linge_trk}/camswap-xmodmap
else
echo "Not using xmodmap"
fi
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-14 1:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-14 1:03 Change keymap using .xinitrc goncholden via Users list for the GNU Emacs text editor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).