Kali Linux Gnome 环境下使用全局菜单
2022-09-24
[toc]
1. 目标
-
Gnome环境下使用全局菜单,仿 Mac 显示应用程序菜单
0.png
2. 预备
- OS: Kali GNU/Linux Rolling 2022.3
- SW: Fildem
3. 操作
3.1 安装
sudo apt install libbamf3-dev bamfdaemon libkeybinder-3.0-dev git python3-pip
python3 -m pip install --user fuzzysearch
sudo apt install appmenu-gtk-module-common appmenu-gtk2-module appmenu-gtk3-module
cd /opt
git clone https://github.com/gonzaarcr/Fildem
cd Fildem
mv fildemGMenu@gonza.com ~/.local/share/gnome-shell/extensions
sudo python3 setup.py install --optimize=1
3.2 配置
gedit ~/.gtkrc-2.0
#增加
gtk-modules="appmenu-gtk-module"
gedit ~/.config/gtk-3.0/settings.ini
#在[Settings]中增加
gtk-modules="appmenu-gtk-module"
3.3 启用
# 在扩展中启动 Fildem
gnome-extensions-app
# 然后退出当前账号或重启系统
3.4 测试
fildem
3.5 自启
gedit ~/.config/autostart/fildem.desktop
## 添加内容
[Desktop Entry]
Type=Application
Exec=fildem
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=Fildem
Name=Fildem
Comment[en_US]=Fildem Global Menu and HUD
Comment=Fildem Global Menu and HUD
网友评论