# keymap-v2 **Repository Path**: hkmc/keymap-v2 ## Basic Information - **Project Name**: keymap-v2 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 4 - **Created**: 2021-01-19 - **Last Updated**: 2023-12-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # keymap-v2 #### 介绍 x-set-key is a key remapper for X Window System on Linux. #### 使用说明 ##### 第一次 1. kill guakepmap 第一版本 ```shell sudo sh -c "$(wget https://gitee.com/hkmc/keymap-v2/raw/master/kill-keymapv1.sh -O -)" ``` 2. run ```shell sudo sh -c "$(wget https://gitee.com/hkmc/keymap-v2/raw/master/keymap-v2.sh -O -)" ``` ##### 以后每次 启动 ```shell sudo sh -c "$(wget https://gitee.com/hkmc/keymap-v2/raw/master/run_keymap.sh -O -)" ``` 更新配置(会自动重启) ```shell sudo sh -c "$(wget https://gitee.com/hkmc/keymap-v2/raw/master/update_config.sh -O -)" ``` 手动重新启动 ```shell sudo sh -c "$(wget https://gitee.com/hkmc/keymap-v2/raw/master/restart_keymap.sh -O -)" ``` #### 待完善 - kill进程不报错 - 目的: 想解决如果没有 xkeysnail, 就不kill - 想法: 加个判断,但是就可能赋值空置, set -u 会断掉脚本 - 目前实现是 通过另外一个脚本 kill ```shell if [ $pid -gt 0 ] ; then kill -9 -1 $pid fi ```