Usability for the non-technical user

My background in in hardware and software, and even I find some/many aspects of Qubes difficult. My setup is pretty basic, yet still I am struggling with some issues, like:

  • creating a desktop or toolbar shortcut to the 3 or 4 things I do regularly (firefox in public qube, emacs in private qube, etc). I know I can easily add shortcuts to the qube app menu, but they are hardly easier than drilling down to the specific qubes menu. Is there some facility to make it easy to put a shortcut on the desktop or taskbar instead? Ideally I’d like to right click on an item, right click and select Add to Desktop instead of Add to favorites.

  • I use a laptop, but with an external mouse. Any time the laptop suspends, such as when I close the lid, I have to reauthorize that it cam be attached to dom0. It is the same mouse each time - it would be nice if there was an option to trust it in the future.

  • is there any way to do a screen capture of part of the screen? The prt sc button does the entire screen.

  • is there any way to be able to select a URL in Firefox, e.g. from a link in ProtonMail, and have the URL open in a disposable qube?

I’ve been reading the docs trying to figure some of this out, but they don’t seem to reflect the menu structure in 4.2, which is adding some confusion. For example, the menu shown in How to use disposables | Qubes OS doesn’t match what I see in 4.2.

Qubes is impressive, and I am really trying to make it work for my daily usage, but it is a little harder than Windows of Linut Mint. Some of that is the nature of the security constraints it is enforcing, but others my be just due to its relative youth and user base size. I remember how hard it was setting up Slackware on a 486! Linux has certainly come a long way. Qubes has also, and I imagine some of the issues I am mentioning may improve over time.

Thanks for listening.

3 Likes

Switch to KDE - The Menu is fully configurable, and “Add to Desktop” is
available as well as “Add to favorites”, and other options.

You can set the policy to “Allow” instead of “Ask”

KDE has configurable screen captures.

Of course - it’s documented here
You might also like to look in the Guides and at Use of Split browser.

The docs need updating for 4.2

The documentation is a community effort. Please help us improve it by
submitting a pull request.

If you dont want to use GitHub you can email or PM me with proposals.

I never presume to speak for the Qubes team. When I comment in the Forum I speak for myself.
2 Likes

With the default XFCE, if you’ve got a shortcut in the menu, you can drag and drop it to the taskbar. (I suppose you can also drop it on the desktop, but I’ve never tried.)

Find the screenshot tool in the menus, there are options there to capture an area of the screen. (Bonus points: combine with the above and get a shortcut to the screenshot tool in your taskbar! :wink:)

2 Likes

you can use alt + printscreen for a single window screenshot in XFCE

4 Likes

The shortcut on taskbar or desktop worked, thanks!

I have the dom0 screenshot on the taskbar, and that works. It also runs with prt sc, but that captures the whole screen. I’ll look into binding that to just a region.

3 Likes

I don’t want to switch to kde - I would prefer to find solutions that work in xfce since that is what is installed by default. I suspect other new users might feel the same way.

Can I change the policy for just mice (or ideally the single mouse I use) to allow? I do not want to generally mount USB peripherals without explicit permissions.

The doc link you sent me I had looked at, but was unable to map to the menus in 4.2.

Updating the docs that I am trying to use is a bit of a catch-22. I don’t know how to do something, so I consult the docs, which are not up to date, so I can’t figure out what to do to update the docs.

While I have used Git, it is a bit unreasonable to expect every user to have that knowledge. Updating docs, in my opinion, should also be the responsibility of the folk who made code changes that impacted them.

3 Likes

Is there a key combination for region?

No, but you could create a new keybinding starting xfce4-screenshooter --region for the region picker.

2 Likes

For your mail qube, you can (and should) configure opening all links in a Disposable by default. For that, I’m using xdg-settings set default-web-browser open-in-dispvm.desktop, where the latter works thanks to a newly cretated file .local/share/applications/open-in-dispvm.desktop, which acts as a browser and contains a command to start a new Disposable.

For Firefox, I usually copy the URL into the Qubes clipboard (ctrl+shift+c), open a new Disposable (alt+F3, type fed, enter), paste the URL in the newly opened Firefox (ctrl+shift+v, ctrl+v). Not too convenient, but also not too frequent, as all my browsing is already in a Disposable, so opening another one is not usually necessary.

Are you referring to Spectacle?
Any advantages over Xfce4-screenshooter?

For just mice – yes:
dom0 → /etc/qubes/policy.d/50-config-input.policy

it has out-of-the-box keybindings for the various modes

1 Like

I think my use case is a little too different. I use ProtonMail via their web portal, in my “public” browsing qube, so I wouldn’t want all links to open in a disposable, just ones I select that i judge suspicious. I wouldn’t want to run proton mail in a disposable since logging in would require me to copy a password from lastpass in a different qube, and enter 2fa every time I opened the disposable qube to read email.

Currently I do copy the suspicious URL to a disposable qube. I was just hoping to automate it a bit more. A Firefox Qubes plugin to do that would be cool, but not in my wheel house to write.

Perhaps you could log in in the Disposable template and then use Disposables based on this tempate for the actual email and browsing?

No, for my workflow, I plan to use 3 qubes:

public - has internet access, no LAN access. I’ll use this for ALL trusted sites and activities: protonmail, evernote, amazon, zoom, youtube, lastpass, banking.

private - has no internet access, only LAN access. I use this to manage the NAS, and work on local documents.

untrusted - I recreated this as a disposable qube that inherits a firewall setting from the disposable template, blocking LAN access. Internet access is allowed. This is where I want to open any suspicious content. I can do that with file/clipboard copy, but I was looking to see if that could be simplified.

1 Like

I can’t find any description of the ways that it can be set, The file also has a banner saying it is an auto-generated file, and not to edit it.

I ended up changing the mouse entry from ask default… to allow. That works. I am surprised I couldn’t find any docs online or in man on the tools to change the config.

1 Like

You’re indeed not supposed to edit that file; one of the reasons is that a future update could reverse your edit.

Instead, create a new file, e.g. 30-user.policy, where you put the same line, but with allow instead of ask. As it has a lower numerical suffix, it will be regarded as higher priority and no update will overwrite that file. This is also described in the docs.

4 Likes

Correct.

You should follow what @Bearillo said and make changes on the newly created file instead.

Thanks for clarifying how to do this. I do want to point out that having to refer to a Developer Documentation section to change a simple mouse behavior preference definitely is not what I would call usability for a non-technical user.

I think the “dummy user way” (at least in Qubes4.2) is to use the new “Qubes OS Global Config” app, which in the section “USB devices” has a combobox where you can change the default “always ask” to “enable”, which “under the hood” will likely create that user policy file for you (or edit the other file, but in a way that is guaranteed to persist).

When using a new piece of software it’s often a good idea to look through the available config options in the “Settings” or any config apps to find out the standard (and easy) ways of modifying the system.

1 Like