Somewhere between Linux woes, gaming, open source, 3D printing, recreational coding, and occasional ranting.
๐ Me, but elsewhere
๐ฌ๐ง / ๐ฉ๐ช
Das ist Vorsatz!
"AbEr ALLe faHRen sO scHneLL"
โNur die Bundesregierung schaut weg und will das Problem nicht erkennenโ
Wie immer halt, wenn es um Rechtsradikale geht.
Klemmbausteine sind Liebe, Klemmbausteine sind Leben.
Warum verschlรผsseln die ihre Handschrift?
Finally some dumb tracked advertising again!
Ich habe bei einer Kaufhauskette mal mit 20 Euro bezahlt und auf 50 Euro rausgegeben bekommen. Das habe ich ohne schlechtes Gewissen kommentarlos angenommen.
Andererseits hatte ich bei einem kleinen Einzelhรคndler mal 50 Cent zu viel bekommen, weil ein 50-Cent-Stรผck wohl bei den Euros mit drin lag, da habe ich sofort was gesagt.
โIch habe meine รnderungswรผnsche mit grรผner Farbe hinter den zu รคndernden Text geschrieben.โ
Ansonsten wรผrde man bei uns CodeBerg oder eine Open Source Lรถsung laufen.
Ja, dann dรผrftest du das aber auch auf mehr als einem Rechner hosten.
Im genannten Kontext ja.
I deleted nur Facebook Account sometime ago. I cleanly left all groups, "unfriended" all accounts (most of those were inactive anyways) and removed all my comments and media from over a decade.
I don't think I lost anything.
My timeline was full of advertising or bot post or mirrored content already available on other platforms. The only real interactions were in the comments and ever there it was soulless.
That's great about the Fediverse, the different bubbles are much smaller but much, mich more personal and connected.
Wenn die Person die bedingungslose Vernichtung aller Juden befรผrwortet bedarf es keiner beschrifteten Stirn, denn dann ist das auch so klar.
Bei Obama war auch nicht alles Gold, aber immerhin war er besonnen und wusste bei seinen Reden noch, wo er war.
Na klar! Weniger qualifizierte Leute kann man halt einfach fรผr wesentliche geringeres Gehalt einstellen.
I wasn't active there before that. To me Reddit just got more and more and more annoying over the last few years.
"Recreational" communities were banned, technical communities were flooded with only slightly related nonsense, meme and fun communities felt just dumb. A lot of communities als felt unfriendly and unwelcoming. Not within two days, but it eroded over the years.
At one point it felt like a burden to go through my subscribed communities feed. So I stopped using Reddit entirely during the protests and disabled my account (and it wasn't re-enabled by Reddit to prevent loss of users) and I do not miss it one single second.
During web research I sometimes get a Reddit result. I change to old.reddit.com
URL (I have a strict ruleset regarding cookies and JS and the normal Reddit is just shows an error message and I am not willing to change my configuration) to get the information, but that's it. Neither do I interact with anything nor do I use any type of account.
Die Anzรผge glauben echt, dass das, was ihnen andere Anzรผge erzรคhlt haben, wahr wรคre.
Die spielen sich auf Management-Seminaren einfach gegenseitig eine Woche an irgendeinem exquisiten Ort an den Klรถten. Hauptsache die Firma zahlt.
Ja, und das nicht zu knapp! Wer sich anstrengt, kann locker 18,36 Euro pro Monat verdienen.
... nor own.
Choose whatever fits you
And stick to it! Also make sure other participants also adhere to that. Optionally configure a linter for doing that.
[solved] How to get rid of those stupid background and font color?
Update: Based on the discussion here and in other places I added the following (well, technically I did something different in my colorscheme, but in the end it translates to that)
lua vim.api.nvim_set_hl(0, 'Normal', {})
This reverts the weird text and background colors to the previous behavior of ... not setting them. ________
With update 0.10 Neovim behavior changed regarding text color and background color.
I use a color theme that does not set those and previously this worked perfectly fine. Neovim simply used the font color defined in the terminal and had a transparent background.
Now the background is #14161b
and the font color is #e0e2ea
. Neither of the colors is configured ANYWHERE in my whole setup. Neither in the colorscheme, nor in my terminal configuration, nor in my Neovim configuration.
Is there a sane way to revert this to the old behavior? (i.e. use the font color configured in the terminalโs configuration and use transparent background.)
How to map prepared and planned bus stops that are not in use yet?
Recently the city redesigned the street and prepared at least 4 bus stops. The stops all have the road markings and tactile paving, etc. but no bus stop signs yet and currently no line stops there. (There is an ongoing reorganization of bus lines in my area.)
The wiki page describes how to map a bus stop and I can follow along. Everything except the line(s) and the names is local knowledge.
How should those be mapped (if at all)? Map whatโs known already and add construction:bus_stop
?
Best way to dockerize a static website?
I'm currently researching the best method for running a static website from Docker.
The site consists of one single HTML file, a bunch of CSS files, and a few JS files. On server-side nothing needs to be preprocessed. The website uses JS to request some JSON files, though. Handling of the files is doing via client-side JS, the server only need to - serve the files.
The website is intended to be used as selfhosted web application and is quite niche so there won't be much load and not many concurrent users.
I boiled it down to the following options:
- BusyBox in a selfmade Docker container, manually running
httpd
or The smallest Docker image ... php:latest
(ignoring the fact, that the built-in webserver is meant for development and not for production)- Nginx serving the files (but this)
For all of the variants I found information online. From the options I found I actually prefer the BusyBox route because it seems the cleanest with the least amount of overhead (I just need to serve the files, the rest is done on the client).
Do you have any other ideas? How do you host static content?
Was there a recent hack/leak affecting Spotify?
So, yeah. Other than stated, Spotify does not provide 2FA (shame on them!), so I use a strong password and since years nothing happened.
This early morning I got multiple mails that my account was logged in from Brazil, from the USA, from India, and some other countries. There were songs liked and playlists created so it wasnโt a malicious e-mail but some people actually were able to log on to my Spotify account.
I of course changed the password and logged out all accounts and checked allowed apps, etc. and everything looks fine.
But I wonder โฆ was there something that happened recently? The common sites to check such things do not list my old Spotify password, and a quick web research does not bring anything up.
Any clue what could have happened here?
Stock-y alternative launcher for Pixel 7?
Update 3 months later:
Iโm using Smart Launcher since my last post here. Itโs great. I even bought the pro version. Itโs not super โstock-yโ, but thatโs absolutely fine. I like that you can customize a lot of things!
The combo widget shows upcoming alarms and bank holidays. Also (somewhat) location-aware weather.
I think I stick with it.
--------
Now that the Google search bar on the homescreen has become uttery useless there is no real reason to have it anymore and it is annoying anyways, so I am in search for a launcher that resembles the stock Pixel launcher.
Especially the "combo widget" that shows the time, the date, position-weather, tasks, warnings, timers, etc. all in one place.
Launchers I tried so war that don't seem to have such a widget and seem not to be able to use that widget:
- Nova
- Lawnchair
- Niagara
- Hyperion
Those are all great launchers, but this specific functionality (basically the only feature I use on my homescreen besides one single icon for one app) seems to be missing in all of them.
So my question is: does someone know a launcher that comes with an unobstrusive "combo widget" like the stock widget as described, that also allows me to remove the now useless search bar from the home screen?
Why doesnโt my front page show me posts from my subscribed communities even if it says it would?
Basically the title.
When I open lemmy.ml it says โposts, subscribed, oredered by newโ on top:
But almost none of the posts shown are from my subscribed communities and theyโre not ordered by new.
There are even posts from communities shown that I have on my block list.
Any idea how to fix that?
Blocking instances does not work
Since the new version was deployed to lemmy.ml which allows blocking instances I tried to block an instance.
When opening the drop down and enter the name/url of the instance (or even a part of its name) the list is then filled with a seemingly random list of instances but not the instace I searched for.
I tried in a desktop browser (Chrome on Windows) and in a mobile browser (Vivaldi Mobile, which uses Chromium as base), same behavior.
Since I don't use GitHub I report it here.
[Rant] Why is there no sane way to remap keys?
shared from: https://lemmy.ml/post/6282553
There is now an update: https://lemmy.ml/comment/6913362#comment-6913362
The rant is obsolete now :)
> 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.
>
> ### wtype and built-in key binding
>
> After some research I found [wtype][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][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.
>
> ### keyd
>
> Then I tried [keyd][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][issue] but it actually isnโt. I wasnโt able to send an รค
to ANY application, no matter if GUI or terminal or [Qutebrowser][qb].
>
> 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.
>
> ### xkb
>
> For whatever reason Wayland (or Hyprland) uses certain parts of the [X keyboard extension][xkb], 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][from] [various][various] [sites][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.
>
> ### yeah, thatโs where we are
>
> 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.
>
> [wtype]: https://github.com/atx/wtype
> [wev]: https://git.sr.ht/~sircmpwn/wev
> [keyd]: https://github.com/rvaiya/keyd
> [issue]: https://github.com/rvaiya/keyd/issues/470
> [qb]: https://qutebrowser.org
> [xkb]: https://en.wikipedia.org/wiki/X_keyboard_extension
>
> [from]: https://askubuntu.com/questions/1187610/reassigning-modifier-keys-with-xkb
> [various]: https://unix.stackexchange.com/questions/572768/remapping-a-key-for-xkb
> [sites]: https://blog.debiania.in.ua/posts/2021-06-10-remapping-keys-under-wayland.html
[Rant] Why is there no sane way to remap keys?
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.
wtype and built-in key binding
After some research I found [wtype][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][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.
keyd
Then I tried [keyd][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][issue] but it actually isnโt. I wasnโt able to send an รค
to ANY application, no matter if GUI or terminal or [Qutebrowser][qb].
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.
xkb
For whatever reason Wayland (or Hyprland) uses certain parts of the [X keyboard extension][xkb], 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][from] [various][various] [sites][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.
yeah, thatโs where we are
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.
[wtype]: https://github.com/atx/wtype [wev]: https://git.sr.ht/~sircmpwn/wev [keyd]: https://github.com/rvaiya/keyd [issue]: https://github.com/rvaiya/keyd/issues/470 [qb]: https://qutebrowser.org [xkb]: https://en.wikipedia.org/wiki/X_keyboard_extension
[from]: https://askubuntu.com/questions/1187610/reassigning-modifier-keys-with-xkb [various]: https://unix.stackexchange.com/questions/572768/remapping-a-key-for-xkb [sites]: https://blog.debiania.in.ua/posts/2021-06-10-remapping-keys-under-wayland.html
Your favorite native Linux games?
Let's leave Steam and other launchers and distribution platforms alone a bit. Also lets stop discussing game engines for moment ...
- What are your favorite games that run natively on Linux and what genre are they?
Would be cool if you could write a few words about the game and why it's your favorite game.
How do YOU create your Docker images?
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:
- A local computer with a directory where the application that I want to dockerize is located
- A โdocker serverโ running Portainer without shell/ssh access
- A place where I can upload/host the Docker images and where I can pull the images from on the โDocker serverโ
- Basic knowledge on how to write the needed
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?
Flatpak Steam crashes on startup
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]: Runtime for steamwebhelper: defaulting to /home/dirk/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy 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 ```
What are some upsides of software being federated?
In opposition to this post ... Name your most favorite upsides of software being federated.
Every string with more than 1 dot is converted to ellipsis
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.
TIL: you can define different users in your global Git config depending on remote URL
I was in need of using different signing keys (but same mail address) and had a little adventure in the advanced Git documentation I'd like to share. ______________
In your `~/.config/git/config`` remove the [user] section and add this instead:
[includeIf "hasconfig:remote.*.url:https://your-remote-url/**"] path = ~/.config/git/user_a
And in ~/.config/git/user_a
use this:
[user] email = [email protected] name = User Name signingkey = the_16_digit_GPG_key_ID
Repeat as often as you need. Just add another includeIf
section for each of your remote hosts.
You can also keep a โstubโ user section in your ~/.config/git/config
if you always use the same user name and mail address but want to use different keys.
[user] email = [email protected] name = Dirk
In your includeIf
โd files simply set the signingkey:
[user] signingkey = the_16_digit_GPG_key_ID
Git automatically combines the two as needed.
A minimal working example:
File ~/.config/.git/config
:
```
[user]
email = [email protected]
name = User Name
[commit] gpgsign = true
[tag] gpgsign = true
[includeIf "hasconfig:remote.*.url:https://hostname_A/**"] path = ~/.config/git/config-A
[includeIf "hasconfig:remote.*.url:https://hostname_B/**"] path = ~/.config/git/config-B ```
File ~/.config/git/config-A
:
[user] signingkey = 16_digit_key_id_used_for_a
File ~/.config/git/config-B
:
[user] signingkey = 16_digit_key_id_used_for_b
Now when you push commits or tags to hostname_A
or hostname_B
the correct key is used to sign those (in the example, using same name and mail address) without having to manually edit this for all your local repositories.