Перейти к содержимому

Cinnamon settings daemon xrandr что это

  • автор:

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-l-theme 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.

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)
ну и другие скрипты.
Буду признателен, если подскажете, что именно нужно обновить.

Отмечу, что указанный выше скрипт рабочий и при добавлении через терминал в разделе «Дисплей» появляется нужное разрешение и при применении корректно отображается

  • Вопрос задан более трёх лет назад
  • 737 просмотров
  • Facebook
  • Вконтакте
  • Twitter

sotvm

/.config/autostart
помимо исполняемого скрипта display.sh который добавляет нужное разрешение
находятся кнопка запуска этого скрипта display.sh.desktop

  • Facebook
  • Вконтакте
  • Twitter

azerphoenix

Здравствуйте!
Благодарю за ответ, но он не сработал.
Выполнил 2 команды:

В разделе «Автозагрузка» вижу новую конфигурацию, перезагружаю и ничего. Ощущение, будто что-то перебивает этот конфиг.

azerphoenix

также к вышеуказанному коду конфигурации дисплея добавил строку:
cvt 1600 900 60

Без этой строки он выдавал ошибку failed to parsing.

Но все равно не работает. Перезагрузка не дала результатов.

sotvm

sotvm

azerphoenix

SOTVM, здравствуйте!
попробовал, отключить cinnamon settings daemon — xrandr и перезагрузился. Безрезультатно
попробовал назначить приоритет переименовав файл и тоже безрезультатно.

В коде действительно ошибка (некорректно скопировал код из редактора nano).
Вот, корректный код:

Приоритет мониторов и перебрасыванние окон

Есть 2 монитора, один слева вторичный (secondary) и справа первичный (primary).

В домашней директории сделал файлик .xprofile с содержимым:

Левый вторичный монитор часто отключаю (физически на кнопку). После отключения, где-то секунд через 20, система, похоже, распознаёт его отключённым. После включения всё моргает и окна перемещаются на этот левый монитор. Как систему заставить принудительно считать правый первичным всегда (параметр primary не помог, хотя панель на вторичном скрыта) и запретить перекидывать окна автоматически?

Пардон, а зачем делать файлик в .xprofile, если в KDE Это все настраивается? У тебя же Kubuntu.

Тут дело не много не в том. Позиции окон отсчитываются от начала координат, которое находится в верхнем левом углу. Соответственно, когда ты включаешь левый монитор, начало координат уезжает на левый монитор, и все окна из-за этого смещаются. Тебе нужен оконный менеджер, который бы умел обрабатывать такие ситуации.

Zubok, как? (arandr не предлагать)

Khnazile, предположим, тогда есть ли вариант сделать, чтобы монитор не «уходил в спячку» при выключенном питание?

Ну у меня никогда не было KDE, но там должно быть. Вот в видео: https://www.youtube.com/watch?v=t7Gb48XQUXQ

Zubok, спасибо, но это абсолютно никак не помогает решить проблему.

Из интересного там — только лишь модель мониторов показывает, даже на стареньком через VGA. Раньше нигде у себя подобного не видел 🙂

Ещё один момент заметил. При выключенном мониторе все окна, которые были — остаются там. Но обновление окон и перенос туда происходит именно при включение. На основном экран моргает и окна убегают. То есть какой-то рефреш именно при включение.

Zubok, спасибо, но это абсолютно никак не помогает решить проблему.

Проблему это может не решить, но там надо порыскать, есть ли какие-то параметры. Всю эту бадягу делает не xrandr — он вообще про окна ничего не знает. Это оконный менеджер получает информацию о выключении монитора и все окна перемещает, поэтому надо именно в нем искать, отключается ли это поведение. Поэтому свой

/.xprofile можешь удалить, чтобы не было двух мест управления одним и тем же (потом забудешь 100%, что куда-то что-то помещал). Конфигурируй и располагай мониторы лучше через мониторы в KDE — эти настройки все равно используют RandR.

Из интересного там — только лишь модель мониторов показывает, даже на стареньком через VGA. Раньше нигде у себя подобного не видел 🙂

XRANDR_2 was not provided by any .service issue with Cinnamon Display settings

For many years I have never had an issue with connecting multiple displays in Linux Mint and using the 'Display Settings'. In 18.2 when I try to apply settings I am seeing this error:

——- ——- ——- ——- ——- ——- —
Failed to apply configuration
GDBus.Error: org.freedesktop .DBus.Error. ServiceUnknown: The name org.cinnamon. SettingsDaemon. XRANDR_ 2 was not provided by any .service files
——- ——- ——- ——- ——- ——- —

running Linux Mint 18.2 Cinnamon on a Toshiba Satellite laptop with VGA out. This is a new continous issue of which I have no idea how to fix. My current solution is to use ARandR which is able to configure my 2 displays but I have to reset it every time I reboot.

Issue frequency: any time I use Display settings.

Jesse (jesse-boyd) wrote on 2017-09-12 : #1
  • image of error messageEdit (35.4 KiB, image/png)
Manu Wilhelm (manu.wilhelm) wrote on 2017-12-26 : #2

I am also having this problem. thanks for the ARandR tip. Anything one have anything more permanent?

Jesse (jesse-boyd) wrote on 2017-12-28 : #3

SOLVED: @Manu I did find the problem.
Somehow, and I'm not sure which process triggered this but in my /home/'your username' /.config/ autostart folder there was an arandr?.desktop file. (not sure the exact filename but delete or stow away in trash anything with arandr

DELETE this file and your display preferences will work perfectly as before. Reboot or log out required before opening up display preferences again.

Volker Meyer (vlhm) wrote on 2018-03-24 : #4

Ran in the same problem:
— bad file is named 'cinnamon- settings- daemon- xrandr. desktop' , deleting this solved the issue.
— System is Linux Mint 18.3 Cinnamon 64-bit
— Graphics Intel Sky Lake integrated with two monitors

The bad file has a modification date of 2018-02-01.
On that day I updated quite a lot packages.
Maybe someone can see, if one of these packages is the bad one.

Upgraded the following packages:
chromium- codecs- ffmpeg- extra (63.0.3239. 84-0ubuntu0. 16.04.1) to 64.0.3282. 119-0ubuntu0. 16.04.1
cpp-5 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
curl (7.47.0-1ubuntu2.5) to 7.47.0-1ubuntu2.6
firefox (57.0.4+ linuxmint1+ sylvia) to 58.0+linuxmint2 +sylvia
firefox-locale-en (57.0.4+ linuxmint1+ sylvia) to 58.0+linuxmint2 +sylvia
fwupdate (0.5-2ubuntu5) to 0.5-2ubuntu7
g++-5 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
gcc-5 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
gcc-5-base (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
gcc-5-base:i386 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
gir1.2- javascriptcoreg tk-4.0 (2.18.5- 0ubuntu0. 16.04.1) to 2.18.6- 0ubuntu0. 16.04.1
gir1.2-webkit2-4.0 (2.18.5- 0ubuntu0. 16.04.1) to 2.18.6- 0ubuntu0. 16.04.1
lib32stdc++6 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
libasan2 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
libatomic1 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
libcc1-0 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
libcilkrts5 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
libcurl3 (7.47.0-1ubuntu2.5) to 7.47.0-1ubuntu2.6
libcurl3-gnutls (7.47.0-1ubuntu2.5) to 7.47.0-1ubuntu2.6
libfwup0 (0.5-2ubuntu5) to 0.5-2ubuntu7
libgcab-1.0-0 (0.7-1) to 0.7-1ubuntu0.1
libgcc-5-dev (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
libgfortran3 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
libgomp1 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
libitm1 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
libjavascriptco regtk-4. 0-18 (2.18.5- 0ubuntu0. 16.04.1) to 2.18.6- 0ubuntu0. 16.04.1
liblsan0 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
libmpx0 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
libquadmath0 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
libruby2.3 (2.3.1-2

16.04.6
libstdc++-5-dev (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
libstdc++6 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
libstdc++6:i386 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
libtasn1-6 (4.7-3ubuntu0. 16.04.2) to 4.7-3ubuntu0. 16.04.3
libtasn1-6:i386 (4.7-3ubuntu0. 16.04.2) to 4.7-3ubuntu0. 16.04.3
libtsan0 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
libubsan0 (5.4.0- 6ubuntu1

16.04.5) to 5.4.0-6ubuntu1

16.04.6
libwebkit2gtk- 4.0-37 (2.18.5- 0ubuntu0. 16.04.1) to 2.18.6- 0ubuntu0. 16.04.1
rsync (3.1.1-3ubuntu1.1) to 3.1.1-3ubuntu1.2
ruby2.3 (2.3.1-2

16.04.6
thunderbird (1:52.5. 0+build1- 0ubuntu0. 16.04.1) to 1:52.6. 0+build1- 0ubuntu0. 16.04.1
thunderbird- gnome-support (1:52.5. 0+build1- 0ubuntu0. 16.04.1) to 1:52.6. 0+build1- 0ubuntu0. 16.04.1
thunderbird- locale- en (1:52.5. 0+build1- 0ubuntu0. 16.04.1) to 1:52.6. 0+build1- 0ubuntu0. 16.04.1
thunderbird- locale- en-us (1:52.5. 0+build1- 0ubuntu0. 16.04.1) to 1:52.6. 0+build1- 0ubuntu0. .

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Школа онлайн с государственным аттестатом