Closed Robin-Wils closed 4 years ago
There is no relevant information in the debug log.
Not a good reason to skip this. Please include a debug log.
Here is the log (sway -d 2> ~/sway.log):
[2020-01-10 22:30:13.824] [info] Resources files: /home/rmw/.config/waybar/config, /home/rmw/.config/waybar/style.css
[2020-01-10 22:30:13.833] [warning] For a functional tray you must have libappindicator-* installed and export XDG_CURRENT_DESKTOP=Unity
[2020-01-10 22:30:13.842] [info] Bar configured (width: 476, height: 20) for output: WL-1
[2020-01-10 22:30:13.855] [info] mpd: Connected to MPD
[2020-01-10 22:30:13.866] [warning] Requested width: 476 exceeds the minimum width: 921 required by the modules
[2020-01-10 22:30:13.876] [info] Bar configured (width: 921, height: 20) for output: WL-1
[2020-01-10 22:30:27.307] [info] Bar removed from output: WL-1
This doesn't look like a Sway log.
I just ran sway -d 2> ~/sway.log
.
Sway does not crash, shiftlock just does not work. Feel free to send me a command if there is a way to get more complete logs.
Can you try sway -d >sway.log 2>&1
?
We're not going to be able to help you with this little information.
That opens a weird transparent window with the title "wlroots".
Anyway, I just provide this information for the project. I understand that is it is not much information. It is fine if you don't know how to fix it, because of the very limited information.
Ah, you need to start sway from a TTY, not from an existing X11 or Wayland session.
Ha, and sorry for being clumsy, it is pretty late here and I should have noticed my mistake. I can try with 2>
. Will report the results soon.
Ok, yes. I had to redirect the output. It looks like it sets the options, the log doesn't really provide much extra info, does it?
# makes the shift keys do shift lock instead of shift [...] xkb_options ctrl:nocaps,shift:both_shiftlock
shift:both_shiftlock
acts as a shift lock when both shifts are pressed at the same time. From your comment, it sounds like you are expecting pressing either to do a shift lock, which doesn't appear to be an option.
That makes sense, and works. Thanks for the help!
I assume that there isn't anything like xmodmap for Wayland yet? That makes what I want to do impossible. I think that it is ok the close the issue now.
You can use a custom keymap for an xmodmap equivalent, see https://github.com/swaywm/sway/issues/4250
The shiftlock option does not work on my system. There is no relevant information in the debug log.
Sway version: 1.2
Relevant part of my config: