I have an issue with Cinnamon that manifests itself after a long idle period, when I use the computer after a few hours of idle, the CPU, memory, etc. all seem to be fine for Cinnamon, but every operation from keystrokes to moving windows is remarkably slower, on a 5th generation i5, 16gb of ram and a 512gb SSD on Linux Mint 19.3. It seems to have been an issue over the years with Cinnamon.
alt + f2 and typing
r to restart cinnamon immediately solves the issue until another long idle period which may or may not trigger this bug.
Rather than having to manually restart Cinnamon every time this issue occurs, I was wanting to set up an automated job that would restart cinnamon every time the user logs in
I have a script setup that runs as a systemd service that monitors dbus for a screen unlock, then runs
cinnamon --replace but it fails because the dbus monitoring cant take place unless its within an x11 session, the script otherwise works as intended if I press
ctrl + alt + f1 and switch to another tty and run the script. The error message is
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
It looks like this:
dbus-monitor --session "type='signal',interface='org.cinnamon.ScreenSaver'" |
while true; do
if echo $X | grep "boolean true" &> /dev/null; then
elif echo $X | grep "boolean false" &> /dev/null; then
Get this bounty!!!
I am running Xubuntu 18.04. When I lock the session, the screen gets turned off instantly. I am using stock lightdm as display manager and lightlocker for locking the session.
From my viewpoint the following sequence of events happens.
- I initiate locking by running xflock4 via keyboard shortcut or clicking “Lock Screen” in the Whisker (Main) menu.
- VT8 becomes active, a new lightdm greeter is spawned on this VT terminal and physical screen turns off at the same time.
- My usual VT7 terminal gets seized in background with lightlocker which draws “This session is locked” screen.
If press some button on the keyboard or move the mouse, the screen turns on. If I press Control-Alt-F7, I see lightlocker lock screen in my original session. If I press Control-Alt-F8 I go back to the greeter where I can enter my password. After entering the password, VT7 becomes active and lightlocker white-on-black lock screen is no longer shown. If I later go back to VT8 with Control-Alt-F8, I see a completely black screen with only a blinking cursor (seems to be in text mode).
If the session timeouts and gets locked automatically, I also end up with the screen turned off. That can happen several times a day.
I am using an external monitor which is very slow to turn on again. It takes around 10 seconds and that is quite annoying every single time. I would rather keep it on for an hour or more on password dialog before timing it out and turning off automatically.
Also there is a non-zero chance of getting a system freeze due to buggy Intel (KMS?) drivers when doing VT switch and turning of the screen at almost the same time.
I skimmed through lightdm and lightdm greeter docs and found no hints on how to prevent that.
- I discovered an “Action” applet for the xfce4-panel that can “switch” user sessions without turning off the screen. This essentially locks the session with light-locker and shows greeter on a new VT. After some digging I discovered a command to show greeter,
dm-tool switch-to-greeter. I have reassigned keyboard shortcut to lock the screen from
dm-tool switch-to-greeter as workaround. But the problem with automatic locking and turning screen still annoys me. What is interesting that
dm-tool lock and
light-locker-command --lock (xflock4 calls it) behave the same and produce a turned off monitor.
- If I uninstall light-locker (with full reboot) and do
dm-tool lock, the screen also turns off. So this should not be related to light-locker…
Get this bounty!!!
I have Ubuntu MATE 16.04.6 LTS installed on a system with two monitors.
They act normally when I login to default MATE 1.12.1 session.
But the LightDM login screen looks weird on both screens:
- 1600×900 normal landscape rotation
- 1280×1024 left portrait rotation
Details about lightdm:
$ dpkg -l | grep -i lightdm
ii liblightdm-gobject-1-0:amd64 1.18.3-0ubuntu1.1 amd64 LightDM GObject client library
ii lightdm 1.18.3-0ubuntu1.1 amd64 Display Manager
ii lightdm-gtk-greeter 2.0.1-2ubuntu4 amd64 simple display manager (GTK+ greeter)
ii lightdm-gtk-greeter-settings 1.2.1-0ubuntu1 all settings editor for the LightDM GTK+ Greeter
ii ubuntu-mate-lightdm-theme 16.04.7 all LightDM theme and default configuration for Ubuntu MATE
$ cat .dmrc
I see this on every boot-up and currently I enter my password blindly.
How and where should I fix this problem?
nomodeset in GRUB fixes LightDM login, but disables screen rotation of right monitor.
Get this bounty!!!