Nixpkgs: unable to lock screen in xfce

Created on 10 Jul 2016  路  4Comments  路  Source: NixOS/nixpkgs

Issue description

It's not possible to lock screen in xfce unless "xlockmore" is installed.

Steps to reproduce

  1. Add services.xserver.desktopManager.xfce.enable = true; in configuration.nix
  2. Login in XFCE and try to lock without success
  3. nix-env -i xlockmore and then retry to lock

    Technical details

  • System: NixOS Emu
  • Nix version: 1.11.2
  • Nixpkgs version: "16.03.973.8bf31d7"
enhancement good-first-bug nixos

Most helpful comment

I think this is generally resolved by some kind of switch, but we have to add one. Something like services.xserver.displayManager.xfce.screenLock of types.enum...

All 4 comments

I think that's because there is no blessed lock screen for XFCE. xflock4 tries XScreenSaver, GNOME Screensaver, XLock and SLock -- in that order.

Has a situation like this (multiple optional but at least one required dependency on an executable) already been handled in NixOS?

I think this is generally resolved by some kind of switch, but we have to add one. Something like services.xserver.displayManager.xfce.screenLock of types.enum...

I kept slock as-is: see #22532

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grahamc picture grahamc  路  3Comments

langston-barrett picture langston-barrett  路  3Comments

sid-kap picture sid-kap  路  3Comments

copumpkin picture copumpkin  路  3Comments

domenkozar picture domenkozar  路  3Comments