Deepin 15.4,


命令

-- 卸载包
sudo apt-get purge <package_name>

按键映射

-- capslock 映射为 ctrl

gsettings set com.deepin.dde.keybinding.mediakey capslock "['']"
gsettings set com.deepin.dde.keyboard layout-options "['ctrl:nocaps']"

注销登录

#### 按键说明
ctrl:nocaps                        Caps Lock as Ctrl
ctrl:lctrl_meta                    Left Ctrl as Meta
ctrl:swapcaps                      Swap Ctrl and Caps Lock
ctrl:ac_ctrl                       At left of 'A'
ctrl:aa_ctrl                       At bottom left
ctrl:rctrl_ralt                    Right Ctrl as Right Alt
ctrl:menu_rctrl                    Menu as Right Ctrl
ctrl:ctrl_ralt                     Right Alt as Right Ctrl
ctrl:swap_lalt_lctl                Swap Left Alt key with Left Ctrl key
ctrl:swap_lwin_lctl                Swap Left Win key with Left Ctrl key
ctrl:swap_rwin_rctl                Swap Right Win key with Right Ctrl key
ctrl:swap_lalt_lctl_lwin           Left Alt as Ctrl, Left Ctrl as Win, Left Win as Alt
caps:internal                      Caps Lock uses internal capitalization; Shift "pauses" Caps Lock
caps:internal_nocancel             Caps Lock uses internal capitalization; Shift doesn't affect Caps Lock
caps:shift                         Caps Lock acts as Shift with locking; Shift "pauses" Caps Lock
caps:shift_nocancel                Caps Lock acts as Shift with locking; Shift doesn't affect Caps Lock
caps:capslock                      Caps Lock toggles normal capitalization of alphabetic characters
caps:numlock                       Make Caps Lock an additional Num Lock
caps:swapescape                    Swap ESC and Caps Lock
caps:escape                        Make Caps Lock an additional ESC
caps:backspace                     Make Caps Lock an additional Backspace
caps:super                         Make Caps Lock an additional Super
caps:hyper                         Make Caps Lock an additional Hyper
caps:menu                          Make Caps Lock an additional Menu key
caps:shiftlock                     Caps Lock toggles ShiftLock (affects all keys)
caps:none                          Caps Lock is disabled
caps:ctrl_modifier                 Make Caps Lock an additional Ctrl

Deepin 按键映射方法

Install Python3.6

-- 安装 zlib (安装pip要用到,没有就error)
wget http://zlib.net/zlib-1.2.11.tar.xz
tar xJf zlib-1.2.11.tar.xz
cd zlib-1.2.11
./configure
make
make install


-- 安装相关包,解决pip error:
---------------
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
---------------

sudo apt-get install python-dev python3-dev libffi-dev libssl-dev


-- 安装Python3.6
wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz
tar xJf Python-3.6.1.tar.xz
cd Python-3.6.1
./configure --enable-optimizations
make
make install

which python3
python3 -V

相关内容

    暂无相关文章