v2ray (2023.11.18 测试发现安装内核的网址失效了,故更换为 clash)
注:相较于原版release,更改了文件结构,并添加了 clash 图标
cd ~/Downloads
unzip Clash.for.Windows-0.20.39-x64-linux.zip
mv Clash.for.Windows-0.20.39-x64-linux ~/Programs
cd ~/Programs/Clash.for.Windows-0.20.39-x64-linux
./cfw
测试能够正常打开即可,先不需要配置节点,按照本教程继续操作~
如果不创建应用程序,每次启动 clash 都需要在终端运行 ./cfw 命令来启动clash,这样很不方便
cd ~/.local/share/applications
touch clash.desktop
sudo gedit clash.desktop
将以下代码粘贴到 clash.desktop
文件,
注意更改 /home/xxx 为你的用户名!!!
```Plain Text
[Desktop Entry] Name=clash for linux Icon=/home/polarbear/Programs/Clash.for.Windows-0.20.39-x64-linux/resources/clash.png Exec=/home/polarbear/Programs/Clash.for.Windows-0.20.39-x64-linux/cfw Type=Application
Shell chmod a+x clash.desktop
Shell sudo gedit clash.desktop