Comments (9)
My suggestion would be to return i3lock to the original mode of operation (i.e. Latin only input), and adding an option to change this behaviour if the user wants.
I don't think this is a good idea. I think the commit was an improvement and in general a user will expect their typical keyboard layout to be used.
from i3lock.
@Airblader as it is currently, we don't know at the i3lock screen which layout is being used. "Typical" is not an answer for someone who uses two or three languages and layouts on their computer to communicate in about equal portions.
The only way to find out is to enter your (possibly long and complex) password, ensuring you didn't mistype, and then see it not accepted. Only that's how you figure out you are on the "wrong layout".
Even for those who mostly type in Cyrillic, it is rather uncommon to use Cyrillic passwords (or even expect to be able to use -- as most sites/services don't accept that).
The worst part is that i3lock remembers whatever layout was chosen at the time the screen was locked, and I do not -- possibly having been away from my computer for hours/days and then returning later and trying to unlock.
from i3lock.
I definitely understand your problem, but for many other users, using some layout they might not be using usually is not a solution either.
I currently like displaying the layout most, but let's see what @stapelberg thinks.
from i3lock.
I recommend you use a wrapper script around i3lock which ensures your current layout is latin.
Closing as this isn’t a bug, but rather an instance of https://xkcd.com/1172/ :).
from i3lock.
I recommend you use a wrapper script around i3lock which ensures your current layout is latin.
Sure that's one option, but to preserve the previous behavior it'll have to be a rather sophisticated script which would first remember the current layout (can you even save it with setxkbmap?), switch to Latin before launching i3lock, then restore it to what it was on the desktop so that I can continue typing in whatever language it was at the time.
Or I could simply stay on the older version, which is easier at this point (until it stops installing in new distros) and also solves the issue.
Closing as this isn’t a bug, but rather an instance of https://xkcd.com/1172/ :).
Sorry but no similarities and I don't know how can you laugh at this problem and hint that it's one user's weird setup issue. It's not. This will affect 100% of users who have more than one keyboard layout on their computer. And that's NOT a weird and uncommon situation if you consider the world at large outside of the few Latin-alphabet-only countries, it IS the norm. I described the problematic workflow introduced step by step and in IMO excruciating detail, can you maybe re-read and try imagining it? Every password entry now randomly becomes 2 to 3 attempts for everyone. That's not just me, that's not my weird setup. The only solution to avoid is to pick a numeric-only password. And 100% of people in those countries will hit that, do you recommend that every user writes a script?
Admittedly I might be the only one to report the problem, but it might be because I'm one of the few of those users who have multiple layouts configured and want to use i3lock, the "normal people" just use whatever locker comes with GNOME or KDE these days. Heck, the normal people just use Windows. So the funny-XKCD-haha part in my case is not the layouts thing, it's the whole "trying to use i3lock" thing, sorry.
Perhaps you simply don't care about anyone needing anything other aside English (hey, nobody cared in the 70s, that's why "7-bit encodings" are a thing). Guess nothing we can do about that, after all you're probably not getting paid for this, certainly I'm not the one paying you to order to work on one problem or another, so why fix it if it's not something that affects you personally.
Still rather disappointing to see.
from i3lock.
remember the current layout (can you even save it with setxkbmap?), switch to Latin before launching i3lock, then restore it to what it was on the desktop so that I can continue typing in whatever language it was at the time.
In #56 (comment) you were writing that whenever you return to your computer, you don’t want to remember which layout you’re using. By always setting your layout to latin, you can always assume it to be latin.
Regardless, if you want to remember the layout, setxkbmap -print
will display the current layout.
The rest of your post makes me angry, so I’ll not engage in a discussion.
from i3lock.
This will affect 100% of users who have more than one keyboard layout on their computer.
Switching to properly using the set layout is in fact a major usecase for those who use different layouts. I don't agree that this will be an issue for 100% of those people because I assume that a lot of people remember what layout they were using.
How do you instantly start typing after unlocking, knowing which layout you are in, but don't know that two seconds earlier? Is the first thing you do really to look at your indicator everytime? Even if it is, I don't think that's how it is for everyone (or even most people).
Using the layout the user set means using the layout the user wants to use when typing on their computer from this point forward. It really makes more sense this way.
the "normal people" just use whatever locker comes with GNOME or KDE these days
Most i3 users probably don't even run anything like GNOME or KDE.
Perhaps you simply don't care about anyone needing anything other aside English
That's a pretty strong accusation and I think this is not fair. We, most of all Michael, in fact try very hard to provide the best support for keyboard layouts and languages. Michael himself worked hard on improving this a lot in i3 4.11, in fact. And AFAIK, Michael himself uses Dvorak or some other "non-normal" layout.
Again, this change was made explicitly to properly support keyboard layouts. You're complaining here about i3lock respecting the setting you chose in your system rather than ignoring it. It's sort of beyond me how you twist this into Michael not caring.
from i3lock.
whenever you return to your computer, you don’t want to remember which layout you’re using. By always setting your layout to latin, you can always assume it to be latin.
It's not that I don't want to, I just don't. And that's only talking about the i3lock screen, but once I'm back to my desktop I most likely remember what's the current layout (see below).
How do you instantly start typing after unlocking, knowing which layout you are in, but don't know that two seconds earlier?
Because if I see XChat with a Russian IRC channel with my friends in front of me, I remember I was using Russian to chat to them;
or a Japanese board for discussing anime, I'll probably remember that the UIM/Anthy Japanese IME is active when I start typing.
or this Github comment window where I'm typing halfway through this post, then of course I'm expecting it to continue typing in English.
Heck, on the desktop there's probably a tray indicator somewhere, showing what the current layout is (even though I just rely on the above hints and don't use one).
But the i3lock screen gives no such hints whatsoever, it's always the same.
Most i3 users probably don't even run anything like GNOME or KDE.
I meant computer users in general. To be honest personally I have only a vague idea of what "i3" is, I just use i3lock with Xfce4.
We, most of all Michael, in fact try very hard to provide the best support for keyboard layouts and languages.
And that's exactly why this is so so so shocking to me. You coded this XKB support thinking it makes things better -- but it doesn't, it makes them much worse for exactly your target audience you coded this for -- and I'm at a loss regarding how to make you realize that.
from i3lock.
You coded this XKB support thinking it makes things better -- but it doesn't
I beg to differ and I think we are not going to come to an agreement here.
Given the tone that you used before, I am going to do something I have never had to do so far and lock this thread. As Michael said, use a wrapper script to force your lock screen to disregard what you told your system to do. But this is no place for the sense of entitlement, demands or accusations you used before. This isn't the kernel mailing list.
i3lock is aimed to be a lightweight and simple lockscreen. You may find that you're happier with the full blown kind of lock screen provided by DEs.
from i3lock.
Related Issues (20)
- Please provide an option to lock the screen only a while after blanking HOT 4
- i3lock doesn't accept correct password after entering incorrect ones. HOT 4
- Mod-key reset after screen lock. HOT 4
- Non-standard License (not sure which SPDX identifier to use) HOT 3
- Please add functional for show layers (en,ru and etc) HOT 2
- Option to compile i3lock without PAM on Linux HOT 1
- Pam interaction when time-limit on logins is configured HOT 2
- Add Space Mode HOT 2
- Better Computer Wake Handling. HOT 1
- Allow configuring of invalid password cooldown? HOT 5
- Feature Request: Keyboard Language In Password/Lock Screen HOT 2
- i3bar is shown in i3lock lock screen when it is positioned at the bottom with picom running HOT 3
- password unrecognized HOT 3
- [bug] background image rendering not taking screen rotation into account
- Custom password HOT 1
- lock circumvented (broken) when issuing setxkbmp and xkbcomp and fast typing HOT 8
- numlock indicator is unaesthetic and not useful - can't disable? HOT 2
- [bug] i3lock doesn't seem to register the first couple of keypresses of password HOT 6
- `i3lock` package from i3's official repos outdated (2.14) HOT 5
- i3lock is pausing for 30 seconds after verifying my password HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i3lock.