Skip Navigation
Dirk ๐˜‹๐˜ช๐˜ณ๐˜ฌ @lemmy.ml

Somewhere between Linux woes, gaming, open source, 3D printing, recreational coding, and occasional ranting.

๐Ÿ”— Me, but elsewhere

๐Ÿ‡ฌ๐Ÿ‡ง / ๐Ÿ‡ฉ๐Ÿ‡ช

Posts 22
Comments 2.3K
What isn't illegal but should be?
  • Yes please. People should shut up in public transportat and other crammed public places.

  • ichSPRICHiel
  • Roberts Rundstรผck warm.

  • Sleep paralysis demon
  • So Habbo Hotel is a programming language.

  • STVZO: Bald nur noch 50 kg Gesamtgewicht fรผr Anhรคnger?
  • 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.

  • STVZO: Bald nur noch 50 kg Gesamtgewicht fรผr Anhรคnger?
  • 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.

  • Regierung schlรคgt 28. September 2025 fรผr Bundestagswahl vor
  • Warte mal, Scholz ist schon seit drei Jahren im Amt? Wo war der die ganze Zeit?

  • Hyprland is now fully independent!
  • Okay, but why? wlroots exists for a reason, and the reason is a good one.

  • A great set of optimizations for Firefox; Highly Recommended
  • 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.

  • CrowdStrike offers a $10 apology gift card to say sorry for outage | TechCrunch
  • 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?

  • Sauber poster for the 2024 Belgian Grand Prix
  • 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!

  • I am being harassed by https://dubvee.org/u/ptz
  • Report them, and then block them.

  • Alexa Is in Millions of Householdsโ€”and Amazon Is Losing Billions [WSJ]
  • 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.

  • CIA manual.
  • Flashlight or Fleshlight ... I don't care

  • 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. ```

    0

    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.)

    14

    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?

    4
    Deppen Leer Zeichen @feddit.de ๐˜‹๐˜ช๐˜ณ๐˜ฌ @lemmy.ml

    Zu Ostern gab es Blรคtter und Krokant und gefรผllte Vollmilchschokolade

    !

    2

    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:

    1. BusyBox in a selfmade Docker container, manually running httpd or The smallest Docker image ...
    2. php:latest (ignoring the fact, that the built-in webserver is meant for development and not for production)
    3. 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?

    52
    /c/cybersecurity - Cybersecurity News & Discussion @lemmy.ml ๐˜‹๐˜ช๐˜ณ๐˜ฌ @lemmy.ml

    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?

    5

    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?

    7
    Lemmy Support @lemmy.ml ๐˜‹๐˜ช๐˜ณ๐˜ฌ @lemmy.ml

    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?

    0
    Lemmy Support @lemmy.ml ๐˜‹๐˜ช๐˜ณ๐˜ฌ @lemmy.ml

    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.

    0

    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

    0

    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

    3

    The OTP you want to use was already used

    32

    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.

    62

    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:

    1. A local computer with a directory where the application that I want to dockerize is located
    2. A โ€œdocker serverโ€ running Portainer without shell/ssh access
    3. A place where I can upload/host the Docker images and where I can pull the images from on the โ€œDocker serverโ€
    4. 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?

    44

    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 ```

    18

    What are some upsides of software being federated?

    In opposition to this post ... Name your most favorite upsides of software being federated.

    9

    Cโ€™mon, Do Something

    84

    Please don't scare them!

    38
    Lemmy Support @lemmy.ml ๐˜‹๐˜ช๐˜ณ๐˜ฌ @lemmy.ml

    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.

    0

    blee-bloo blbleebloo

    Are we still doing ancient memes?

    11