Giter VIP home page Giter VIP logo

Comments (13)

tuxy avatar tuxy commented on May 20, 2024 2

I no longer use xsecurelock or xscreensaver, i'm using just i3lock.

from xsecurelock.

AuditeMarlow avatar AuditeMarlow commented on May 20, 2024

I just saw the PKGBUILD and it states version 0.5 as its build version, which is "outdated" compared to the GitHub repository. I'll try doing a GitHub build...

from xsecurelock.

languitar avatar languitar commented on May 20, 2024

There is already a package for the stable version on AUR: https://aur.archlinux.org/packages/xsecurelock/

However, the git version automatically updates to the latest state. Just the information on the AUR website is outdated as long as I do not update the package manually.

from xsecurelock.

AuditeMarlow avatar AuditeMarlow commented on May 20, 2024

Thanks @languitar for your feedback. I'll try out the stable AUR package.

Aside from that, building xsecurelock from the GitHub repository works just fine too, I suppose I was just on an outdated version. :)

from xsecurelock.

tuxy avatar tuxy commented on May 20, 2024

xsecurelock 1.8.0-1 is now in Arch Linux official community packages and this still does not work. I get same error: xsecurelock: Executable 'saver_xscreensaver' must be executable.

from xsecurelock.

razor-x avatar razor-x commented on May 20, 2024

Not sure which issue should be preferred (or new issue?): #126

Not sure which issue should be preferred (or new issue?): #126

xsecurelock 1.8.0-1 is now in Arch Linux official community packages and this still does not work. I get same error: xsecurelock: Executable 'saver_xscreensaver' must be executable.

@tuxy I just happened to be trying to get this to work today on Arch and had the same issue.

I can confirm that /usr/lib/xsecurelock/saver_xscreensaver does not exist in the package contents. I tried to build xsecurelock locally, and confirmed that even with xscreensaver installed, xsecurelock ./configure does not detect it and thus does not include saver_xscreensaver in the build. (I also tried to force it with a flag, and even though I was able to get saver_xscreensaver in the local package, xsecurelock was unable to use it, giving xsecurelock: No saver selected. Giving up.).

image

from xsecurelock.

sh1nryu avatar sh1nryu commented on May 20, 2024

Can confirm I am also having issues using 'saver_xscreensaver', via github install & AUR

@tuxy I just happened to be trying to get this to work today on Arch and had the same issue.

Update: @razor-x I did a re-install. Removed xsecurelock using sudo make uninstall. Then I ran the ./configure script with the additional flag --with-xscreensaver=/usr/lib/xscreensaver (reference: #126 (comment)). After make and make install, the saver_xscreensaver file was auto-generated. To test, running env XSECURELOCK_SAVER=saver_xscreensaver xsecurelock showed it as working.

If there is already a saver_xscreensaver file present within your xsecurelock folder, you can cd into that folder and sudo chmod +x saver_xscreensaver to make it an executable.

from xsecurelock.

divVerent avatar divVerent commented on May 20, 2024

So all that happened is that the directory changed?

Is it the same across distros or do we need to autodetect from multiple directories then?

from xsecurelock.

divVerent avatar divVerent commented on May 20, 2024

Everything works fine on Debian with this package and no changes to xsecurelock:

$ apt policy xscreensaver
xscreensaver:
  Installed: 6.02+dfsg1-2+b1
  Candidate: 6.02+dfsg1-2+b1
  Version table:
 *** 6.02+dfsg1-2+b1 500
        500 http://deb.debian.org/debian bookworm/main amd64 Packages
        100 /var/lib/dpkg/status

It still installs into /usr/libexec/xscreensaver though. Not sure if that's a Debian patch or still default.

from xsecurelock.

sh1nryu avatar sh1nryu commented on May 20, 2024

In that case lib vs libexec seems to depend on your installation method... For myself using a package manager (pacman) installed xscreensaver to /usr/lib/xscreensaver. Within xsecurelock's configs the referenced path is usr/libexec/xscreensaver so it makes sense that everything works fine as you mentioned.

from xsecurelock.

divVerent avatar divVerent commented on May 20, 2024

Can anyone try if that fix works?

from xsecurelock.

walwan avatar walwan commented on May 20, 2024

yeah, I think this fix works. My build without explicitly specifying the xscreensaver location can correctly detect xscreensaver at the default location.

from xsecurelock.

spease avatar spease commented on May 20, 2024

I'm running into this issue with the current Arch Linux extra/xsecurelock 1.8.0-1 package

File list:

xsecurelock /usr/
xsecurelock /usr/bin/
xsecurelock /usr/bin/xsecurelock
xsecurelock /usr/lib/
xsecurelock /usr/lib/xsecurelock/
xsecurelock /usr/lib/xsecurelock/auth_x11
xsecurelock /usr/lib/xsecurelock/authproto_pam
xsecurelock /usr/lib/xsecurelock/dimmer
xsecurelock /usr/lib/xsecurelock/pgrp_placeholder
xsecurelock /usr/lib/xsecurelock/saver_blank
xsecurelock /usr/lib/xsecurelock/saver_mplayer
xsecurelock /usr/lib/xsecurelock/saver_mpv
xsecurelock /usr/lib/xsecurelock/saver_multiplex
xsecurelock /usr/lib/xsecurelock/until_nonidle
xsecurelock /usr/share/
xsecurelock /usr/share/doc/
xsecurelock /usr/share/doc/xsecurelock/
xsecurelock /usr/share/doc/xsecurelock/CONTRIBUTING
xsecurelock /usr/share/doc/xsecurelock/LICENSE
xsecurelock /usr/share/doc/xsecurelock/README.md
xsecurelock /usr/share/doc/xsecurelock/examples/
xsecurelock /usr/share/doc/xsecurelock/examples/saver_livestreams

from xsecurelock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.