QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
532 stars 46 forks source link

"Change Disk Password" tool isn't Qubes branded and isn't grouped with the other Qubes tools #9348

Closed andrewdavidwong closed 1 month ago

andrewdavidwong commented 2 months ago

How to file a helpful issue

Qubes OS release

4.2

Brief summary

The new "Change Disk Password" tool isn't Qubes branded and isn't grouped with the other Qubes tools, so it looks like it's not a Qubes tool, but it actually is:

https://github.com/QubesOS/qubes-disk-password-gui

Steps to reproduce

  1. Open app menu.
  2. Click on gear icon.
  3. Hover over "System Settings."
  4. Select "Change Disk Password."

Expected behavior

Since it's a Qubes tool, it should follow Qubes branding and be grouped with the other Qubes tools under "Qubes Tools." All other Qubes tools have an icon in "Qubes blue" color, and almost all of them have "Qubes" somewhere in the name.

Actual behavior

The tool looks like it comes from Xfce or Fedora. That's what I thought at first when reading https://github.com/QubesOS/qubes-issues/issues/9346 and finding the tool in my own system. I was about to reply that it didn't appear to be a Qubes tool when I saw the repo. That's the only reason I knew it was a Qubes tool.

kennethrrosen commented 2 months ago

I'd also note that "Qubes Policy Editor," "Qubes Menu Settings," and "Qubes Template Switcher" also reside under "System Tools" rather than "Qubes Tools"

alimirjamali commented 2 months ago

The culprit is this line.

@kennethrrosen Do you accept the above improvement? It should be

`qubes` in ..... \
or `disk_password_gui` in ....

And then menu should be restarted to check if the change works well.

Then its AppMenu icon should be changed from the old black lock to the modern unified blue one.

Finally it has to be decided if the window icon of the actual running program should be also changed or left to be the black lock. I prefer it to remain the black lock. I guess Marmarta will advise you on the proper one in the PR comments.

p.s.

I'd also note that "Qubes Policy Editor," "Qubes Menu Settings," and "Qubes Template Switcher" also reside under "System Tools" rather than "Qubes Tools"

They look fine on my DE. I am using XFCE. Maybe you are using KDE?

kennethrrosen commented 2 months ago

@alimirjamali like this?

 return 'qubes' in row.app_info.entry_name \
       or 'disk_password_gui' in row.app_info.entry_name

I'm using XFCE, and ever since I can recall the policy editor, menu settings, and template switcher have always appeared for me under system tools. It seemed the desktop files were the culprits, but I'm usually wrong about these things.

alimirjamali commented 2 months ago

@alimirjamali like this?

Yes. Exactly. Just test the change by modifying the /usr/lib/python3.11/site-packages/qubes_menu/settings_page.py and restarting the App Menu.

kennethrrosen commented 2 months ago

@alimirjamali like this?

Yes. Exactly. Just test the change by modifying the /usr/lib/python3.11/site-packages/qubes_menu/settings_page.py and restarting the App Menu.

This doesn't seem to work. Still troubleshooting.

kennethrrosen commented 2 months ago

The answer seems simply to change the /usr/share/applications/disk_password_gui.desktop to qubes_disk_password_gui.desktop

marmarek commented 2 months ago

isn't grouped with the other Qubes tools

I don't think it should be. Those groups are about the function of the tool, not its origin. Changing disk passphrase is a standard "system settings" action, there is nothing Qubes-specific in it.

kennethrrosen commented 2 months ago

isn't grouped with the other Qubes tools

I don't think it should be. Those groups are about the function of the tool, not its origin. Changing disk passphrase is a standard "system settings" action, there is nothing Qubes-specific in it.

Point taken. This is fair, but among community members there are always questions regarding how to change the LUKS password, something a newcomer to Linux or Qubes associates with the security offered by the OS (granted, disk encryption is not Qubes-specific). A few threads from over the years:

https://forum.qubes-os.org/t/investigating-how-to-change-luks-possible-past-luks-weakness/18071

https://forum.qubes-os.org/t/changing-password/17000

https://forum.qubes-os.org/t/can-i-change-encryption-passphrase-and-user-password/9599

https://forum.qubes-os.org/t/way-to-change-or-remove-the-disk-encryption-key/5342

https://forum.qubes-os.org/t/change-luks-disk-password/587

Perhaps a simple forum and listserv and social announcement could raise the necessary awareness without grouping within Qubes Tools.

marmarek commented 2 months ago

there are always questions regarding how to change the LUKS password

That's exactly why this tool was created, as apparently it isn't functionality present in standard xfce (and in fact many other desktop environments)...

kennethrrosen commented 2 months ago

there are always questions regarding how to change the LUKS password

That's exactly why this tool was created, as apparently it isn't functionality present in standard xfce (and in fact many other desktop environments)...

It is no doubt a very welcome tool!

andrewdavidwong commented 2 months ago

isn't grouped with the other Qubes tools

I don't think it should be. Those groups are about the function of the tool, not its origin. Changing disk passphrase is a standard "system settings" action, there is nothing Qubes-specific in it.

Hmm, okay. I had assumed that this was an oversight, but it sounds like this might be intentional after all. Is the lack of Qubes branding also intentional?

marmarta commented 1 month ago

Hmm, okay. I had assumed that this was an oversight, but it sounds like this might be intentional after all. Is the lack of Qubes branding also intentional?

yeah, the idea was that it has nothing to do with Qubes-specific stuff.

Also, I would guess that with menu search being now the default the discoverability is better...

github-actions[bot] commented 1 month ago

This issue has been closed as "not applicable." Here are some common examples of cases in which issues are closed as not applicable:

We respect the time and effort you have taken to file this issue, and we understand that this outcome may be unsatisfying. Please accept our sincere apologies and know that we greatly value your participation and membership in the Qubes community.

Regarding help and support requests, please note that this issue tracker (qubes-issues) is not intended to serve as a help desk or tech support center. Instead, we've set up other venues where you can ask for help and support, ask questions, and have discussions. By contrast, the issue tracker is more of a technical tool intended to support our developers in their work. We thank you for your understanding.

If anyone reading this believes that this issue was closed in error or that the resolution of "not applicable" is not accurate, please leave a comment below saying so, and we will review this issue again. For more information, see How issues get closed.