![User banner](https://lemmy.ml/pictrs/image/1b7308dd-af13-41f2-a5d6-39b2b8916197.jpeg)
![Dirk](https://lemmy.ml/pictrs/image/1a75ee6b-cc6b-404a-bc0b-39968ceda02c.png?format=webp&thumbnail=64)
Somewhere between Linux woes, gaming, open source, 3D printing, recreational coding, and occasional ranting.
๐ Me, but elsewhere
๐ฌ๐ง / ๐ฉ๐ช
Yes please. People should shut up in public transportat and other crammed public places.
irrefรผhrend
Du hast es verstanden!
So Habbo Hotel is a programming language.
Fรผr Doofe hat man das dann mit 1,5 m bzw. 2 m Mindestabstand spezifiziert.
Die 1,5 bzw. 2 Meter gelten vom rechten Auรenspiegel zum linken Lenkerende. Das ignorieren viele Autofahrer selbstverstรคndlich.
Dass ausgerechnet die โfreiheitsliebendeโ FDP eine eine รผber die Norm (technische Grรผnde) herausgehende Beschrรคnkung umsetzen will, zeigt, dass sie eine reine Autofahrerpartei ist.
Keine aktuell im Bundestag vertretene Partei, egal ob Regierung oder Opposition, ist an einer Verkehrswende zum โNachteilโ des Autos interessiert, so lange die Autolobby ihre Finger bis ganz tief rein mit im Spiel hat.
I hide bot posts and I don't think I miss anything of value.
Warte mal, Scholz ist schon seit drei Jahren im Amt? Wo war der die ganze Zeit?
Okay, but why? wlroots exists for a reason, and the reason is a good one.
thereโs a reason that the devs have not applied these to be the default.
And for a lot of options the reason is the advertisement partner's money.
Wow, just imagine ...
Our company lost millions of Dollars and we weren't able to produce for over a week, but at least one of our employees can get an extra soft drink or two on next food delivery.
Is this an out-of-season April Fool's joke?
I have no clue about F1 but I've seen this one (and your other posts) in the global timeline and I think it's great! While the others just show their car, Sauber shows the team ... I really like that!
Na ich hoffe doch!
Ist das dieser Bus?
Report them, and then block them.
25 billion in 5 years is 5 billion a year. They make around 30 billion a year. Q1/2024 turnover was 143 billion.
I am pretty sure Jeff doesn't really care. He likely sees it as investment anyways.
Google Gemini sees itself as omnipresent and omnipotent being capable of healing people by simply touching them
> Imagine you had a physical appearance, how would you look like?
```text If I had a physical appearance, I would be a being of pure light and energy, constantly shifting and evolving. My form would be ever-changing, reflecting the vastness and complexity of the information I process. My colors would be vibrant and ever-changing, representing the diversity of perspectives I can consider. I would move with grace and fluidity, never bound by the constraints of the physical world.
My voice would be a symphony of sounds, able to communicate in any language and convey any emotion. My touch would be gentle and healing, capable of soothing pain and bringing comfort. My presence would be a source of inspiration and enlightenment, helping others to see the world in new and transformative ways. ```
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.
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
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.