Cinnamon
Cinnamon is a desktop environment which combines a traditional desktop layout with modern graphical effects. The underlying technology was forked from the GNOME desktop. As of version 2.0, Cinnamon is a complete desktop environment and not merely a frontend for GNOME like GNOME Shell and Unity.
Installation
Cinnamon can be installed with the package cinnamon .
Cinnamon applications
Cinnamon introduces X-Apps which are based on GNOME Core Applications but are changed to work across Cinnamon, MATE and XFCE; they have the traditional user interface (UI).
Application | GNOME | Cinnamon |
---|---|---|
Text editor | Gedit/Pluma | xed |
Image viewer | Eye of GNOME | xviewer AUR |
Document viewer | Evince/Atril | xreader |
Media player | Totem | xplayer AUR |
Image organizer | gThumb | pix AUR |
Fallback mode
On the event when Cinnamon crashes, its Fallback mode activates. To control opened windows in this mode, you need to install metacity package and gnome-shell to have a taskbar.
Starting
Graphical log-in
Choose Cinnamon or Cinnamon (Software Rendering) from the menu in a display manager of choice. Cinnamon is the 3D accelerated version, which should normally be used. If you experience problems with your video driver (e.g. artifacts or crashing), try the Cinnamon (Software Rendering) session, which disables 3D acceleration.
Starting Cinnamon manually
If you prefer to start Cinnamon manually from the console, add the following line to Xinitrc:
If the Cinnamon (Software Rendering) session is required, use cinnamon-session-cinnamon2d instead of cinnamon-session .
Restarting Cinnamon
The following needs to be executed as the user the Cinnamon instance is running under:
To restart Cinnamon from outside a dbus session, you can use something like this:
Configuration
Cinnamon is quite easy to configure — most common settings can be configured graphically. Its usability can be expanded with applets and extensions, and also it supports theming.
Cinnamon settings
cinnamon-settings launches a settings module specified on the command line. Without (correct) arguments, it launches System Settings. For example, to start the panel settings:
To list all available modules:
Printers For configure printers, install the system-config-printer package. Networking To add support for the networking module, enable Network Manager. In order for NetworkManager to store Wi-Fi passwords, you will need to also install GNOME Keyring. Bluetooth For Bluetooth device support, install the blueberry package. If Blueberry is unable to enable or disable Bluetooth, add yourself (and/or any relevant users) to the «rfkill» user group. See Users and groups#Group management for more information.
Applets and extensions
While an applet is an addition to the Cinnamon panel, an extension can fully change the Cinnamon experience. They can be installed from the AUR, (package search), or from inside Cinnamon (Get more online):
Alternatively, install manually from Cinnamon spices.
Pressing power buttons suspend the system
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.
Manage languages used in Cinnamon
- To add/remove languages: see Locale.
- To change between enabled languages: install the mintlocaleAUR package.
- For Cinnamon to correctly display another language: install the cinnamon-translations package.
- To change the keyboard layout: navigate to System Settings > Hardware > Keyboard > Layouts.
Use a different window manager
Cinnamon does not support using a different window manager.
Tips and tricks
Creating custom applets
The official tutorial on creating a Cinnamon applet can be found here.
Default desktop background wallpaper path
When you add a wallpaper from a custom path in Cinnamon Settings, Cinnamon copies it to
/.cinnamon/backgrounds . Thus, with every change of your wallpaper, you would have to add your updated wallpaper again from the settings menu or copy / symlink it manually to
Additionally, the official mint wallpapers are available for every release. Checkout the AUR.
Show home, filesystem desktop icons
By default, Cinnamon starts with desktop icons enabled but with no desktop icons on screen. To show desktop icons for the home folder, the filesystem, the trash, mounted volumes and network servers, open Cinnamon settings and click on desktop. Enable the checkboxes of the icons you want to see on screen.
Menu editor
The Menu applet supports launching custom commands. Right click on the applet, click on Configure. and then Open the menu editor. Select a sub-menu (or create a new one) and select New Item. Set Name, Command and Comment. Check the launch in terminal checkbox if needed. Leave unchecked for graphical applications. Click OK and close the menu editor afterwards. The launcher is added to the menu.
Workspaces
A workspace pager can be added to the panel. Right click the panel and choose the option Add applets to the panel. Add the Workspace switch applet to the panel. To change its position, right click on the panel and change the Panel edit mode on/off switch to on. Click and drag the switcher to the desired position and turn the panel edit mode off when finished.
By default, there are 2 workspaces. To add more, hit Control+Alt+Up to show all workspaces. Then click on the plus sign button on the right of the screen to add more workspaces.
Alternatively, you can choose the number by command-line:
Replacing 4 with the number of workspaces you want.
Hide desktop icons
The desktop icons rendering feature is enabled in Nemo by default. To disable this feature, change the setting with the following command:
Themes, icons and backgrounds
Linux Mint styled themes, icons and backgrounds can be installed with the mint-themes AUR , mint-themes-legacy AUR , mint-x-icons AUR , mint-y-icons AUR , mint-artwork AUR and mint-backgrounds AUR packages. Whereby the latter is a collection of all backgrounds included in all Linux Mint Versions. Backgrounds of individual Linux Mint versions are also available over the AUR.
The themes and icons can be edited in Settings > Themes. The backgrounds in Settings > Backgrounds.
Official Linux Mint Cinnamon themes are also included in the mint-themes AUR and mint-themes-legacy AUR packages.
Setting the desktop theme via shell can be done like this:
Sound events
Cinnamon does not come with sounds used for events like the startup of the desktop that are also used in Linux Mint by default. These sound effects can be installed with the mint-artwork AUR package. The sound events can be edited in Settings > Sound > Sound Effects.
Resize windows by mouse
To resize windows with Alt+Right click , use gsettings :
Portable keybindings
To export your keyboard shortcut keys:
To later import it on another device:
Screenshot
As explained in Taking a screenshot, installing gnome-screenshot will add this functionality. The default shortcut key is PrintScreen key. This binding can be changed in the applet Menu > Preferences > Keyboard under Shortcuts > System > Screenshots and Recording. The default save directory is $HOME/Pictures , but can be customized with eg.
Prevent Cinnamon from overriding xrandr/xinput configuration
The cinnamon-settings-daemon provides a number of plugins which can manage the display, keyboard and mouse. These plugins will override user set configuration (such as xrandr commands in the xinitrc file). To stop user set configuration from being overridden, it is necessary to prevent the settings daemon plugins from being started.
This can be done by copying the .desktop entry for the relevant settings daemon plugin (these will be located in /etc/xdg/autostart/ ) to $HOME/.config/autostart . Then append the line Hidden=true to each copied entry.
To preserve display, keyboard and mouse settings, consider disabling the following:
Troubleshooting
Debugging
You can use the cinnamon-looking-glass tool (Melange — Cinnamon Debugger) to inspect various things about the Cinnamon environment:
- a list of currently-open windows
- a list of currently-loaded extensions (applets, desklets, etc.)
- logs
The «logs» feature is especially useful if you are encountering crashes (often happening due to extensions no being compatible or buggy).
cinnamon-settings: No module named Image
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. See the upstream bug report.
Starting Cinnamon from tty after crash
If Cinnamon is completely unresponsive, it can be restarted from the TTY ( Alt+F2 ) with:
Video tearing
Because muffin is based upon mutter , video tearing fixes for GNOME should also work in Cinnamon. See GNOME/Troubleshooting#Tear-free video with Intel HD Graphics for more information.
Disable the NetworkManager applet
Even if you do not use NetworkManager and remove the Network Manager applet from the default panel, Cinnamon will still load nm-applet and display it in the system tray. You cannot uninstall the package because it is required by cinnamon and cinnamon-control-center , but you can still easily disable it. To do so, copy the autostart file from /etc/xdg/autostart/nm-applet.desktop to
/.config/autostart/nm-applet.desktop . Open it with your favorite text editor and add at the end X-GNOME-Autostart-enabled=false .
Alternatively, you can disable it by creating the following symlink:
The ability to blacklist particular icons from the system tray (such as the nm-applet icon) has been requested upstream.
Cinnamon overrides settings in xorg.conf
Cinnamon overrides custom settings in xorg.conf like display orientation and layout.
Open System Settings > Startup Applications and set Cinnamon Settings Daemon — xrandr to OFF.
LMDE, как добавить новое разрешение экрана и как загрузить его?
После перезагрузки, новое разрешение экрана не применяется.
Отмечу, что в автозапуске помимо моего скрипта, также имеются:
— cinnamon settings daemon — xrandr
— ctrl + alt + backspace (for restart xorg)
ну и другие скрипты.
Буду признателен, если подскажете, что именно нужно обновить.
Отмечу, что указанный выше скрипт рабочий и при добавлении через терминал в разделе «Дисплей» появляется нужное разрешение и при применении корректно отображается
- Вопрос задан более трёх лет назад
- 708 просмотров
- Вконтакте
/.config/autostart
помимо исполняемого скрипта display.sh который добавляет нужное разрешение
находятся кнопка запуска этого скрипта display.sh.desktop
- Вконтакте
Здравствуйте!
Благодарю за ответ, но он не сработал.
Выполнил 2 команды:
В разделе «Автозагрузка» вижу новую конфигурацию, перезагружаю и ничего. Ощущение, будто что-то перебивает этот конфиг.
также к вышеуказанному коду конфигурации дисплея добавил строку:
cvt 1600 900 60
Без этой строки он выдавал ошибку failed to parsing.
Но все равно не работает. Перезагрузка не дала результатов.
SOTVM, здравствуйте!
попробовал, отключить cinnamon settings daemon — xrandr и перезагрузился. Безрезультатно
попробовал назначить приоритет переименовав файл и тоже безрезультатно.
В коде действительно ошибка (некорректно скопировал код из редактора nano).
Вот, корректный код:
XRandR: настройка режимов работы с дисплеями (мониторами) в GNU/Linux
После этого у вас будет виртуальное разрешение 1280×720 при 1024×600 физическом.
- —rotate normal
- —rotate left
- —rotate right
- —rotate inverted (поворот на 180°)
Сохранение настроек
Для активации необходимых настроек при старте, создайте файл
/ указывает на расположение в домашней директории) и внесите в него необходимые строки команд xrandr.
Статья частично основана по материалам англоязычной документации.
Автор: Alex, дата: 13 августа 2013 , время: 20:02:58 (MSK).
Добрый день. Вот что мек выдает xrandr:
"Screen 0: minimum 320 x 200, current 3280 x 1200, maximum 3120 x 3120
DFP1 disconnected (normal left inverted right x axis y axis)
DFP2 disconnected (normal left inverted right x axis y axis)
DFP3 disconnected (normal left inverted right x axis y axis)
DFP4 disconnected (normal left inverted right x axis y axis)
DFP5 disconnected (normal left inverted right x axis y axis)
DFP6 disconnected (normal left inverted right x axis y axis)
DFP7 disconnected (normal left inverted right x axis y axis)
DFP8 disconnected (normal left inverted right x axis y axis)
DFP9 connected 1680×1050+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
1680×1050 60.0*+
1400×1050 60.0
1280×1024 75.0 60.0
1440×900 75.0 59.9
1280×960 60.0
1280×800 60.0
1152×864 60.0 75.0
1280×768 60.0
1280×720 60.0
1024×768 75.0 70.1 60.0
800×600 72.2 75.0 60.3 56.2
640×480 75.0 72.8 67.0 59.9
DFP10 disconnected (normal left inverted right x axis y axis)
CRT1 connected 1600×1200+1680+0 (normal left inverted right x axis y axis) 0mm x 0mm
1600×1200 60.0*+
1400×1050 60.0
1600×900 60.0
1280×1024 60.0
1440×900 59.9
1280×960 60.0
1366×768 59.8
1360×768 60.0
1280×800 59.8
1152×864 60.0
1280×768 59.9
1280×720 60.0
1024×768 60.0
800×600 60.3
720×480 60.0
640×480 59.9"
что и как мне надо изменить, чтобы CRT1 работал в резолюции 1920х1080. В данный момент 1600 — это максимальная резолюция.
/.xprofile должен быть исполняемым. В англоязычной версии это описано. Я, как новичок, этого не сделал. И, как следствие, при запуске системы разрешение не устанавливается на нужное автоматически. А таких новичков много в сети.
/.xprofile (можно использовать редактор nano).
Автор: Margo, дата: 05 января 2016 , время: 20:54:07 (MSK).
Спасибо за быстрый ответ,
в консоль перешла, но у меня такого файла нет.
Где еще оно может быть закопано?
Сходила логическим путем: если у вас "Отключить не нужный в данный момент дисплей можно с помощью опции —off:
xrandr —output LVDS1 —off"
— то включить решила с помощью "всё то же самое —on". Ан нет, размечталась, не так просто.
xrandr вообще отвечает Can’t open display.
А вот как xrandr выглядит в другой системе (зашла со спас.диска):
$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
VGA-1 connected 1024×768+0+0 (normal left inverted right x axis y axis) 350mm x 260mm
1600×1200 60.0 60.0
1280×1024 75.0 59.9
1024×768 85.0 75.1 60.0*
800×600 100.0 85.1 75.0 60.3
640×480 85.0 60.0
720×400 70.1
DVI-I-1 disconnected (normal left inverted right x axis y axis)
TV-1 connected 1024×768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
720×576 50.0 +
1024×768 50.0*
800×600 50.0
720×480 50.0
640×480 50.0
400×300 100.0
320×240 100.0
320×200 100.0
Я так понимаю, VGA-1 это и есть тот монитор, который я убила в своей основной системе? черт побери, один случайный клик мышкой. 🙁
/.xprofile с командой xrandr —output VGA-1 —mode 1600×1200 и перезагрузить.
Автор: Margo, дата: 06 января 2016 , время: 03:14:50 (MSK).
Вроде выкрутилась.
Первый способ:
в начале загрузки выбрать recovery mode,
в recovery mode выбрать resume normal boot,
выйдет предупреждение, что это типа Safe mode и не все графические драйверы могут работать,
кликнула ОК, загрузка продолжилась, пришла куда хотела, всё работает как всегда.
Правда, при перезагрузке та же засада, монитор отключается, т.е. recovery mode теперь пожизненно, если не переписать config файл (но КАКОЙ именно. ).
Ну и ладно, всё равно новую ставить пора, сейчас у меня Минт14 Надя, если кому интересно.
Второй способ:
дождаться конца загрузки, перейти в терминал Ctrl+Alt+F2 (у меня F1 тоже годится, да и остальные, наверно, просто не проверяла),
залогиниться, зайти под рутом, скомандовать startx
(если не под рутом, то монитор опять выключится),
далее имею первозданное окно Линукс Минт как только что с диска, т.е. без моих гламурных настроек и почему-то. без мозиллы! Все остальное, установленное за последний год, на месте (включая игры), и всё работает штатно. Исчезла только мозилла, а она-то самое главное, сотни закладок и паролей. Не исключаю, впрочем, что получила бы свою мозиллу со всеми закладками, если б попробовала ее заново установить через синаптик или Оперу — через recovery mode она же загружается! значит, она где-то тут — просто уже не было времени на эксперименты.
Теперь спокойненько, с кофе и булочкой, бэкапнула закладки и попробую создать файл по вашему совету. 🙂
Спасибо, что поддержали!
$ xrandr
Screen 0: minimum 8 x 8, current 1024 x 768, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
user@ubuntu:
$ xrandr -s 1600×900
Size 1600×900 not found in available modes
user@ubuntu:
Name already in use
arch-wiki-md-repo / wiki / _content / english / Cinnamon.md
- Go to file T
- Go to line L
- Copy path
- Copy permalink
- Open with Desktop
- View raw
- Copy raw contents Copy raw contents
Copy raw contents
Copy raw contents
Cinnamon is a desktop environment which combines a traditional desktop layout with modern graphical effects. The underlying technology was forked from the GNOME desktop. As of version 2.0, Cinnamon is a complete desktop environment and not merely a frontend for GNOME like GNOME Shell and Unity.
Cinnamon can be installed with the package cinnamon.
Note: If you have an Intel GPU, make sure you are not using xf86-video-intel with Cinnamon as it may freeze at random times otherwise, but you can still move the mouse. Use the modesetting(4) driver instead by removing xf86-video-intel (KDE also recommends this).
Cinnamon introduces X-Apps which are based on GNOME Core Applications but are changed to work across Cinnamon, MATE and XFCE; they have the traditional user interface (UI).
| Application | GNOME | Cinnamon | | text editor | Gedit/Pluma | xed | | image viewer | Eye of GNOME | xviewer | | document viewer | Evince/Atril | xreader | | media player | Totem | xplayer | | image organizer | gThumb | pix |
Choose Cinnamon or Cinnamon (Software Rendering) from the menu in a display manager of choice. Cinnamon is the 3D accelerated version, which should normally be used. If you experience problems with your video driver (e.g. artifacts or crashing), try the Cinnamon (Software Rendering) session, which disables 3D acceleration.
Starting Cinnamon manually
If you prefer to start Cinnamon manually from the console, add the following line to Xinitrc:
If the Cinnamon (Software Rendering) session is required, use cinnamon-session-cinnamon2d instead of cinnamon-session .
From a command line, execute the following line:
Cinnamon is quite easy to configure — most common settings can be configured graphically. Its usability can be expanded with applets and extensions, and also it supports theming.
cinnamon-settings launches a settings module specified on the command line. Without (correct) arguments, it launches System Settings. For example, to start the panel settings:
To list all available modules:
Applets and extensions
While an applet is an addition to the Cinnamon panel, an extension can fully change the Cinnamon experience. They can be installed from the AUR, (package search), or from inside Cinnamon (Get more online):
Alternatively, install manually from Cinnamon spices.
Note: If applets do not appear, restart Cinnamon with r in the Alt+F2 dialog box.
Pressing power buttons suspend the system
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.
Manage languages used in Cinnamon
Note: The language module was removed from the Cinnamon Control Panel with the release of Cinnamon 2.2. [1]
- To add/remove languages: see Locale.
- To change between enabled languages: install the mintlocale package.
- For Cinnamon to correctly display another language: install the cinnamon-translations package.
- To change the keyboard layout: navigate to System Settings > Hardware > Keyboard > Layouts.
Use a different window manager
Cinnamon does not support using a different window manager.
Tips and tricks
Creating custom applets
The official tutorial on creating a Cinnamon applet can be found here.
Default desktop background wallpaper path
When you add a wallpaper from a custom path in Cinnamon Settings, Cinnamon copies it to
/.cinnamon/backgrounds . Thus, with every change of your wallpaper you would have to add your updated wallpaper again from the settings menu or copy / symlink it manually to
Additionally the official mint wallpapers are available for every release. Checkout the AUR.
Show home, filesystem desktop icons
By default Cinnamon starts with desktop icons enabled but with no desktop icons on screen. To show desktop icons for the home folder, the filesystem, the trash, mounted volumes and network servers open Cinnamon settings and click on desktop. Enable the checkboxes of the icons you want to see on screen.
The Menu applet supports launching custom commands. Right click on the applet, click on Configure. and then Open the menu editor. Select a sub-menu (or create a new one) and select New Item. Set Name, Command and Comment. Check the launch in terminal checkbox if needed. Leave unchecked for graphical applications. Click OK and close the menu editor afterwards. The launcher is added to the menu.
A workspace pager can be added to the panel. Right click the panel and choose the option Add applets to the panel. Add the Workspace switch applet to the panel. To change its position right click on the panel and change the Panel edit mode on/off switch to on. Click and drag the switcher to the desired position and turn the panel edit mode off when finished.
By default there are 2 workspaces. To add more, hit Control+Alt+Up to show all workspaces. Then click on the plus sign button on the right of the screen to add more workspaces.
Alternatively, you can choose the number by command-line:
Replacing 4 with the number of workspaces you want.
Hide desktop icons
The desktop icons rendering feature is enabled in Nemo by default. To disable this feature, change the setting with the following command:
Themes and icons
Linux Mint styled themes and icons can be installed with the mint-themes, mint-x-icons, and mint-y-icons packages. The themes can be edited in Settings → Themes → Other settings .
Official Linux Mint Cinnamon themes are also included in the mint-themes package.
Setting the desktop theme via shell can be done like this:
Cinnamon does not come with sounds used for events like the startup of the desktop that are also used in Linux Mint by default. These sound effects can be installed with the cinnamon-sound-effects and mint-sounds packages. The sound events can be edited in Settings → Sound → Sound Effects .
Resize windows by mouse
To resize windows with Alt+Right click , use gsettings :
To export your keyboard shortcut keys, you should do:
To later import it (for example) on another computer, do:
As explained in Taking a screenshot, installing gnome-screenshot will add this functionality. The default shortcut key is Prt Sc key. This binding can be changed in the applet Menu > Preferences > Keyboard under Shortcuts > System > Screenshots and Recording. The default save directory is $HOME/Pictures , but can be customized with eg.
Prevent Cinnamon from overriding xrandr/xinput configuration
The cinnamon-settings-daemon provides a number of plugins which can manage the display, keyboard and mouse. These plugins will override user set configuration (such as xrandr commands in the xinitrc file). To stop user set configuration from being overridden, it is necessary to prevent the settings daemon plugins from being started.
This can be done by copying the .desktop entry for the relevant settings daemon plugin (these will be located in /etc/xdg/autostart/ ) to $HOME/.config/autostart . Then append the line Hidden=true to each copied entry.
Tip: Start your session with cinnamon-session —debug to see which plugins are reported to have been started.
To preserve display, keyboard and mouse settings, consider disabling the following:
You can use the cinnamon-looking-glass tool (Melange — Cinnamon Debugger) to inspect various things about the Cinnamon environment:
- a list of currently-open windows
- a list of currently-loaded extensions (applets, desklets, etc.)
- logs
The «logs» feature is especially useful if you’re encountering crashes (often happening due to extensions no being compatible or buggy).
cinnamon-settings: No module named Image
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. See the upstream bug report.
Because muffin is based upon mutter, video tearing fixes for GNOME should also work in Cinnamon. See GNOME/Troubleshooting#Tear-free video with Intel HD Graphics for more information.
Disable the NetworkManager applet
Even if you do not use NetworkManager and remove the Network Manager applet from the default panel, Cinnamon will still load nm-applet and display it in the system tray. You cannot uninstall the package, because it is required by cinnamon and cinnamon-control-center, but you can still easily disable it. To do so copy the autostart file from /etc/xdg/autostart/nm-applet.desktop to
/.config/autostart/nm-applet.desktop . Open it with your favorite text editor and add at the end X-GNOME-Autostart-enabled=false .
Alternatively you can disable it by creating the following symlink:
The ability to blacklist particular icons from the system tray (such as the nm-applet icon) has been requested upstream.