Programs in containers won't launch from .desktop file
I don't think I've changed anything, but programs in containers now won't launch from their .desktop file. I can still run them from my shell.
.desktop file:
Nothing is displayed when opening it via
rofi
, but opening the .desktop file with xdg-open displays the attached error message:
("Unable to connect to libvirt with URI: [none].")13 Replies
Remember vscode installs to /opt?
this is in a fedora container
🤔
it works fine when opening it from the terminal
Try changing the command to code.fedora
Code. Whatever the name of the container is
ope, sorry, had to go and forgot to check back in
i tried that too, safe thing
idk what libvirt has to do with this
try removing the capital letters from
StartupWMClass
and idk why ./code.
is the iconalright, i'll give it a try in a bit
@ム丂イ乇尺ノ丂ズ alright, so apparently i'm a slight idiot
xdg-open thinks it's something libvirt related
opening it with gtk-launch works properly
doing it via rofi fails
and via rofi,
code.fedora
isn't in the PATH
oh this might be related to another issue i forgot to report
when running code
, or anything in the container, in bash, i get this:
it works fine in fish, thoughThat’s odd
It is in your PATH though
Wayland can use xdg-open?
yeah
afaik
maybe something else is symlinked to it
i know some xdg-open replacements do that
i haven't looked
yep, it's xdg-open
(this also happens with
user shell $container
)Solution
@ム丂イ乇尺ノ丂ズ update: apparently updating fixed it
i just don't update that often since it takes half an hour and makes it nigh unusable for a decent chunk of it since my chromebook is too weak to do it well lol
i should probably run blendos on a different computer, for now at least
cool