I previously installed KDE with
sudo qubes-dom0-update kde-settings-qubes
However, when I try to load new themes/widgets, I get an error: “Loading of providers from file: https://autoconfig.kde.org/ocs/providers.xml failed”, even though the file is available online. I also searched the web for a solution and found this: How to fix KDE Discover loading of providers failed error however I don’t see any *.knsrc files under etc/xdg/
I also don’t quite get how to run Discover from the command line, I tried with “plasma-discover”, but it doesn’t find that command.
unman
October 25, 2022, 3:13pm
2
You have installed KDE in dom0 which is not network connected.
You cannot use those tools.
You can download an archive in a qube, transfer it in to dom0 .
This is covered in the doc
Move the files in to /usr/share/plasma/desktoptheme/
Thank you for pointing on this.
I do exactly as it says, but I get a permission error for some reason. Despite reading following topics:
There are many times I would like to cut and paste. Is this possible?
I’ve installed a package from a domU and tried to transfer to dom0 but failed, what I’ve done in dom0:
sudo cat /usr/bin/(application-name) \
| qvm-run --pass-io [dom]U 'cat > /usr/bin/(application-name)'
And it shows:/bin/bash: line 1: /usr/bin(application-name): Permission denied
opened 06:37PM - 17 Aug 18 UTC
closed 05:50AM - 18 Aug 18 UTC
### Qubes OS version:
<!-- (e.g., `R3.2`)
You can get it from the dom0 te… rminal with the command
`cat /etc/qubes-release`
Type below this line. -->
Qubes 4.0 | R4.0
### Affected component(s):
Permissions
---
### Steps to reproduce the behavior:
<!-- Use single backticks (`) for in-line code snippets and
triple backticks (```) for code blocks.
Type below this line. -->
Following this guide [Template Builder](https://www.qubes-os.org/doc/building-archlinux-template/)
everything succeeds and I get to the last line
`cd /`
`sudo qvm-run –pass-io development ‘cat /home/user/qubes-builder/qubes-src/linux-template-builder/rpm/install-templates.sh’ > install-templates.sh`
Run from Dom0.
### Expected behavior:
Transfer the template to dom0
### Actual behavior:
`bash: install-templates.sh: permission denied`
### General notes:
EDIT: I read the wrong steps, sorry. Everything is working fine.
I've tried checking the box on the install-templates file that allows running as an executable, but that changed nothing.
Sorry if this is a really dumb question/issue, but I'm still new, and as my name suggest I run into lots of problems, though I can usually fix them myself.
---
### Related issues:
If you are determined to copy some files to dom0 anyway, you can use the following method. (If you want to copy text, first save it into a text file.) Run this command in a dom0 terminal:
qvm-run --pass-io <src-vm> 'cat /path/to/file_in_src_domain' > /path/to/file_name_in_dom0
Note that you can use the same method to copy files from dom0 to domUs (if, for some reason, you don’t want to use qvm-copy-to-vm ):
cat /path/to/file_in_dom0 | qvm-run --pass-io <dest-vm> 'cat > /path/to/file_name_in_a…
I do it like so:
sudo qvm-run --pass-io personal 'cat /home/user/Downloads/Sweet.tar.xz' > /usr/share/plasma/desktoptheme/sweet.tar.xz
and I get:
bash: /usr/share/plasma/desktoptheme/sweet.tar.xz: Permission denied
What am I doing wrong here, please?
ChrisA
October 25, 2022, 8:34pm
4
I believe only the qvm-run --pass-io personal 'cat /home/user/Downloads/Sweet.tar.xz'
is running as root
, while the > /usr/share/plasma/desktoptheme/sweet.tar.xz
part is running as user
(and not as root
).
I think you can test my assumption by:
sudo qvm-run --pass-io personal 'cat /home/user/Downloads/Sweet.tar.xz' > /tmp/sweet.tar.xz
ls -al /tmp/sweet.tar.xz
I googled for “write output to file as root” and found:
Can any of those suggestions solve your issue?
unman
October 26, 2022, 4:50am
5
You are quite right. Redirects will not work (simply) with sudo.
Yes, thank you very much.
I did it, extracted the file (tar.xz), triple-checked it, but the theme doesn’t appear in the System Settings of KDE. I also tried to look for “install from a file” as many suggest in other places, but I can’t find that options. Am I suppose to do something more in order for it to appear?