You are not logged in.
When I installed Arch, about a month ago, during the installation process I installed konsole, to have a terminal to be able to use out of the box. However, a few days ago, I decided to try out other terminals. I ended up switching to WezTerm, and I made it my main terminal. So I set it as default terminal, and the 'Ctrl+Alt+T' shortcut to open it. But despite that and uninstalling konsole, when I enter a folder in Dolphin and right-click 'Open terminal here', it opens a 'flatpak-spawn: konsole' window. I tried uninstalling konsole with pacman, deleting any konsole folder but it still opens every time. I don't know if it's a Dolphin or Flatpak config, but it's very annoying and I couldn't find any help online. If you need any data to help me, ask, I'm not an expert but can manage.
Last edited by juani (2024-10-11 21:51:49)
Offline
You need to set WezTerm as your default terminal, likely in a file at ~/.config/mimeapps.list; Dolphin likely sees that you want to open something in a terminal, and looks up your default terminal, which is still listed as the Konsole desktop entry because WezTerm does not bother to change that setting.
Offline
You need to set WezTerm as your default terminal, likely in a file at ~/.config/mimeapps.list; Dolphin likely sees that you want to open something in a terminal, and looks up your default terminal, which is still listed as the Konsole desktop entry because WezTerm does not bother to change that setting.
I checked, and there is no reference to 'terminal', 'konsole' or 'wez' anywhere. Should I set it manually? I don't know what the command would be
Offline
mesaprotector wrote:You need to set WezTerm as your default terminal, likely in a file at ~/.config/mimeapps.list; Dolphin likely sees that you want to open something in a terminal, and looks up your default terminal, which is still listed as the Konsole desktop entry because WezTerm does not bother to change that setting.
I checked, and there is no reference to 'terminal', 'konsole' or 'wez' anywhere. Should I set it manually? I don't know what the command would be
Seems as though setting the default terminal is not as easy as for other mimetypes (I'm not sure terminal even has a mimetype). Since you're using Dolphin, try adding this to .config/kdeglobals:
[General]
TerminalApplication=wezterm
Offline
Since you're using Dolphin, try adding this to .config/kdeglobals:
[General]
TerminalApplication=wezterm
I did that, and TerminalService=org.wezfurlong.wezterm as well just in case. Wrote it out and rebooted, but still nothing. I assumed it wouldn't work since the previous application said 'Blackbox' (the terminal I had been using before wez) and I had the same issue either way
Offline
https://bbs.archlinux.org/viewtopic.php?id=298330
https://bbs.archlinux.org/viewtopic.php?id=294271
There's no default way to configure the "default" TE, the suggested https://wiki.archlinux.org/title/Dolphin#Open_terminal is only really correct for dolphin.
nb. that this will likely require you to restart dolphin and since it's likely running as single instance, that means to kill all intances first.
I wonder how flatschpak comes in here - is dolphin from the repo or a flatschpak?
Otherwise I wonder whether KDE has indeed moved to some xdg-desktop-portal implementation of the default terminal.
Offline
the suggested https://wiki.archlinux.org/title/Dolphin#Open_terminal is only really correct for dolphin.
I have dolphin, and tried what's on this page but it didn't work
I wonder how flatschpak comes in here - is dolphin from the repo or a flatschpak?
Dolphin was installed through flatpak. I tried reinstalling it, but it didn't solve it either. I also tried setting the 'TERMINAL' env variable to wezterm but nothing works. At this point I guess I'll just use konsole when I need this. Just a reminder, I installed konsole during the Arch installation process, and already tried uninstalling it through pacman.
Offline
Dolphin was installed through flatpak.
Ok, then you can probably forget about everything here - is there any reason why you'd not just use https://archlinux.org/packages/extra/x86_64/dolphin/ ?
Offline
is there any reason why you'd not just use https://archlinux.org/packages/extra/x86_64/dolphin/ ?
I hadn't thought about it, the kde store seemed as the easiest way. But now that I tried, it outputs:
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from mirror.theo546.fr : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from al.arch.niranjan.co : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from arch.niranjan.co : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from de.arch.niranjan.co : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from mirror.raiolanetworks.com : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from archlinux.thaller.ws : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from mirror.ubrco.de : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from mirror.ufscar.br : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from archlinux.uk.mirror.allworldit.com : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from arch.phinau.de : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from america.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from asia.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from europe.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from geo.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from london.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from seoul.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from sydney.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from mirror.rznet.fr : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from us.arch.niranjan.co : The requested URL returned error: 404
error: failed retrieving file 'dolphin-24.08.1-1-x86_64.pkg.tar.zst' from mirror.moson.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.Any way I can resolve this?
Last edited by juani (2024-10-11 21:28:43)
Offline
Please use [code][/code] tags, not "quote" tags. Edit your post in this regard.
pacman -Syu dolphinAnd please read https://wiki.archlinux.org/title/Pacman#Usage
Offline
pacman -Syu dolphin
Thanks, it seems like the flatpak version of dolphin was the issue. I don't know why it happened but the pacman version works.
Offline
Because flatschpak is essentially detached from the rest of the system. Integration doesn't really work and global configs will hardly be considered.
Simply avoid it whenever possible.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Because flatschpak is essentially detached from the rest of the system. Integration doesn't really work and global configs will hardly be considered.
Simply avoid it whenever possible.
Out of curiosity, is that due to the applications being sandboxed for ease of installation?
Thanks, I'll mark this as solved.
Offline
More or less, several host paths are exposed to the "sandbox" (which isn't a sandbox in security terms) but the config is rather supposed to remain local to prevent collision between containers.
flatpacksnapdocks are essentially degenerated virtual machines, their only value is for upstream to easily distribute binaries (ignoring the inherent fragility that's often not properly covered by the container collection either and glaring security issues because you end up running various iterations of legacy code, accumulating all their CVEs…)
Offline
There are ways to allow flatpaks to access files outside the sandbox:
flatpak override --filesystem=xdg-config name.of.flatpakDox: https://man.archlinux.org/man/flatpak-override.1.en
EDIT: obligatory XKCD link: https://xkcd.com/2044/
Last edited by Head_on_a_Stick (2024-10-12 11:38:03)
Jin, Jîyan, Azadî
Offline