You are not logged in.

#1 2016-04-26 13:16:12

Maki
Member
Registered: 2016-04-14
Posts: 26

Replacing light-locker?

New question:
How do I kick light-locker off my system, set up a (GUI-)configurable screensaver replacement, which then still drops back to lightdm for the login component?

Old question (ignore):

So I am used to Crunchbang using Xscreensaver which Debian fails to keep up-to-date, so now Bunsen uses light-locker instead, but I can't figure out where to configure it.

I need to edit/remove it because it keeps locking my screen when I don't want it to. And I can't seem to find where I can set it up so I can have a slideshow of images as I could with xscreensaver.

Where the hell is this configured in Bunsen? And why isn't Bunsen using a (GUI-)configurable screensaver solution with proper documentation? I'm lost on this.

Last edited by Maki (2016-04-26 14:12:57)


Break BunsenLabs. Learn how it works. Help find bugs and build new additions. Give back to the community. If you don't take LEGO apart you can't build new things with it.

Offline

#2 2016-04-26 13:52:17

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Replacing light-locker?

Plenty of answers on the forum - search with "light-locker" as search term. Eg Unable to disable screen lock. [Solved]

Use xscreensaver instead if you want. Manage the screen with Xfce4 Power Manager if you want.

Maki wrote:

...
Where the hell is this configured in Bunsen? And why isn't Bunsen using a (GUI-)configurable screensaver solution with proper documentation? I'm lost on this.

Menu -> Preferences -> Power Management. Is that gui enough for you?

Before criticising, think about what BunsenLabs is. It isn't a fully-featured hand-holding Desktop Environment distro, and you are expected to have do some configuring of text files if you want to change things. You will always get answers here, if you ask nicely.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2016-04-26 14:01:01

Maki
Member
Registered: 2016-04-14
Posts: 26

Re: Replacing light-locker?

damo wrote:

Plenty of answers on the forum - search with "light-locker" as search term. Eg Unable to disable screen lock. [Solved]

Use xscreensaver instead if you want. Manage the screen with Xfce4 Power Manager if you want.

Maki wrote:

...
Where the hell is this configured in Bunsen? And why isn't Bunsen using a (GUI-)configurable screensaver solution with proper documentation? I'm lost on this.

Menu -> Preferences -> Power Management. Is that gui enough for you?

Before criticising, think about what BunsenLabs is. It isn't a fully-featured hand-holding Desktop Environment distro, and you are expected to have do some configuring of text files if you want to change things. You will always get answers here, if you ask nicely.

I have been looking around for documentation, expecting at least a man page, but the man page for light-locker is non-existent and I could not find Bunsen documentation explaining this.

I don't have the xfce4 power manager on my system, for some reason. It might have something to do with the borked network upon install? I'll run around it a bit.

I can't use xscreensaver since the Debian version is severely outdated and provides warnings about how outdated it is upon boot and running it.

I was simply wondering why there's no alternative screensaver component in Bunsen. I find it odd that the decision was made to go to a completely blank screen with no configurable options which then drops back to a login menu. To be fair, the login menu is nice enough to look at, but I miss a configurable screensaver like in CrunchBang.

What do you mean "if you ask nicely"?

The previous threads with light-locker in it only talked about how to remove it, but skipped over the configuration files, as far as I was able to find. I might have missed something in reading it. I will give it another go.


Break BunsenLabs. Learn how it works. Help find bugs and build new additions. Give back to the community. If you don't take LEGO apart you can't build new things with it.

Offline

#4 2016-04-26 14:39:16

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Replacing light-locker?

The second post in the thread I linked to says

/etc/xdg/autostart/light-locker.desktop

Non-existent manpage? I don't think so...

man light-locker

The Debian xscreensaver issues are political, and the warnings are causing a lot of anger - see the Debian forums for details. There should be nothing to prevent you installing it - even get an older version if you like.

xfce4-power-manager is in our backports repo.(IIRC the bl-welcome script detects if it is running on a laptop,and offers xfce4-pm as an option.) Enable jessie-backports as described on the BunsenLabs Repositories page and then do

sudo apt-get update
sudo apt-get install xfce4-power-manager -t jessie-backports

What do you mean "if you ask nicely"?

I detect some criticism and frustration in your comments! BunsenLabs isn't responsible for your expectations, but well-argued observations and suggestions won't be ignored. Also remember that the forums already contain everything you have talked about, so you may want to do some reading.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2016-04-26 19:09:05

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Replacing light-locker?

Hmm, I've noticed a lot of people expressing interest in ditching light-locker recently.


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#6 2016-04-26 19:30:04

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Replacing light-locker?

Maki wrote:

How do I kick light-locker off my system

sudo apt purge light-locker

To get the "Lock Screen" menu entry working again afterwards, run:

sed -i 's/bl-lock/slock/' ~/.config/openbox/menu.xml && openbox --reconfigure

Offline

#7 2016-04-27 05:38:19

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Replacing light-locker?

Horizon_Brave wrote:

Hmm, I've noticed a lot of people expressing interest in ditching light-locker recently.

this.

Offline

#8 2016-04-27 13:46:56

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Replacing light-locker?

ohnonot wrote:
Horizon_Brave wrote:

Hmm, I've noticed a lot of people expressing interest in ditching light-locker recently.

this.

Well it sort of surprises me as well..its such a simple tool. We see the requests as to how to disable it, but never really elaborate as to why


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#9 2016-04-27 15:44:04

db2dba
Member
From: Edmonton, Canada
Registered: 2015-10-13
Posts: 5

Re: Replacing light-locker?

Here's my reason... I switched to i3lock from xscreensaver last July when I was using Crunchbang. I recall my motivation was simply that I found xscreensaver's unlock window to be unattractive - strictly a cosmetic issue. When I switched to BunsenLabs, I stayed with i3lock.

(With the switch to BL, I also ditched LightDM. I don't use multiple window managers, so a "desktop manager" didn't seem useful to me.)

Offline

#10 2016-04-28 01:03:42

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,655
Website

Re: Replacing light-locker?

db2dba wrote:

I also ditched LightDM. I don't use multiple window managers, so a "desktop manager" didn't seem useful to me.

I think the "DM" stands for "Display Manager".

In fact LightDM or all the *DM do some useful things like offering warious ways for multiple users to log in, choosing a locale, initializing gnome-keyring's "login" keyring, starting daemons, setting various environment variables... 

These things can all be set up manually without a DM though, and if everything's working on your setup, then no problem.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#11 2016-04-28 04:20:30

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Replacing light-locker?

db2dba wrote:

I switched to i3lock

i3lock gives visual feedback when typing in the password. a very important point for noobs (countless forum threads and blog articles prove it).
please correct me if i'm wrong, but lightlocker does not do that? it's either just a black screen with no feedback at all, or it looks identical to the actual login window (more confusion; emulating windows; it looks the same, but it isn't)?

Offline

#12 2016-04-28 04:26:02

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,655
Website

Re: Replacing light-locker?

^It looks the same as the login window, and... I had always assumed it was the same login window.
ie I thought LightLocker was just telling LightDM to go back to the login screen. (But preserving the user session.) I could be wrong, but anyway I'm pretty sure lightlocker doesn't work without lightdm.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#13 2016-04-28 18:21:32

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Replacing light-locker?

johnraff wrote:

^It looks the same as the login window, and... I had always assumed it was the same login window.
ie I thought LightLocker was just telling LightDM to go back to the login screen. (But preserving the user session.) I could be wrong, but anyway I'm pretty sure lightlocker doesn't work without lightdm.

Wow, I never realized that...so does lightlocker read lightdm's conf file to present an exact copy of the lightdm login screen?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#14 2016-04-28 21:26:35

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: Replacing light-locker?

 28 Apr 16 @ 18:20:51 ~
  $ dep light-locker
alias dep=apt-cache depends
light-locker
  Depends: libc6
  Depends: libcairo2
  Depends: libdbus-1-3
  Depends: libdbus-glib-1-2
  Depends: libglib2.0-0
  Depends: libgtk-3-0
  Depends: libpango-1.0-0
  Depends: libpangocairo-1.0-0
  Depends: libsystemd0
  Depends: libx11-6
  Depends: libxss1
  Depends: lightdm
 
 28 Apr 16 @ 18:21:28 ~
  $ dep lightdm
alias dep=apt-cache depends
lightdm
  Depends: libc6
  Depends: libgcrypt20
  Depends: libglib2.0-0
  Depends: libpam0g
  Depends: libxcb1
  Depends: libxdmcp6
 |Depends: debconf
  Depends: <debconf-2.0>
    cdebconf
    debconf
 |Depends: lightdm-gtk-greeter
  Depends: <lightdm-greeter>
    lightdm-gtk-greeter
    lightdm-kde-greeter
  Depends: dbus
 |Depends: libpam-systemd
  Depends: consolekit
  Depends: adduser
  Suggests: accountsservice
  Suggests: upower
  Recommends: xserver-xorg
 
 28 Apr 16 @ 18:22:02 ~
  $ 

Yup, light-locker needs lightdm - but it looks like lightdm can run without light-locker.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#15 2016-04-28 22:58:14

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Replacing light-locker?

Sector11 wrote:

Yup, light-locker needs lightdm - but it looks like lightdm can run without light-locker.

Definitely, it doesn't need light-locker. I don't think lightdm even has much to do with the actual session locking.  Hence why I think you can use different session lockers that all can be configured to use the lightdm greeter... If I'm wrong please let me know


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#16 2016-04-29 01:42:38

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,655
Website

Re: Replacing light-locker?

Horizon_Brave wrote:

...so does lightlocker read lightdm's conf file to present an exact copy of the lightdm login screen?

No, I'm pretty sure. My guess is that when LightLocker wants to lock the screen it just sends a message to LightDm saying 'Put up a login screen'.

I think you can use different session lockers that all can be configured to use the lightdm greeter... If I'm wrong please let me know

There are other session lockers like i3lock or xscreensaver... but they all put up their own lock screen. I don't know of any other locker (than LightLocker) that deals directly with LightDm. That's not to say there isn't one of course... roll


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#17 2016-04-29 01:56:29

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Replacing light-locker?

johnraff wrote:
Horizon_Brave wrote:

...so does lightlocker read lightdm's conf file to present an exact copy of the lightdm login screen?

No, I'm pretty sure. My guess is that when LightLocker wants to lock the screen it just sends a message to LightDm saying 'Put up a login screen'.

I think you can use different session lockers that all can be configured to use the lightdm greeter... If I'm wrong please let me know

There are other session lockers like i3lock or xscreensaver... but they all put up their own lock screen. I don't know of any other locker (than LightLocker) that deals directly with LightDm. That's not to say there isn't one of course... roll

Ah see...wow, then light-locker is pretty damn specific to pairing up with LightDM then.. thanks Raff


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

Board footer

Powered by FluxBB