I recently switched to Hyprland on my laptop and was able to set it up as I like, but I struggle hard to set up keybinds to simply print different characters when pressing certain key combinations.
For example, one small snippet from my .Xmodmap
(there are more in this file but that’s enough for a minimal working example)
keycode 108 = Mode_switch
keycode 38 = a A adiaeresis Adiaeresis
This allows me to press the A key in combination with the right Alt key to print an ä
or an Ä
when shift is pressed, to.
After some research I found wtype which allows me to write arbitrary text when called with the parameters.
After I learned that Hyprland (or Wayland) does not distinguish between Alt_R and Alt_L (they’re shown as Alt_R
and Alt_L
in wev with different keysyms, so they’re clearly two different keys) and I accepted it, I just found out that this tool only works when being in a terminal emulator and not in a GUI application so this tool is useless for me.
Then I tried keyd. After setting it up and adding my user to the needed groups and starting the service and trying to figure out how to actually define keymaps I was able to send something when pressing a defined key combination.
But: Nothing else than ASCII.
The dev thinks it’s a Chromium problem based on this issue but it actually isn’t. I wasn’t able to send an ä
to ANY application, no matter if GUI or terminal or Qutebrowser.
Since there is basically no online resources or user community for this tool, I cannot find any usable information on this issue except the unrelated Chrome reference and thus I removed it again because I cannot use it for what I want to use it for.
For whatever reason Wayland (or Hyprland) uses certain parts of the X keyboard extension, so I also tried this one.
Despite being absurdly complex and annoying to setup I was able to configure a user based keyboard variant using user-based symbols. From what I’ve taken from various sites my config should do nothing more than remapping Alt_R
to ISO_Layer3_Shift
just for testing purposes.
But all I achieved was reproducibly crashing Hyprland when setting it up to actually use said keyboard variant and there seems to be no log file.
Again, it’s not about the umlauts, and not about the German keyboard layout, and not about switching lkayouts on-the-fly, it’s just to demonstrate what I mean. You can replace ä with any other character you want.
After a long night of trying out to have the Xmodmap functionality in Wayland using Hyprland as compositor I ended up with not being successful.
I give up for now.
Maybe one day there will be an actually working solution requiring nothing more than two lines in a file.
Let's leave Steam and other launchers and distribution platforms alone a bit. Also lets stop discussing game engines for moment ...
Would be cool if you could write a few words about the game and why it's your favorite game.
Currently I’m planning to dockerize some web applications but I didn’t find a reasonably easy way do create the images to be hosted in my repository so I can pull them on my server.
What I currently have is:
Dockerfile
What I now need is a sane way to build the images WITHOUT setting up a fully featured Docker environment on the local computer.
Ideally something where I can build the images and upload them but without that something “littering Docker-related files all over my system”.
Something like a VM that resets on every start maybe? So … build the image, upload to repository, close the terminal window, and forget that anything ever happened.
What is YOUR solution to create and upload Docker images in a clean and sane way?
Since some time now the Steam Flatpak cannot start up and I have no idea why this happens.
Web research leads to basically nothing that is related to what I experience so I assume it has something to do with my system. Other Flatpaks start up normally and I can use them.
When resetting everything related to the Steam Flatpak and reinstalling it from Flathub it loads and installs the Flatpak and then installs all necessary stuff
[various update-related stuff]
setup.sh[4598]: Forced use of runtime version for 32-bit libcurl.so.4
setup.sh[4598]: Found newer runtime version for 32-bit libSDL2-2.0.so.0. Host: 0.2400.0 Runtime: 0.2600.5
setup.sh[4598]: Forced use of runtime version for 32-bit libgtk-x11-2.0.so.0
setup.sh[4598]: Found newer runtime version for 32-bit libvulkan.so.1. Host: 1.3.224 Runtime: 1.3.239
setup.sh[4598]: Forced use of runtime version for 32-bit libdbusmenu-glib.so.4
setup.sh[4598]: Forced use of runtime version for 32-bit libcurl-gnutls.so.4
setup.sh[4598]: Forced use of runtime version for 32-bit libdbusmenu-gtk.so.4
setup.sh[4598]: Forced use of runtime version for 64-bit libcurl.so.4
setup.sh[4598]: Found newer runtime version for 64-bit libSDL2-2.0.so.0. Host: 0.2400.0 Runtime: 0.2600.5
setup.sh[4598]: Found newer runtime version for 64-bit libvulkan.so.1. Host: 1.3.224 Runtime: 1.3.239
setup.sh[4598]: Forced use of runtime version for 64-bit libcurl-gnutls.so.4
steam.sh[2]: Steam client's requirements are satisfied
So everything looks good up to this point. The small Steam update windows poppend up several times indicating the running installation/update. The output then continues:
[2023-08-17 22:47:50] Startup - updater built Jul 28 2023 18:44:09
[2023-08-17 22:47:50] Startup - Steam Client launched with: '/home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox'
08/17 22:47:50 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(5467)
[2023-08-17 22:47:50] Loading cached metrics from disk (/home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/package/steam_client_metrics.bin)
[2023-08-17 22:47:50] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2023-08-17 22:47:50] Using the following download hosts for Public, Realm steamglobal
[2023-08-17 22:47:50] 1. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-08-17 22:47:50] Verifying installation...
[2023-08-17 22:47:50] Verification complete
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf0d328f0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf0d311c0
GetWin32Stats: display was not open yet, good
GetWin32Stats: display was not open yet, good
(The last line gets printed twice, yes.)
The first startup process then hangs there for a few seconds and continues with this.
steamwebhelper.sh[5473]: Running under Flatpak, disabling sandbox
steamwebhelper.sh[5473]: CEF sandbox already disabled
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
src/steamUI/steamuisharedjscontroller.cpp (540) : Failed creating offscreen shared JS context
src/steamUI/steamuisharedjscontroller.cpp (540) : Fatal assert; application exiting
08/17 22:48:39 Init: Installing breakpad exception handler for appid(steam)/version(1690583737)/tid(5467)
assert_20230817224839_27.dmp[5771]: Uploading dump (out-of-process)
/tmp/dumps/assert_20230817224839_27.dmp
dirk ~ $
After the command prompt is shown agein, this gets printed:
assert_20230817224839_27.dmp[5771]: Finished uploading minidump (out-of-process): success = yes
assert_20230817224839_27.dmp[5771]: response: CrashID=bp-f62fb7e8-d024-452e-a937-9c6672230817
assert_20230817224839_27.dmp[5771]: file ''/tmp/dumps/assert_20230817224839_27.dmp'', upload yes: ''CrashID=bp-f62fb7e8-d024-452e-a937-9c6672230817''
At the given location there is no dump file.
Do you guys have any Idea why this happens and how I can fix it?
Involved software:
$ flatpak --version
Flatpak 1.15.4
$ flatpak remotes
Name Optionen
flathub system
$ flatpak info com.valvesoftware.Steam | grep Version | awk '{print $2}'
1.0.0.78
$ uname -rms
Linux 6.4.10-arch1-1 x86_64
$ openbox --version | head -n1
Openbox 3.6.1
$ pacman -Qi xorg-server | grep Version | awk '{print $3}'
21.1.8-2
In opposition to this post ... Name your most favorite upsides of software being federated.
Basically the title. When writing ..
it is converted to …
. Also every string being any amount of dots is also being converted to …
, even when it makes no sense.
..
-> ..
../relative/path/file.txt
-> ../relative/path/file.txt
...................................
(used as visual separator) -> ...................................
Automatically changing ...
to the otherwise hard to type ellipsis symbol …
is a good idea, but everything else should, not be changed.
@Dirk
@lemmy.ml