Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XSECURELOCK_SHOW_KEYBOARD_LAYOUT Not Working #163

Open
ghost opened this issue Dec 4, 2022 · 6 comments
Open

XSECURELOCK_SHOW_KEYBOARD_LAYOUT Not Working #163

ghost opened this issue Dec 4, 2022 · 6 comments

Comments

@ghost
Copy link

ghost commented Dec 4, 2022

XSECURELOCK_SHOW_KEYBOARD_LAYOUT=0 or XSECURELOCK_SHOW_KEYBOARD_LAYOUT=-1 not working.

I still see;

Keyboard: English (US)
Press Ctrl-Tab to switch keyboard layout
@ntippie
Copy link

ntippie commented Dec 6, 2022

Are you building from source? (on Arch: xsecurelock-git and not xsecurelock)

The most recent release (1.8.0) does not have this feature.

@joinemm
Copy link

joinemm commented Feb 27, 2023

when will a new version with this feature be released?

@ntippie
Copy link

ntippie commented Dec 6, 2023

@divVerent Would it be possible to get a new release? Thank you for maintaining.

@elandorr
Copy link

elandorr commented Mar 21, 2024

1.9 is now in Debian testing FYI.

@ki9us
Copy link

ki9us commented May 14, 2024

A whole bunch of options are not working for me. I have them in ~/.xprofile. Some work, some don't:

# These work
export XSECURELOCK_SAVER=saver_xscreensaver
export XSECURELOCK_AUTH_FOREGROUND_COLOR=green
export XSECURELOCK_PASSWORD_PROMPT=kaomoji

# These do not work
export XSECURELOCK_SHOW_KEYBOARD_LAYOUT=false
export XSECURELOCK_SHOW_USERNAME=false
export XSECURELOCK_SHOW_HOSTNAME=false
export XSECURELOCK_BLANK_TIMEOUT=-1
export XSECURELOCK_BLANK_DPMS_STATE=on

I'm actually not sure if I'm putting the right options (false or False or 0 or no or nothanks?), or if they should be quoted or what.

@ki9us
Copy link

ki9us commented May 25, 2024

Ok, I looked through the source code and figured it out. All the booleans need to be integers 1 or 0. XSECURELOCK_BLANK_* doesn't work no matter what I try.

# These work now
export XSECURELOCK_SHOW_KEYBOARD_LAYOUT=0
export XSECURELOCK_SHOW_USERNAME=0
export XSECURELOCK_SHOW_HOSTNAME=0

# These still do not work
export XSECURELOCK_BLANK_TIMEOUT=-1
export XSECURELOCK_BLANK_DPMS_STATE="on"

So for me, XSECURELOCK_SHOW_KEYBOARD_LAYOUT=0 is working. I'm using the xsecurelock from aur, not xsecurelock-git.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants