PINE64
desktop and lockscreen - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: desktop and lockscreen (/showthread.php?tid=19434)



desktop and lockscreen - biketool - 09-25-2024

Is it at this time possible to set a custom lockscreen and/or desktop/background on mobian Trixie?
There is the option in settings but it didn't change anything except under some loading apps where the load screen is not present.


RE: desktop and lockscreen - vusra - 10-04-2024

(09-25-2024, 05:11 AM)biketool Wrote: Is it at this time possible to set a custom lockscreen and/or desktop/background on mobian Trixie?
There is the option in settings but it didn't change anything except under some loading apps where the load screen is not present.
https://wiki.debian.org/Mobian/Tweaks#Change_the_background_for_the_lock_screen.2C_app_grid_and_monitor

Change the background for the lock screen, app grid and monitor
To change the background for the app grid and/or lock screen, you need to create a file ~/.config/gtk-3.0/gtk.css. Here is an example css file:

Code:
/*
* ~/.config/gtk-3.0/gtk.css
* Restart phosh using "sudo systemctl restart phosh"
*/

phosh-app-grid {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                    url('file:///home/mobian/Pictures/background.jpg');
  background-size: cover;
  background-position: center;
}

phosh-lockscreen, .phosh-lockshield {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                    url('file:///home/mobian/Pictures/background.jpg');
  background-size: cover;
  background-position: center;
}

To change background of a monitor/background while loading an app run this command:
  • gsettings set org.gnome.desktop.background picture-uri file:///home/mobian/Pictures/background.jpg