| 23 Jun 2026 |
| User joined the room. | 07:07:26 |
| Enok Larsson joined the room. | 09:58:52 |
| 24 Jun 2026 |
Makuru | Whats wrong with gamescope?
/bin/sh: line 1: gamescope: command not found | 17:47:01 |
Makuru | where gamescope
/nix/store/71d1mqa318yqsfq1wmyp6x5iaz6pix0c-gamescope-3.16.24/bin/gamescope
/run/current-system/sw/bin/gamescope
| 17:48:52 |
| SkiltZ joined the room. | 18:38:00 |
marienz | Normal steam client or beta or SteamRT3 steam client? I noticed steam (possibly SteamRT3 only?) started running games with $PATH cleaned up (ran into a similar error with my own custom wrapper). I added my wrapper to the steam FHSenv to get around it but don't recall if there's a nice way of doing that. Didn't realize gamescope wasn't in there already. I'll file a bug this evening (not at my computer right now). | 23:31:11 |
| 25 Jun 2026 |
Makuru | SteamRT3 | 02:27:19 |
Makuru | Did this also fix the problem with gamemode? | 02:28:18 |
marienz | It'll affect anything not included in the steam FHSenv. Workaround would be to specify the full path (I think /run/current-system/sw/bin is still available inside the container, just not on $PATH) | 02:56:47 |
Atemu | Perhaps slightly OT but does anyone know of a way to set env vars only for the games that Steam runs but not for Steam itself? I currently use the wrapper but have run into an issue with an env var that causes trouble with Steam but that I do want games to get passed. | 07:56:03 |
neobrain | Use the launch options | 08:21:58 |
neobrain | (In the game properties dialog) | 08:22:26 |
neobrain | MYENV=somevalue %command% | 08:23:03 |
marienz | I don't think there's a way around having to do that for each game | 08:23:03 |
marienz | (no default launch options for all games that don't have per-game options set) | 08:23:49 |
marienz | So it's a little annoying (but does work) | 08:24:08 |
magic_rb | I wish steam had a better api for this:
- List games
- Set launch options
It would make things easier for a lot of linux folks
| 09:34:09 |
srestegosaurio (on tchncs.de) | I've once saw a project which let you do something like that as a nixos module. | 10:01:04 |
srestegosaurio (on tchncs.de) | It seemed hacky. | 10:01:13 |
marienz | I'd be curious how they managed it (I can't really think of a way short of replacing the /bin/sh Steam sees with something that checks whether it's being invoked by Steam) | 10:03:47 |
magic_rb | They edit steams vdf database, which means steam cant running when you do it | 10:38:17 |
magic_rb | Very impractical | 10:38:32 |
marienz | ah, I see. https://github.com/ValveSoftware/steam-for-linux/issues/3453 looks like the relevant upstream feature request (and someone in there mentions sed-ing localconfig.vdf, presumably same approach you're describing) | 10:40:39 |
magic_rb | Yeah its truly a shame there isnt a api for this :( next year when i go to xdc ill convince one of the valve contractors to push the idea within valve. Cant hurt to try | 10:42:00 |
marienz | Looks like I missed that nixpkgs+NixOS already had a hook for this. Assuming you're using the NixOS steam module, try adding programs.steam.extraPackages = pkgs: [ pkgs.gamescope ] (...it's even the example in https://search.nixos.org/options?channel=26.05&query=steam.extraPackages#show=option%253Aprograms.steam.extraPackages ) | 11:14:54 |
marienz | err, sorry, that should've been just programs.steam.extraPackages = [pkgs.gamescope] | 11:19:10 |
marienz | * err, sorry, that should've been just programs.steam.extraPackages = [ pkgs.gamescope ] | 11:19:25 |
Makuru | awawawwawa | 11:59:30 |
ranidspace (they/it/xe) | awawawawawa | 13:20:48 |
marienz | ? | 13:22:09 |