Spyke

Posts

linux·Linuxbylyoko

Gnome Display Manager (gdm) and XTEST

Hi, I've recently discovered that steam client on linux requires the XTEST extension to handle input from controller. However, I can not enable XTEST on gdm no matter what I've done. Switch to lightdm solves it instanly but I prefer gdm.

Could you provide some hint how to debug it and have you experienced that before? Thank you very much!

I am using Arch Linux with Gnome and Wayland.

View original on lemm.ee
linux_gaming·Linux Gamingbylyoko

PS5 controller with Steam on Linux - Solved

Hi, I would like to ask if you have any experience with the PS5 controller with Steam on Linux. Steam crashes (segfault) everytime I connect the PS5 to my pc regardless bluetooth or usb :/

One particular setup with my pc is I am using the linux zen kernel on arch instead of the mainline kernel. Does anyone of you have similar setup with me and has the PS5 controller working ?

Thank you very much!

Edit: forgot to mention that I could use the PS5 dualsense as a mouse and use dualsensectl to control it so i guess it is more or less a Steam problem :/

Edit: Thank you everyone for your supports. I find out that for some reason I don't have XTEST extensions enable which steam need to use. If I switch to another display manager with XTEST enabled, steam works again

View original on lemm.ee
selfhosted·Selfhostedbylyoko

An Opensubsonic server in Rust

I am selfhosting Navidrome for sometimes but its lacks of support for multiple values really bugs me. Since I am having some free time, I've decided to write an opensubsonic server in rust (why rust? you guess). The notable features are:

  • In-memory transcoding with ffmpeg c api. Faster transcoding with no ffmpeg binary required and no need for pre-configurated transcoding profile.
  • Multiple values for artists/album artists/etc.
  • Permission models music folder per user.

It is still actively developped and lacks some Opensubsonic features (playlist/starr) and some external integrations like lastfm. However I would like to post it get some feedback about it.

Thank you very much!

An Opensubsonic server in Rusthttps://github.com/vnghia/ngheOpen linkView original on lemm.ee
selfhosted·Selfhostedbylyoko

Templating engine for docker compose

Maybe this is a little bit off-topic. I would like to ask how you manage your dockerfile.

I have a git repo hosting my configurations (docker-compose, traefik, etc). Then, I have a python script that reads data from JSON, renders the placeholder inside these files (the {{replace_me}}) by an actual value and outputs them to another directory. Finally, I cd to that directory and run docker-compose up -f .... (This approach takes inspiration from the terraform templatefile)

That JSON file is generated by some terraform code, along with terraform code for other stuffs (storage bucket, vps, dns, etc).

It works well for me so far. Especially for:

  • templating traefik toml configuration (I like it a lot more than the label approach).
  • secret in the docker env file (so my docker.env file has the form of secrect={{secret}}.

I know most templating docker part can be replaced by directly interpolating with environment variables but I don't really like it because it seems environment variables are not persistent.

Do you have any suggestions for my workflow ? I am always feel a litte bit off about this approach.

Edit: Thank you for your suggestions. I will try k8s for edge computing and if it does not work really well, I will stick with my current approach.

View original on lemm.ee

You reached the end