# keymap-v2 **Repository Path**: fengfan620/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**: 0 - **Forks**: 4 - **Created**: 2020-12-13 - **Last Updated**: 2023-11-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # keymap-v2 #### 介绍 [ubutnu22.04 close wayland](https://linuxconfig.org/how-to-use-x-instead-of-wayland-on-ubuntu-22-04) #### 使用说明 #### step 1. run ```shell sudo sh -c "$(wget https://gitee.com/fengfan620/keymap-v2/raw/master/keymap-v2.sh -O -)" ``` ##### 以后每次S 需要在开机一分钟后执行 ```shell sudo -b /usr/local/bin/x-set-keys \ --exclude-focus-class=Gnome-terminal \ /home/axe/guaconfig/keymap/keymap-v2.conf & ``` #### 待完善 - 不知道之前的 xhost 的作用,所以同意没加 - kill进程不报错 - 目的: 想解决如果没有 xkeysnail, 就不kill - 想法: 加个判断,但是就可能赋值空置, set -u 会断掉脚本 - 目前实现是 通过另外一个脚本 kill ```shell if [ $pid -gt 0 ] ; then kill -9 -1 $pid fi ``` - 自启动 systemctl 和 startup 均失败,原因未知 - 开机的一分钟左右,手动启动也会失败,原因未知