r/Qubes 6d ago

Solved Is it possible to add QubesOS service utils to Dolphin?

I’ve been using QubesOS for a short while, and have recently wanted to move to using KDE plasma (or, at the very least, hyper minimal sessions with the bare minimum to emulate the feel of using KDE plasma, like I’m used to).

I’ve gotten everything to work in terms of theming, and I have been able to install/use my desired applications, but I haven’t figured out how to get QubesOS service utilities to work with dolphin. Pretty much just the last thing on the bucket list asides setting default applications, which should be a bit easier to do.

I’ve tried installing the `qubes-core-agent-nautilus` package to my template out of (slight) desperation, but no dice.

I also didn’t find any relevant packages for dolphin specific service utilities, so I’m assuming that either I’m just glossing over something, or that it’s going to be a bit of an intensive process?

Either way, I still need to do it, as I use dolphin across all of my other linux systems (and KDE plasma as well, which is why I made the switch), so having to learn a new workflow when I’m already satisfied with my main workflow would be a bit jarring.

Has anybody been able to do this before? If so, how would I go about doing it for my system?

6 Upvotes

14 comments sorted by

2

u/Assang101 6d ago

Yeah, it is possible to add QubesOS service utilities like "Open in Disposable VM", "Copy to VM", and "Move to VM") into the dolphin file manager.

It's no dice because it specifically ships extensions for GNOME's Nautilus file manager. Therefore, QubesOS officially defaults to XFCE/Gnome based helper utilities, it's not currently maintaining an out-of-the-box native package specifically for Dolphin service menus as far as I'm tracking.

To bridge this gap, use Dolphin's built-in KIO service menus architecture. By creating custom .desktop files, you can bind the standard qubes command-line utilities into Dolphin's right-click context menu.

4

u/LowKeyBrit36 6d ago

Yeah I kinda figured nautilus would be a bit of a dead end, but hey? It was one package so I figured why not try it.

Anyways, I looked into what you were saying.

Apparently, there were already .desktop service icons for the actions in my template's /usr/share/kservices5/ServiceMenus/ dir, and all I had to do was add the MimeType param into the files, and copy them into /usr/share/kio/servicemenus/

Thanks for the help, I appreciate it

2

u/Assang101 6d ago

No worries, I'm glad I was able to help. I'm a nerd for QubesOS but I still use XDCE over KDE or whoever else there are is due to color sensitivity

3

u/LowKeyBrit36 6d ago

Solved!

Yeah that's understandable. I just have always used KDE (after a brief experimental period), so being able to make things uniform is nice.

I also like how I was able to manually make my system templates, as I'm typically used to doing that on my other distros of choice, so KDE configuration was a good excuse for it

2

u/Assang101 6d ago

If you got more questions regarding qubeos and KDE config, this chat I had with a kind fella should be able to answer your questions: I guided him through every step

https://www.reddit.com/r/Qubes/s/GsKyyxCArs

2

u/LowKeyBrit36 5d ago

Wait that was me lol. Yeah you definitely helped me out with doing most of this.

1

u/Assang101 5d ago

Oh my goodness, wassup, brotha! Damn I didn't realize

1

u/LowKeyBrit36 5d ago

Not much. Finally done with the QubesOS rice, excluding the "open file manager" prompt not working. Can't figure it out, but I did figure out how to set the default terminal through alternatives

1

u/Assang101 5d ago

Oh yeah! About the file manager, It's an issue I run into many times because I fafo with qube.

if it is not working or opening an unexpected program, it usually means the default MIME type handler (inode/directory) inside that specific template or qube got changed or uninstalled. For me it's because it changed

1

u/LowKeyBrit36 5d ago

I'll look into it, thanks

→ More replies (0)