
Keyboard Layout in Q4OS
What for?
Let's just say that no solution was found in one place. Having spent time on a working layout, I decided to share it with the community. It will be useful to those who prefer switching languages on the keyboard 'Ctrl + Shift', 'Alt + Shift' ..., instead of 'Alt + Space' or 'Ctrl + Alt + K' by default.
It all started with the fact that it needed a light and functional system for users familiar only with Windows with a weak hardware component. Q4OS met the requirements, but many did not accept the default switching of languages.
A little about the system
- Q4OS is a fast and powerful desktop operating system designed in such a way as to consider a classic interface, long-term support, and a basic set of functions for launching various applications. The system is characterized by high speed and low system requirements.
- Minimum system requirements: Pentium 300MHz / 128MB RAM / 3GB disk
- The system is based on Debian , the TDE desktop shell , if necessary, the system can be easily styled under Windows using XPQ4
Customize keyboard layout in Q4OS (1.4.12, Orion)
Install gxkb - indicator and keyboard layout switch for X11.
sudo su aptitude install gxkb
Or install fresher for your architecture.
https://sourceforge.net/projects/gxkb/
Looking ahead, you will need libraries.
sudo su aptitude install libappindicator1 libwnck22 libxklavier16
Install the downloaded package gxkb_0.7.5_i386.deb
sudo su dpkg -i gxkb_0.7.5_i386.deb
We start through a quick start by typing gxkb
or from the console as a user .
/usr/bin/gxkb
The configuration file gxkb.cfg will appear after the first close of the program in the user directory ~ / .config / gxkb /.
- Right-click on the tray icon, exit the program
- We correct the created config, a more detailed description of its options
Below is a modified default, with switching layouts Ctrt + Shift
vi ~/.config/gxkb/gxkb.cfg
# --- >
[xkb config]
group_policy=2
default_group=0
never_modify_config=false
model=pc105
layouts=us,ru,ua
variants=,
toggle_option=grp:ctrt_shift_toggle,grp_led:scroll,terminate:ctrl_alt_bksp
compose_key_position=
# --- <
The program itself does not start (upon reboot), we add it to Trinity startup .
Run as user !
cd ~/.trinity/Autostart
ln -s /usr/bin/gxkb gxkb
Disable the system switch layout
- Start -> Control Center -> Regional and Accessibility -> Keyboard Layout
- Uncheck “Enable keyboard layout switching”
Go to the Xkb Options tab
- Check "Use XKB Switches"
- Remove to “Ignore system settings”
- In the parameters put on 'Ctrl + Shift' (Selected must match the one specified in gxkb.cfg) Therefore, when changing to an alternative (for example 'Alt + Shift'), change in two places!
- Apply -> Ok
Reboot and enjoy.
Performance tested pipelined on multiple PCs.