Safe to install RPMs? No flatpak for mullvad VPN
I'm new to fedora atomic desktop in general.
Is it generally safe to install RPMs in this thing? I guess is the question. Do I have to restart every time it does? For example I installed 1Password RPM but then had to uninstall then it asked me to reboot... not sure if that's normal in general
76 Replies
installing rpms through
rpm-ostree
is always a last resort for things that will not work in distrobox and is not available as a flatpak
VPNs are such programs.
and yes you need to reboot in most cases when installing through rpm-ostree.
it has the option to apply live, but in many cases it will not work and you need to reboot from what i remember.@HikariKnight how do you get around it all then? like even htop took forever to install as it did a new hash id entry with rpm-ostree
do I have to do a custom image with the applications I want in my bazzite installation?
if you want to avoid layering then yes you need to make a custom image
and the updates it would receive? do I have to rebuild the image every time and rebase?
automatic
its all automatic through github
bazzite releases update
github actions on a timer grabs newest bazzite and puts in your changes and builds the custom image
you download newest custom image
ok I'm just scratching my head... is there an issue when packages are installed in /opt? the installer kept moving them to /usr/lib/opt/APPNAME
(installer as in rpm-ostree install)
Hey @Prinny I'm playing around with a simple custom image, based on bazzite https://github.com/Ogglord/bazzite-ogglord it's quite easy and fun, my daily driver
it all starts with the Containerfile - and the github action compiles it, and uploads it to ghcr.io
yea I saw the containerfile I was just hoping to keep things a bit more ... simple I guess π¦
but I imagine it pushes, then I just rebase to that with whatever atomic desktop I'm using is the gist ?
yes, precisely
rpm-ostree rebase ostree-unverified-registry:ghcr.io/somethingsomething
you can always undo, and the last one is still an option in grubthanks, I think I absolutely love where this rpm-ostree is heading but it man forking and doing my own thing wasn't in my "welp, just want an stable distro without the hassle of scripting" haha
gotcha π
i do hope that eventually they could like create units you can just select/drag into these things and it's all a 'choose your packages' for non-containerized things
once you have it, its hella stable
oh absolutely no doubt
okay, my frustration (not related to this) is gone so my mind is clear. what steps did you follow ?... Ill probably just fork what you have lol. the other is how does anyone inspect that artifacts (layers) generated without really rebasing can we just mount the image or something?
haha cool! I followed this guide, my repo is based on this template https://github.com/ublue-os/image-template
I'm sure you can mount/boot any layer, as its a generic OCI containers. But what I've done (I have just done this for two weeks lol) is to look at the github repos, it's quite easy to track once you get the gist of it
do you have a schedule for it or?.. (when it comes to like grabbing updates/etc I'm still wrapping my head on how receiving updates works)
in that template repo, there is a github action
ah
ok I just... thought it didn't include the batteries (scheduler)
github grabs the upstream bazzite:testing each day, and rebuilds my image. And it also rebuilds it on each commit automatically
on my desktop there's the automatic update or
ujust update
noice, I'm more used to gitlab so sorry haha
but nice to know
I'm just baffled that im getting this compute and storage for free (so far..)
from github
well, microsoft has that infinite money glitch going for them π
lol yea I guess
so basically you rebase then after that it's
ujust update
from there on
if so that sounds pretty good to meyea
I guess I just hope that the RPMs I install are actually properly installed what kept happening is that
i installed mullvad vpn but it installed it in the wrong place
so everything broke
(installed it in /usr/lib instead of placing it in /opt) but hopefully committing the layer fixes all that in the building stage
add the yum repo, then in my repo, I would try to add it to apps.yml but under
optfix: - mullvad-vpn
look what the scripts/rpm-ostree.sh does for those apps
correction: mullvad-vpn goes under install:
and each directory that should be linked goes under optfixyeap sounds good, thanks for the help and insights π
so you gotta know where mullvad-vpn is installed, and for each list them like /opt/[path-to-optfix] I guess, I have not tried this but it should work lol
does your 1password communicates with your browser now?
noticed you had that in
π€
yes
it works flawlessly
you can also install mullvad-vpn in a distrobox
distrobox enter
[install classic fedora style]
distrobox-export --app mullvad-vpn
interesting... also if I want to recompile a package I imagine distrobox I can do multi stage like docker and get the artifacts ? no worries if you don't know I can always ask in the dev channels to see how they go about it
I think I have way more than enough information to fix all my issues and have a proper(custom) setup rolling
great. glhf!
I wonder if I can do this as well but with Windscribe
thanks to @ogglord I've been able to adapt it to my liking to be honest. that's the image I just built without rebasing (i'm using ubuntu lts right now).
but to answer your question yea
I don't really see why not I'll probably put out a script if necessary
https://github.com/thndgonz/bazzite-custom-rebazze (ill rebase the git later but need to do further testing)
GitHub
GitHub - thndgonz/bazzite-custom-rebazze: Personal image based on b...
Personal image based on bazzite-stable. Do not use unless you know what you are doing. - thndgonz/bazzite-custom-rebazze
Hmm, these stuff is still a bit confusing to me
The problem I have with Windscribe currently is that they don't have a repo
you could curl the rpm in a bash script https://windscribe.com/install/desktop/linux_rpm_x64 seems to give the "latest"
and install the rpm file using rpm-ostree
Oh I thought the images explicitly needs a repo to work, neat
it will not persist because it installs the app in the /opt so when you restart all you have is the binaries in the /usr/bin but everything else is gone
Yeah, I've read something about optfix
I did a layer for mullvad vpn but you are better off asking in #πͺcustom-image-support as they might all have different opinions on how to package it
but yea once you get the optfix in you are golden π
Alright
ty
My custom image builds!
Problem is uh, I rebased to it but I didn't realize that I was using the KDE image instead of GNOME after I had already booted
I did read that rebasing to a different DE is not recommended, what happens now?
ask in #πͺcustom-image-support @Marcus Lee sadly can't help you there, in theory you can just boot to an old entry.
just try it
as far as I know, the major issue is that KDE and Gnome like to step on eachothers configs
i basically just started bazzite a few days ago and achieved plenty if I'd say so myself but don't have the knowledge of those sort of oopsies haha
the stuff in you ~home folder
if you have a backup, or if you don't care about your ~/.config especially then I would simply go for it
I see
Hi. So has anyone figured out how to get the mullvad vpn working in boxbuddy? The app starts for me but does not connect to the service. That is where I am stuck.
vpns require you to layer them, or use the openvpn or wireguard configs they offer
So should I get the openvpn setup in bazite?
If it satisfies your needs (separate configs for every country) then that's better than layering
Guess I gotta learn how to do that
if you dont figure out how to import the file, you can just layer their rpm with
rpm-ostree install /path/to/rpmfile
and it will just work after a rebootIsn't a that the last resort? Won't that screw up down the road?
VPN clients require it which is where the last resort comes in
some software require host system access to function
majority of stuff will work through flatpak or distrobox though, but we know VPNs do not (unless they offer a flatpak like protonvpn does)
just dont try to install everything with rpm-ostree
you dont need your text editor and development libraries and such layered π
htop can be installed via brew
Yeah I figured that
The link isn't working
youre replying to ancient messages
I'm still enjoying it. Just one last quick question. With the desktop version I have, how do I access the decky loader in gaming mode. Just wanna play around with settings. I know this isn't the support for that but I'm lazy ATM.
I didn't realize how old it was
i never used decky on the desktop. but to open the right side menu in big picture mode (and gamemode) you press CTRL+2 or GUIDE+A on the controller (GUIDE being the "steam" button)
done the same mistake myself π
Sweet. I'll mess with that tomorrow. Thanks for the help.
there are prob better examples rn, but heres my current image https://github.com/Ogglord/birdie
GitHub
GitHub - Ogglord/birdie: Bazzite with wings, a custom spin of Fedor...
Bazzite with wings, a custom spin of Fedora Silverblue - Ogglord/birdie
So I installed mullvadvpn just fine but idk what setting for openvpn I need to enable in order for the service to connect. But also I browse the opt folder and it says it is not writable. Does that have anything to do with it?
If you layered mullvad, then just use the app, there is no need to configure openvpn at this point
I reinstalled it using rpm-ostree command and tried cleaning out all of mullvad from box buddy. Same results here, so idk if it is just the app being dumb or if I am missing something.
Imagine if distrobox supports vpns
Lmao yep
π
i use mullvad and remember this
u have to do
sudo systemctl enable --now mullvad-daemon
(assuming u layered it)
also mullvad has tailscale integration but its super insecure so dont use itGig mcthankies, it worked. Have not used tailscale though.