-
Notifications
You must be signed in to change notification settings - Fork 100
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
Tutorial review #3605
base: main
Are you sure you want to change the base?
Tutorial review #3605
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. There are some subject-matter corrections but this is a helpful push
@@ -1,7 +1,7 @@ | |||
# Tutorials | |||
These pages provide first-time introductions to key Mir aspects | |||
|
|||
- [Learn What Mir Can Do](/tutorial/learn-what-mir-can-do): A showcase of Mir's capabilities | |||
- [Getting started with Mir](/tutorial/learn-what-mir-can-do): A showcase of Mir's capabilities |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably rename the slug to match
GNOME and such where you can move windows and maximize or minimize them. Kiosk | ||
mode on the other hand assumes you want one (or more) applications in | ||
fullscreen mode all the time. | ||
Mir allows you to run applications in the *shell mode* or in *kiosk mode*. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It comes from the pre-existing text but "shell mode" is a bad term: all the modes are types of shell.
Mir allows you to run applications in the *shell mode* or in *kiosk mode*. | |
Mir allows you to run a graphical shell in *desktop mode* or in *kiosk mode*. |
|
||
To run in shell mode, just run: | ||
Shell mode means that the application is opened in a floating window manager and you can move the window around the screen, maximize or minimize it. | ||
Kiosk mode means that the application is opened in fullscrean mode. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kiosk mode means that the application is opened in fullscrean mode. | |
Kiosk mode means that the application is opened in fullscreen mode. |
|
||
To run in shell mode, just run: | ||
Shell mode means that the application is opened in a floating window manager and you can move the window around the screen, maximize or minimize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shell mode means that the application is opened in a floating window manager and you can move the window around the screen, maximize or minimize it. | |
Desktop mode means that application windows are opened are "floating and you can move them around the screen, maximize or minimize them. |
applications should not be using. For demonstration purposes we will override | ||
this and allow all supported extensions in some of the following examples by | ||
passing `--add-wayland-extensions all` when running the example. | ||
## Running applications natively |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Running applications natively | |
## Running shells natively |
The previous section showed how you can run Mir demos under an X11 or Wayland | ||
session. But Mir compositors can also run "natively" by launching them from a | ||
virtual terminal or a greeter. | ||
Mir compositors supports running application natively by launching them from a virtual terminal or a login screen. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mir compositors supports running application natively by launching them from a virtual terminal or a login screen. | |
Mir compositors supports running shells natively by launching them from a virtual terminal or a login screen. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say that the opposition (native/X11 or Wayland) was useful; otherwise, the meaning of 'natively' may raise questions.
To switch to a virtual terminal, you can press CTRL+ALT+F\<Number\>. You can then | ||
log in and run: | ||
|
||
1. Switch to a virtual terminal by pressing CTRL+ALT+F\<Number\> and log into the virstual environemtn. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. Switch to a virtual terminal by pressing CTRL+ALT+F\<Number\> and log into the virstual environemtn. | |
1. Switch to a virtual terminal by pressing CTRL+ALT+F\<Number\> and log in. |
|
||
For the purpose of demonstation, we'll use `ubuntu-frame-osk`, but you're free | ||
to use any Wayland compatible on-screen keyboard. | ||
**Note**: Due to security reasons, the Wayland extensions are disabled by default. In this tutorial, you will override this setting by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**Note**: Due to security reasons, the Wayland extensions are disabled by default. In this tutorial, you will override this setting by | |
**Note**: Due to security reasons, some Wayland extensions needed by on-screen keyboards are disabled by default. In this tutorial, you will override this by |
```sh | ||
gvncviewer localhost | ||
``` | ||
5. Run your VNC client and connect to `localhost`. You will see the exact view in both Mir compositor and the VNC viewer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One suggestion: consider toning down you will
s a bit, there's a whole lot of them here and there (to the point of being noticeable as a syle trick).
My proposal for some light edits in the first tutorial.
One note on headings - we recommend using sentence capitalization for all headings https://docs.ubuntu.com/styleguide/en
I was also thinking of changing "Learn What Mir Can Do" to "Getting started with Mir". I'm not sure if it's the best choice but it sounds like a basic enough first tutorial that any user should get themselves acquainted with.
I think the tutorial is accessible enough as is so I didn't introduce any significant changes to steps themselves.
Jira: https://warthogs.atlassian.net/browse/DOCPR-852