Hi greengeek.greengeek wrote:Hi Pelo - did my remastered version give any improvement to the qc keyboard bug?
Please forgive me for the trouble. I just re-edited my qc.sh script. I did a bit of research
and tested a couple of times (pretending I was a Frenchman for a couple of minutes!) .
This new version of the script should work for French-from-France users who use the
azerty keyboard. (Whereas we French-Canadians use a modified qwerty keyboard.)
Code: Select all
#!/bin/ash
# qc.sh
# IMPORTANT ###########################
# Objectif : activer le clavier Québec (dit "fr-legacy") ou
# un autre clavier francophone. /
#
# Goal: properly activate the "fr-legacy" keyboard or other Francophone keyboard.
# (The usual way was too iffy.)
#
# Note to Anglophones: since you don't need this, the script is made such
# that your keyboard set-up is not altered in any way.
#
# Persons speaking a language other than French or English : you may use the section
# "other_laguages_here" reserved expressly for you.
##########################################################################
# Dérivé d'une astuce de "Médor" sur le forum Puppy francophone vers le temps du
# premier jet. / Derived from a trick by Médor on the French side of the Puppy forum
# at the time of first writing.
#
# (c) Christian L'Écuyer (alias musher0 [forum PuppyLinux]), Gatineau (Qc), Canada, 12 mai 2013.
# Rév. : 26 déc. 2014; 16 janv., 3 févr., 1er mai 2016.
# LGPL2
#### set -xe
case "${LANG:0:2}" in
fr)case "${LANG:3:2}" in
CA)Clav="qc" ;; # Vérifié
FR)Clav="fr" ;; # Vérifié
# CH)Clav= ;;
# BE)Clav= ;;
esac ;;
# autres_langues_ici|other_languages_here)
# pt)case "${LANG:3:2}" in
# PT)Clav="?????????" ;;
# BR)Clav="?????????" ;;
# esac ;;
# autres_langues_ici|other_languages_here)
# ;;
esac
setxkbmap -v 1 "$Clav" &>/dev/null
# Notes :
# -option compose:ralt (entre la commande et le param. -v )
# Ne pas utiliser. Prévient l'utilisation de AltGr + autre_touche...
#### set +xe
Also, I don't know how to say this... Your effort is greatly appreciated, but you didn't need
to give yourself the trouble to re-master and re-upload the entire iso just for these few
lines... It would've been ok to just copy and paste the script in /root/my-applications/bin,
and then put a symlink of it in /root/Startup.
It will be ok for pelo to copy and paste the above script in /root/my-applications/bin, and
then put a symlink of it in /root/Startup.
I know this may be confusing, so ask any and all questions that you may have!
BFN.