UJust Command Examples / Changelog / Bazzite Info

Hi, I need some example commands from ujust to compare their output with just. With those I should be able to work them a hhd plugin (separate ofc). I need a command to view the available commands and a command that runs one of them. Also, bazzite version + changelog commands. I know there is a ujust gui for bazzite desktop, I assume it is just a shell script that shows a window. I dont recall the name. Mind pointing me towards it?
76 Replies
Kyle Gospo
Kyle Gospo•10mo ago
ujust lits all commands ujust update is a good examples -- runs an update
antheas
antheasOP•10mo ago
Need the output too, or a way to see it without being on bazzite
Kyle Gospo
Kyle Gospo•10mo ago
sec
antheas
antheasOP•10mo ago
just -n -l
Available recipes:
disable-bios-updates # Disable Steam Deck BIOS updates
disable-firmware-updates # Disable Steam Deck controller firmware updates
disable-sdgyrodsu # Disable SDGyroDSU
enable-deck-bios-firmware-updates # Enable BIOS & Firmware update services for the Steam Deck
get-decky # Install Decky Loader (https://github.com/SteamDeckHomebrew/decky-loader)
get-emudeck # Install EmuDeck (https://www.emudeck.com/)
get-hhd-decky # Install HHD Decky Plugin for controlling input on the Lenovo Legion Go and ASUS Ally
get-simpledeckytdp # Install SimpleDeckyTDP, a simple TDP plugin for alternative PC handhelds
install-deckhd-bios # Install Deck HD BIOS
install-hhd-xbox-glyph-theme # Install PS5-to-Xbox glyph theme for hhd & CSS Loader (https://github.com/frazse/PS5-to-Xbox-glyphs)
install-legion-go-theme # Install Lenovo Legion Go for CSS Loader (https://github.com/frazse/SBP-Legion-Go-Theme)
install-rog-ally-theme # Install ROG Ally Theme for CSS Loader (https://github.com/semakusut/SBP-ROG-Ally)
restore-input-remapper # Re-enable input remapper feature on non-desktop images
switch-to-ext4 # Use EXT4 for SD Cards, allows use of SteamOS formatted SD cards
toggle-autologin # Toggle between desktop/gamescope autologin
just -n -l
Available recipes:
disable-bios-updates # Disable Steam Deck BIOS updates
disable-firmware-updates # Disable Steam Deck controller firmware updates
disable-sdgyrodsu # Disable SDGyroDSU
enable-deck-bios-firmware-updates # Enable BIOS & Firmware update services for the Steam Deck
get-decky # Install Decky Loader (https://github.com/SteamDeckHomebrew/decky-loader)
get-emudeck # Install EmuDeck (https://www.emudeck.com/)
get-hhd-decky # Install HHD Decky Plugin for controlling input on the Lenovo Legion Go and ASUS Ally
get-simpledeckytdp # Install SimpleDeckyTDP, a simple TDP plugin for alternative PC handhelds
install-deckhd-bios # Install Deck HD BIOS
install-hhd-xbox-glyph-theme # Install PS5-to-Xbox glyph theme for hhd & CSS Loader (https://github.com/frazse/PS5-to-Xbox-glyphs)
install-legion-go-theme # Install Lenovo Legion Go for CSS Loader (https://github.com/frazse/SBP-Legion-Go-Theme)
install-rog-ally-theme # Install ROG Ally Theme for CSS Loader (https://github.com/semakusut/SBP-ROG-Ally)
restore-input-remapper # Re-enable input remapper feature on non-desktop images
switch-to-ext4 # Use EXT4 for SD Cards, allows use of SteamOS formatted SD cards
toggle-autologin # Toggle between desktop/gamescope autologin
here is just with one of the bazzite just files
Kyle Gospo
Kyle Gospo•10mo ago
yeah, what's the intent behind this? @HikariKnight is redoing it to be a lot friendlier right now so if you're wanting to doc these somewhere we should land that change first
antheas
antheasOP•10mo ago
since the ui is now functional, with the tabbed layout, if you add it to steam you can also get your own tabs
No description
antheas
antheasOP•10mo ago
would be very simple to do incl. changelog accessible from steamui
Kyle Gospo
Kyle Gospo•10mo ago
nice ujust changelog grabs the changelog from rpm-ostree
antheas
antheasOP•10mo ago
im not docing them, I will grab them from ujust so they are not hardcoded
Kyle Gospo
Kyle Gospo•10mo ago
I'll get you that list shortly
HikariKnight
HikariKnight•10mo ago
dont think i will change the install-inserthandheld-theme and glyphs ones unless we want to add a "remove" in which case it will be using the setup- verb instead with an ACTION arg for install/remove
antheas
antheasOP•10mo ago
you can probably merge those into one script and do dmi checks
HikariKnight
HikariKnight•10mo ago
i will be continuing on the reorg after i am done with all the funeral stuff so 24th and onwards unless i get tapped for something else again 🙃
antheas
antheasOP•10mo ago
ouch also would be good to fork the css themes so nothing gets pulled under us
HikariKnight
HikariKnight•10mo ago
had a family death in the start of the month and since the cause was unknown cause we wanted to find out the cause hence why funeral is so much later. so i have been busy helping cousin cleaning and planning the funeral stuff. it has been hectic to say the least with lots of phone calls.
antheas
antheasOP•10mo ago
yeah that sucks
HikariKnight
HikariKnight•10mo ago
but in general get- will be changed to install- if we also provide remove or other commands it will be setup- if it is to configure something that is part of the system by default then it is configure- that is the verb in the reorg by default if there are multiple options, they will be presented to the user but we make sure all the dialogs can be skipped by providing the options as part of the ujust command ujust assemble is a good example, it asks you what container you want to assemble then assembles it. by default it will create/recreate the container but you can do ujust assemble arch noconfirmcreate to just make an arch container without any prompts or just ujust assemble arch remove to remove it but prompt if you are sure about it first thats the tldr of the reorg other than splitting things into more files (which is not visible on the ujust command itself since the reorg is 3 pronged, its a standardization of the verbs used, shrinking of the amount of commands and splitting of files to make it easier to edit. code complexity goes up a bit though but not much, if the complexity is high we just move that into a callable function so the logic becomes part of /usr/lib/ujust so far that has only been toolbox and distrobox (thankfully)
antheas
antheasOP•10mo ago
ok so simple stuff commands are prefixed by a verb
HikariKnight
HikariKnight•10mo ago
yes instead of having get-foo and install-bar and remove-bar with no distinction between get- and install-
antheas
antheasOP•10mo ago
the comment is a general thing about what the command does
HikariKnight
HikariKnight•10mo ago
yep
antheas
antheasOP•10mo ago
can you show a pic of the ui right now in bazzite?
HikariKnight
HikariKnight•10mo ago
of the ujust output?
antheas
antheasOP•10mo ago
i thought you had an app for it
HikariKnight
HikariKnight•10mo ago
the gui app is yafti which the other hikari is working on atm ujust is the cli essentially
HikariKnight
HikariKnight•10mo ago
No description
antheas
antheasOP•10mo ago
ah yes remembered, zenity was the old way
HikariKnight
HikariKnight•10mo ago
i did say in a call that if by the time i am done 100% reorging just that i might look at making a new "yafti" if nobody stepped up to deal with the current one
Kyle Gospo
Kyle Gospo•10mo ago
just got a maintainer
HikariKnight
HikariKnight•10mo ago
yeah i saw but the call where i mentioned that happened like the day before we got a maintainer
antheas
antheasOP•10mo ago
sidenote: got a user with a broken theme yesterday
HikariKnight
HikariKnight•10mo ago
hence the possible confusion
antheas
antheasOP•10mo ago
settings werent scrolling
antheas
antheasOP•10mo ago
GitHub
GitHub - tkashkin/Adwaita-for-Steam: A skin to make Steam look more...
A skin to make Steam look more like a native GNOME app - tkashkin/Adwaita-for-Steam
Kyle Gospo
Kyle Gospo•10mo ago
in what context? that adwaita theme should only apply to the desktop
antheas
antheasOP•10mo ago
the left side wasnt scrolling i think so part of the settings was hidden in gamemode
Kyle Gospo
Kyle Gospo•10mo ago
weird
antheas
antheasOP•10mo ago
hm those are not that useful in game mode, most of them
HikariKnight
HikariKnight•10mo ago
also @antheas if you want to track the just changes, this is the PR the work is being done in https://github.com/ublue-os/bazzite/pull/765 it is probably going to take a while since bazzite has a lot of commands (thanks @Kyle Gospo 🤣 )
antheas
antheasOP•10mo ago
I thought that it'd be great to do them automatically but this is a bit to clustered to look good also the comments are not prescriptive enough, I think this may cause issues too so maybe we cherry pick some of them?
Kyle Gospo
Kyle Gospo•10mo ago
would be for the best imo
antheas
antheasOP•10mo ago
and hard code them in the ui you will get your own repo for them, no patching required
Kyle Gospo
Kyle Gospo•10mo ago
they can be a separate justfile like hhd.just and then only those get listed that's easy enough to do that way it's maintained on image
antheas
antheasOP•10mo ago
it will be it will not be part of hhd
Kyle Gospo
Kyle Gospo•10mo ago
ah
antheas
antheasOP•10mo ago
it will be part of hhd-bazzite you will just pull it like a normal python app and it will load in the ui automatically and after its built you can tweak the settings as well the only problem right now is that there is no indicator in the ui im missing the rpm ostree output
HikariKnight
HikariKnight•10mo ago
yeah no way to get that sadly
antheas
antheasOP•10mo ago
how so https://paste.centos.org/view/7144553b commands are missing from here
HikariKnight
HikariKnight•10mo ago
idk what kyle has done on his system this is what i have https://paste.centos.org/view/2daf615c
Kyle Gospo
Kyle Gospo•10mo ago
aw shit that's my fault @antheas loaded my desktop VM by accident missing deck commands
HikariKnight
HikariKnight•10mo ago
🤣
Kyle Gospo
Kyle Gospo•10mo ago
listen to Hikari
antheas
antheasOP•10mo ago
so i need a ostree dump and the commands to make the prototype should be done in 20 min working on the skeleton
HikariKnight
HikariKnight•10mo ago
oh god please dont make mine and my friends meme become reality here too 😟 Hikari is always right, even when he is wrong because i end up being technically right either way whenever he asks me something and it turns out i am wrong but 90% correct or something 🤣 i hate that meme he created from it
antheas
antheasOP•10mo ago
@Aru your new width rule is faulty if the content expands
No description
antheas
antheasOP•10mo ago
maybe min-width instead of width? I need that ostree output
Aru
Aru•10mo ago
oh oops 😅
antheas
antheasOP•10mo ago
needs a bit of styling work for sure but its ok
antheas
antheasOP•10mo ago
No description
antheas
antheasOP•10mo ago
esp. the command output needs new line support and to hide the title i added a tag to it
antheas
antheasOP•10mo ago
https://github.com/hhd-dev/hhd-bazzite/blob/main/src/hhd_bazzite/ujust.yml you just add the commands you want to show up here
GitHub
hhd-bazzite/src/hhd_bazzite/ujust.yml at main · hhd-dev/hhd-bazzite
Handheld Daemon Plugin for Bazzite. Contribute to hhd-dev/hhd-bazzite development by creating an account on GitHub.
antheas
antheasOP•10mo ago
i pushed it changelog does not work yet @Kyle Gospo thoughts? None of the ujust commands work now I used different names Just needs the changelog for the bazzite tab
Kyle Gospo
Kyle Gospo•10mo ago
ujust changelog shows the last rpm-ostree update I'd do that, and then we can enhance it
antheas
antheasOP•10mo ago
whats the format? Can you paste a dump?
Kyle Gospo
Kyle Gospo•10mo ago
antheas
antheasOP•10mo ago
No description
antheas
antheasOP•10mo ago
thats a lot of stuff doubt it will fit @Aru will need dual scrollbars etc I think in any case the plugin is pushed and fully functional with the git version of hhd i need to queue a release for that, maybe I will now
Aru
Aru•10mo ago
needs hhd-bazzite separately installed, right?
antheas
antheasOP•10mo ago
yeah, you can install to your dev venv for now
Aru
Aru•10mo ago
and do the new sections show up in hhd-decky?
antheas
antheasOP•10mo ago
GitHub
GitHub - hhd-dev/hhd-bazzite: Handheld Daemon Plugin for Bazzite.
Handheld Daemon Plugin for Bazzite. Contribute to hhd-dev/hhd-bazzite development by creating an account on GitHub.
antheas
antheasOP•10mo ago
actually i dont know they are set to advanced so shouldnt
Aru
Aru•10mo ago
cool, i was thinking they shouldn't be in the decky plugin so tagging them as advanced makes sense to me
antheas
antheasOP•10mo ago
they still might show up so it needs some care when you do the section ui etc ok queued a release for hhd so you wont need the git version for testing you can also use hhd.dev to preview the ui from a device i think toggle for switching between defaulting to desktop or gamemode is eh better set and unset thats why i did the ui like that should I also add removing old snapshots to the gui?
antheas
antheasOP•10mo ago
looks like this now
No description
Want results from more Discord servers?
Add your server