Cinnamon (简体中文)
Related articles
Cinnamon 是一个提供先进创新的特点和传统的用户体验的Linux桌面。桌面布局类似GNOME面板(GNOME 2);然而,底层的技术又是基于GNOME Shell(GNOME 3)。给使用者提供了一个易于使用的和舒适的桌面体验。在Cinnamon 2.2版本中,Cinnamon已经是一个完整的桌面环境,不仅仅是一个GNOME的前端。
Contents
安装
启动 Cinnamon
图形化登录
在你喜欢的 display manager 选择 Cinnamon 或者是 Cinnamon (Software Rendering) 。Cinnamon选项是3D加速的版本,一般使用这个。如果你的显卡驱动出现问题,试试“'cinnamon(软件渲染)”,这个禁用了3D加速。
手动启动Cinnamon
如果你喜欢控制台启动Cinnamon, 添加以下行到 Xinitrc (cinnamon 1.9 或更高版本):
~/.xinitrc
exec cinnamon-session
如果你想用 Cinnamon (Software Rendering) , 用 cinnamon-session-cinnamon2d
代替 cinnamon-session
.
配置
Cinnamon很容易配置,很多的配置正如大多数人所希望的那样可以在图形化界面下完成. 更多详情可查看以下网站applets/ extensions/theming.
Cinnamon系统设置
启动cinnamon系统设置 、
$ cinnamon-settings
查看设置界面的模块:
$ pacman -Ql cinnamon | grep -o "cs_.*\.py" | awk -F'[_.]' '{ print $2 }'
打开其中的一个模块
$ cinnamon-settings 模块名称
示例:
$ cinnamon-settings panel
网络
添加网络模块的支持, 请看 Network Manager.
蓝牙
Cinnamon的蓝牙前端可以在AUR中找到: cinnamon-bluetoothAUR.
应用程序和扩展
许多cinnamon的应用程序和扩展可以在 AUR, (package search)找到,也可以在Cinnamon的“小程序”和“拓展”中找到 (在线获取更多选项卡中):
$ cinnamon-settings applets $ cinnamon-settings extensions
也可以从 Cinnamon spices下载并手动安装.
小贴士
创建自定义应用程序/主题
默认的桌面背景壁纸路径
当你在Cinnamon设置自定义的路径的壁纸,, Cinnamon 会将其复制到 ~/.cinnamon/backgrounds
. 因此, 每一个改变你的壁纸,你都得再次在设置菜单添加你的墙纸到或将其复制到 ~/.cinnamon/backgrounds
.
添加“计算机”“主目录”“回收站”等常用图标与新的启动器
你可以在“设置”=>“桌面”添加部分常有图标,如“计算机”“主目录”“回收站”等。如要添加其它的启动器,右击桌面并选择“在此创建一个新的启动器”即可。
工作区
默认情况下,有2个工作区。增加,按Ctrl+ Alt +上键显示所有的工作区。然后点击右边的加号按钮在屏幕添加更多的工作区。
隐藏桌面图标
用下面的命令更改设置:
$ gsettings set org.nemo.desktop show-desktop-icons false
GTK主题和图标
Linux Mint风格的主题和图标可以在AUR安装: mint-themesAUR and mint-x-iconsAUR. 可以在 Settings → Themes → Other settings
编辑主题.
调整窗口的大小
用Alt+右键调整窗口的大小,使用gsettings:gsettings set org.cinnamon.desktop.wm.preferences resize-with-right-button true
故障排除
qgtkstyle无法检测到当前主题
Installing libgnome-data solves the problem partially, and QGtkStyle will detect the current GTK+ theme. However, to set the same icon and cursor theme, users must specify them explicitly.
The icon theme for Qt apps can be configured by the following command:
$ gconftool-2 --set --type string /desktop/gnome/interface/icon_theme Faenza-Dark
This sets the icon theme to Faenza-Dark located in /usr/share/icons/Faenza-Dark
.
The cursor theme for Qt apps can be selected by creating a symbolic link:
$ mkdir ~/.icons $ ln -s /usr/share/icons/Adwaita ~/.icons/default
This sets the cursor theme to Adwaita located in /usr/share/icons/Adwaita
.
按下电源键时系统自动挂起
This is the default behaviour. To change the setting open the cinnamon-settings
panel and click on the "Power Management" option. Change the "When the power button is pressed" option to your desired behaviour.
音量没有保存
The volume level is not be saved after reboot. The volume will be at 0 but not muted. Installing alsa-utils will solve the problem.
cinnamon设置无法找到一个特定的模块
If cinnamon-settings
does not start with the message that it cannot find a certain module, e.g. the Image module, it is likely that it uses outdated compiled files which refer to no longer existing file locations. In this case remove all *.pyc
files in /usr/lib/cinnamon-settings
and its sub-folders.
无法添加/删除/修改Cinnamon语言
The language module was removed from the Cinnamon Control Panel with the release of Cinnamon 2.2 and provided a new package for changing the language settings.
To add/remove languages, see Locale.
To change between enabled languages, install the mintlocaleAUR package.