#install appimage as abroot?

99 messages · Page 1 of 1 (latest)

tropic fox
#

How can I install an appimage as abroot?

(please dont tell me I shouldn't . i already know)

#

well

#

I want an appimage to make abroot changes

mellow elk
#

you don't install appimages tho

#

what exactly do you mean "make abroot changes"

#

make changes inside a new abroot transaction?

mellow elk
#

just run the appimage inside abroot shell

#

copy it to /tmp, since that's shared

tropic fox
#

okay, let me try

#

weird error

#

missing shared library ig

mellow elk
#

appimage moment

tropic fox
#

wait i get the same error not running in abroot

mellow elk
#

yes, appimage moment

#

it's missing a library/dependency most likely

#

could you send the full error?

#

wait the warning is right there

#

you need gdkpixbuf

tropic fox
#

sudo abroot exec apt install gdkpixbuf ?

mellow elk
#

nah just do it inside the abroot shell you ran the appimage in

#

will work immediately

tropic fox
#

okay

#

just apt install gdkpixbuf then right?

#

while inside the shell

mellow elk
#

not sure what the package name is, but yes

#

try apt search gdkpixbuf first to find the actual package name

tropic fox
mellow elk
#

the one starting with gir1.2

tropic fox
#

it says it's installed though

mellow elk
#

ah

#

then it's just an appimage issue

tropic fox
#

this guy has the same issue

#

it looks like

#

ig i'll try the solution he posted

mellow elk
#

yeah that should work

tropic fox
#

i get the feeling that what I'm about to do will cause a lot of problems

mellow elk
#

what exactly?

tropic fox
#

changing gdm via appimage using abroot

mellow elk
#

nah that shouldn't do anything

#

if it breaks something you can still rollback to the current root

tropic fox
#

wtf

#

permission denied

mellow elk
tropic fox
#

am i just being stupid

#

this shell should have all the permissions

mellow elk
#

oh you have to chmod +x ./Login_Manager_Settings.AppImage

tropic fox
#

oh lol i'm dumb

#

well time to restart my pc again

mellow elk
#

what

#

you don't

#

huh

#

you don't have to restart after every command 😭

tropic fox
#

so it wouldnt let me open another

#

Well, I decided to run the new appimage described in the github issue without abroot

#

just to check to see if I got the same error

#

and i did

#

well, i dropped a comment , hopefully he'll reply

#

only other solution i have is to just build the thing

#

guess I'll abroot all dependencies and do so

#

seems to be working

#

so far

#

weird... it went without a hitch, but after installing, it's not appearing in my app launcher

#

(and i restarted)

mellow elk
#

it changes system stuff

tropic fox
#

so if I entered an abroot shell right now, what command would I need to run

#

just gdm-settings?

mellow elk
#

yeah

tropic fox
mellow elk
#

ok that issue is just because you're running it in abroot shell

tropic fox
#

well, restarting my pc removed all my changes earlier

#

I had to rebuild everything and install the dependencies again

#

so I really don't know how to do this outside an abroot shell

mellow elk
#

you can't

tropic fox
#

yeah

#

well damn

#

well, i guess i admit defeat

rustic kestrel
#

Run the appimage in a normal shell with WITH SUDO

#

When you are done, make an empty transaction (sudo abroot exec echo)

#

Reboot, and see if it worked

mellow elk
#

how is that supposed to work

#

the application won't be able to change stuff in the root

rustic kestrel
#

You edit it using sudo in a normal shell, and then run an empty abroot transaction

mellow elk
#

yeah but the application changes gdm settings in root

rustic kestrel
#

Yes, you also change grub settings in root

#

Hence starting with sudo

mellow elk
#

yes, in /etc, this changes things in /usr

barren talon