[HOME] [DOWNLOAD] [DOCS] [BLOG] [SUPPORT] [TIPS] [ISSUES] [Priority Support]

[graphical gui] Whonix Setup Wizard / Anon Connection Wizard - Technical Discussion


#141

Sounds good.

One thing I am still unsure about. That is /etc/default/keyboard. Maybe it would still make sense to configure it for the user? Because KDE settings to not apply to console. But perhaps we can leave this setting to console users for now?

Can you try if you can start these settings applications from whonix-setup-wizard using xinit please? I am wondering what will happen if a gui app started using xinit is starting another gui app starting xinit. It may or may not work. If it would work, it would certainly be easier. But if it does not, it would certainly still be doable. (Have the main pre-desktop-environment whonix-setup-wizard run as an console application, that will do “xinit whonix-setup-wizard first part”, “xinit /usr/bin/kcmshell4 kcm_keyboard” and so forth.


#142

One thing that concerns me a lot is the absence of feedback about the usability aspects from others. Our coders intuitions about usability is often wrong. And it looks like, once we are discussing the technical stuff (kdesudo vs su-to-root, packaging, build issues, debugging, code design, xinit), others not developing/testing this skip reading this thread. So what I want to prevent here is creating a wizard that when finished gets a lot feedback to change the whole thing. Our xinit idea is kinda a radical approach.

Proposal:

  • Rename this thread to “whonixsetup wizard technical discussion”.
  • We then write a blog post (+ automatic forum post) that explains our current usability approach with screenshots and so forth. And keep that usability discussion clean of technical discussion. Talk there more about formulating things, the order of pages, if xinit looks sane and so forth.

#143
Can you try if you can start these settings applications from whonix-setup-wizard using xinit please?
Good news, it works! Once the X sever is started, it shuts down only after the last application has finished.
Proposal: - Rename this thread to "whonixsetup wizard technical discussion". - We then write a blog post (+ automatic forum post) that explains our current usability approach with screenshots and so forth. And keep that usability discussion clean of technical discussion. Talk there more about formulating things, the order of pages, if xinit looks sane and so forth.
OK to both.

I have pushed an initial version first_use_notice and locale_settings.

it’s still a draft. Please review and tell any improvement you can think of. There are two pages. The finish page should let us edit /etc/default/keyboard if some changes have been made. So far I could not find where KDE stores its keyboard layout setting.

To run:


#144

It seems that the locale changes do not work when only running “kcmshell4 language”. We still have to edit /etc/default/locale for the changes to take effect. Investigating.


#145

Great news indeed!

To find out which files are changed how… Optionally/ideally start with a fresh system.

Then go to the folders ~/.local and ~/.kde. “git init”, “git add *”, “git commit -a -m .” them. Then make your changes. Then “git diff” them to see what which files have changed and how.

Will look into the commit soon.

I am not surprised, that changing settings in KDE won’t change any files in /etc. KDE apparently only changes settings in user’s home folder ~/home/user. Files in /etc are system wide. And more for ttys.


#146

[code]# -- coding: utf-8 --

#!/usr/bin/python
[/code]
Shouldn’t the be shuffled?


#147

python-pycountry dependency missing. But before adding, please merge my changes first. (Made small changes to debian/control.) (To avoid merge conflicts.)


#148

python-pyicu dependency also missing.


#149

What I wanted to say for a long time but always forgot… Those boxes you can check… They are gray. Usually the surrounding is gray, but the content of actual boxes is white. The boxes being gray is a little confusing. On first sight it reminds at other check boxes that cannot be checked. Is there a way to fix this?


#150

A few whonix-setup-wizard locale_settings notes:

  • It’s quite nice.

  • Back button works!

  • It lets you continue when no settings are checked and then does nothing. This is a bit strange.

  • When you choose “Other”, it should auto check those two settings. (That would also somewhat fix the above.)

  • If /usr/bin/kcmshell4 is not executable, it should probably just skip the whole thing (as long as no on else adds support for Gnome etc.) (for cases where custom builders / modders install a Gnome, lxde or etc. alternative desktop environment).

  • We probably need to start it without root - otherwise we would change settings for the root user - but we must change settings for user “user”. So in this case, we must allow running without root check.

  • The second screen of locale_settings should tell:
    (You can always change country/language again by going to Start Menu -> …) (You can always change keyboard layout again by going to Start Menu -> …)
    ?


#151

Off-topic:
Sent an e-mail to you.


#152

[quote=“Patrick, post:150, topic:650”]A few whonix-setup-wizard locale_settings notes:

  • It’s quite nice.

  • Back button works!

  • It lets you continue when no settings are checked and then does nothing. This is a bit strange.

  • When you choose “Other”, it should auto check those two settings. (That would also somewhat fix the above.)

  • If /usr/bin/kcmshell4 is not executable, it should probably just skip the whole thing (as long as no on else adds support for Gnome etc.) (for cases where custom builders / modders install a Gnome, lxde or etc. alternative desktop environment).

  • We probably need to start it without root - otherwise we would change settings for the root user - but we must change settings for user “user”. So in this case, we must allow running without root check.

  • The second screen of locale_settings should tell:
    (You can always change country/language again by going to Start Menu -> …) (You can always change keyboard layout again by going to Start Menu -> …)
    ?[/quote]
    All implemented in a batch of commits, except for the two first remarks (not much I can do about that) :slight_smile:

Will be back for some comments.


#153

Great! Looks much better.

I think if they choose the default (en/US), we should still tell them that they can always later change it using …

Can you please make the other check boxes (repository and setup) also white rather than gray?

What do we do with https://github.com/Whonix/whonix-repository-wizard now that it’s integrated into whonix-setup-wizard? Remove it from the packages directory? Delete that repository?


#154
Can you please make the other check boxes (repository and setup) also white rather than gray?
Do you men the language/ country and keyboard layout? But I have no white at all here (the check boxes are disabled, hence grayed). Could you post a snapshot?

We can delete https://github.com/Whonix/whonix-repository-wizard. I’ll keep https://github.com/troubadoour/whonix-repository-wizard for the early design tricks .

Pushed display first_use_notice only once. On second thought, not sure it’s a good idea.


#155

There were some pyc files in the package. Not sure how that slipped through my review. Removed them. Please fetch and merge from my topic (that will remove them from your repo as well).

Do you men the language/ country and keyboard layout? But I have no white at all here (the check boxes are disabled, hence grayed). Could you post a snapshot?

It’s the same request as this one.

But I was mistaken. In contrast to non-checkable check boxes… For non-disabled, checkable check boxes… The inner circle of check boxes is not white in other applications either. Was an optical illusion. Nevertheless, it would be a bit nicer if the inner circle of check boxes was white if the surrounding window is gray. Know what I mean?

But I guess it won’t be easy to do this. So don’t put too much effort into this.

We can delete https://github.com/Whonix/whonix-repository-wizard.
Done, deleted.
I'll keep https://github.com/troubadoour/whonix-repository-wizard for the early design tricks .
Yeah. That's totally fine. It's just that https://github.com/Whonix is representative, any any deprecated packages pile up. With the exception of packages that made it into releases that are going to be deprecated (most likely control-port-filter in favor of control-port-filter-python). Because if those were deleted, old Whonix versions could be no longer be easily build from source code. Not sure if/how long that matters.
Pushed display first_use_notice only once. On second thought, not sure it's a good idea.
Dunno. That's one of the topics we need more input for.

Do you have a blog account already?


#156

Merged and pushed yout branch in troubadoour. No more .pyc files.

Do you have a blog account already?
No. I guess we want to make a presentation of the wizard?

#157

Yes.


#158

Pushed consistent message in locale_settings finish page. to tell the user she can change the settings even if default language was selected.

How can I create a blog account? I cannot see anything on the page.


#159

https://www.whonix.org/blog/wp-admin/


#160

What do we do about Tor startup code logic?

Last time discussed was here, I think:
https://www.whonix.org/forum/index.php/topic,705.msg6143.html#msg6143