Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to mount DVDs with only Mouse #4008

Open
comods opened this issue Jun 15, 2018 · 0 comments
Open

Unable to mount DVDs with only Mouse #4008

comods opened this issue Jun 15, 2018 · 0 comments
Labels
accessibility This issue concerns the use of Qubes OS by persons with disabilities. C: manager/widget P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality. ux User experience

Comments

@comods
Copy link

comods commented Jun 15, 2018

Qubes OS version:

R4.0

Affected component(s):

dom0's taskbar widget Devices, cdroms, dvds, users of mainly Windows VMs, users who do not use the command line.


Steps to reproduce the behavior:

In dom0's taskbar widget Devices (Yellow Icon), hover over your DVD drive, select to attach to (example: personal).
Open file application (example: Gnome Files).
Select "Other Locations" from side bar.
DVD drive is not displayed.

Expected behavior:

Able to mount DVDs with GUI.

  • Keep security in mind, user chooses to auto mount.
  • Only need the mouse.
  • Do not need to track down temporary drive name. (Is it /dev/xvdi or /dev/xvdk?)
  • Do not need to open the Terminal.
  • When using GUI file manager like "Gnome Files" there is no need to track down auto-mount location /media/device1234 because it displays in "Other Locations".

I have three ideas:

  1. In dom0's taskbar widget Devices (Yellow Icon), hover over your DVD drive, hover over target VM, new menu appears with Attach Unmounted, Attach Read-only Files, & Attach Read/Write Files, select Read-only, notification displays with <device as named in devices widget>, <vm-name>, Device: /dev/xvdi, & Files: /media/device1234.

  2. In dom0's taskbar widget Devices (Yellow Icon), your DVD drive is listed more than once as (Unmounted), (Read-only Files), & (Read/Write Files), hover over Read-only, select target VM, notification displays with <device as named in devices widget>, <vm-name>, Device: /dev/xvdi, & Files: /media/device1234.

  3. In dom0's taskbar widget Devices (Yellow Icon), hover over your DVD drive, select target VM, the following popup window displays, select Read-only.

This device can be auto-mounted for easy access to its files.
Select "Do not Mount" to manually mount device.
`<device as named in devices widget>`
`<vm-name>`
`Mountable device: /dev/xvdi`
`Will mount files here: /media/device1234`
[Do not Mount]    [Mount as Read-only]    [Mount as Read/Write]

         Note: If this feature was used for, say USBs, then if the USB device
         had multiple partitions, there would need to be a dropdown to select
         which partition, with a dropdown option to auto-mount all of them.

All three ideas do the following under the hood:

  • Detect device name/uuid inside vm (example: /dev/xvdi).
  • Detect /media/device<4 digits> folder name that is not in use (example: /media/device1234).
  • sudo qvm-run --autostart --no-gui <vm-name> "sudo mkdir /media/device1234/"
  • sudo qvm-run --autostart --no-gui <vm-name> "sudo mount /dev/xvdi /media/device1234/"
  • If needed, Label device in a useful way.

Actual behavior:

In dom0's taskbar widget Devices (Yellow Icon), hover over your DVD drive, select to attach to (example: personal).
Manually find correct mountable /dev/xvdi, /dev/xvdk, etc.
Google where (Gnome Files) needs the drive mount at to be detected (/media/).
Manually make directory sudo mkdir /media/device1234
Manually mount sudo mount /dev/xvdi /media/device1234

General notes:


Related issues:

#1117

@andrewdavidwong andrewdavidwong added T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality. C: manager/widget ux User experience accessibility This issue concerns the use of Qubes OS by persons with disabilities. labels Jun 16, 2018
@andrewdavidwong andrewdavidwong added this to the Release 4.1 milestone Jun 16, 2018
@andrewdavidwong andrewdavidwong removed this from the Release 4.2 milestone Aug 13, 2023
@andrewdavidwong andrewdavidwong added the P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. label Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility This issue concerns the use of Qubes OS by persons with disabilities. C: manager/widget P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality. ux User experience
Projects
None yet
Development

No branches or pull requests

2 participants