- gnome3的美化
- 最大化时隐藏标题栏
- 关键是这个文件: /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml
找到frame_geometry name="max"的段落,改成上面这样就可以了,当然如果你用的是其他主题,改对应的就行了<frame_geometry name="max" has_title="false" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false"> <distance name="left_width" value="0" /> <distance name="right_width" value="0" /> <distance name="left_titlebar_edge" value="0"/> <distance name="right_titlebar_edge" value="0"/> <distance name="title_vertical_pad" value="0"/> <!-- This needs to be 1 less then the title_vertical_pad on normal state or you'll have bigger buttons --> <border name="title_border" left="0" right="0" top="0" bottom="0"/> <border name="button_border" left="0" right="0" top="0" bottom="0"/> <distance name="bottom_height" value="0" /> </frame_geometry>
- 关键是这个文件: /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml
- 修改panel的样式
- 改默认主题样式文件/usr/share/gnome-shell/theme/gnome-shell.css
关键是background-color那一行,把原来的black改成类似于上面这样就可以了#panel { background-color: rgba(0,0,0,0.7); font-weight: bold; height: 1.86em; }
- 改默认主题样式文件/usr/share/gnome-shell/theme/gnome-shell.css
- 比较好用的shell扩展
- Dash to dock
- Weather
- Alternatetab
- Application menu
- User themes
- 最大化时隐藏标题栏
- 关闭盖子动作
-
gnome3这一点有点坑爹,习惯上一般合上盖子就是关闭屏幕而已,并不会希望休眠,因为有时候长时间下载东西或者其他需要长时间运行的东西一般会把盖子合上省电点嘛,但休眠了,网卡也就关闭了……debian上面的话这一点在org.gnome.settings-daemon.plugins.power里面设置(可以用dconf-editor或者gsettings),找到lid-close-*两项并修改之
- lid-close-ac-action=>nothing;
- lid-close-battery-action=>nothing;
- fedora上面大概是gnome3更新的原因吧,连这两个设置项都没有……只能找到文件/etc/systemd/logind.conf修改其中的HandleLidSwitch为ignore,然后执行
sudo systemctl restart systemd-logind.service;
-
- 右上角的菜单里面没有logout/注销
- org.gnome.shell.always-show-log-out设置为true,同样dconf-editor和gsettings都可以用
- 默认集成了ibus,想换fcitx
sudo yum remove ibus; gsettings set org.gnome.settings-daemon.plugins.keyboard active false; sudo yum install fcitx fcitx-pinyin fcitx-sunpinyin;
- 禁止nautilus自动挂载插入的u盘
- org.gnome.desktop.media-handling.automount和org.gnome.desktop.media-handling.automount-open两项分别控制自动挂载和自动挂载后用nautilus打开,都是布尔值,设成true/false就行