Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Jovian Applet" #145

Open
samueldr opened this issue Aug 18, 2023 · 0 comments
Open

"Jovian Applet" #145

samueldr opened this issue Aug 18, 2023 · 0 comments
Labels
1. type: Feature request 2. priority: 3. low 2. topic: Bespoke stuff Things that are specific to Jovian Experiments 2. topic: system integration About our integration of Steam stuff within NixOS

Comments

@samueldr
Copy link
Member

These are initial notes for a "Jovian Applet" thing.


Goals

Helping a user when things go wrong.

Main thing here I have in mind is to allow selecting which session to start.

The idea would be to:

  • Detect a specific (lizard mode assumed) key is being held
  • Switch to the applet
  • The applet would allow selecting which session to start ("plasma" or "steam")

We can cheat a lot for checking the key, e.g. try the following:

 $ nix-shell -p evtest
 $ sleep 1; for dev in /dev/input/event*; do sudo evtest --query "$dev" EV_KEY KEY_LEFTSHIFT || echo $?; done

By detecting any of the input devices returning 10 we can trivially enough flag the applet up.

We could even have it work to directly switch to the desktop session in the mean-time!

Do additional maintenance tasks

There are some administrative tasks with Nix things that get awkward to do on a portable device. Maybe garbage collection aimed at cleaning up the ESP for boot related issues?

It would be nice to allow a nixos-rebuild --upgrade to happen, but I'm not sure if there's any universal mechanism that can be used these days, with the fragmentation there is around inputs.

In-steam stuff

The same "framework" should be re-used within the steam app to add some useful features:

  • Ejecting external storage properly
  • Creating a new library on external storage
  • Formatting external storage
@samueldr samueldr added 2. priority: 3. low 2. topic: system integration About our integration of Steam stuff within NixOS 2. topic: Bespoke stuff Things that are specific to Jovian Experiments 1. type: Feature request labels Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. type: Feature request 2. priority: 3. low 2. topic: Bespoke stuff Things that are specific to Jovian Experiments 2. topic: system integration About our integration of Steam stuff within NixOS
Projects
None yet
Development

No branches or pull requests

1 participant