From d1e8ea39ac3e06ff974f58135f65321665bdf1a5 Mon Sep 17 00:00:00 2001 From: godalming123 Date: Sun, 2 Jan 2022 16:32:03 +0000 Subject: [PATCH 01/14] add basic info on dm-tool --- pages/linux/dm-tool.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 pages/linux/dm-tool.md diff --git a/pages/linux/dm-tool.md b/pages/linux/dm-tool.md new file mode 100644 index 00000000000000..6261e2696983c8 --- /dev/null +++ b/pages/linux/dm-tool.md @@ -0,0 +1,7 @@ +# dm-tool +A tool to commnicate with the lightdm display manager. EG: lock currect session and show lightdm, list all open sessions, connect an existing x server to the display manager. +More informatioin: https://www.mankier.com/1/dm-tool. + +- show the greeter while keeping current desktop session in ram and waiting to be restored upon autentication by logged in uuser +`dm-tool switch-to-greeter` + From 4af00865ba8937a1db7e401f76fd8ad297af686d Mon Sep 17 00:00:00 2001 From: godalming123 Date: Thu, 20 Jan 2022 19:33:08 +0000 Subject: [PATCH 02/14] add more examples --- pages/linux/dm-tool.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/linux/dm-tool.md b/pages/linux/dm-tool.md index 6261e2696983c8..4e278343dd62f6 100644 --- a/pages/linux/dm-tool.md +++ b/pages/linux/dm-tool.md @@ -5,3 +5,11 @@ More informatioin: https://www.mankier.com/1/dm-tool. - show the greeter while keeping current desktop session in ram and waiting to be restored upon autentication by logged in uuser `dm-tool switch-to-greeter` +- swicth user, showing a authentication prompt if required +`dm-tool swict-to-user {{username}} [{{session}}]` + +- lock the current session +`dm-tool lock` + +- add a new X server instance +`dm-tool add-seat [{{name}}={{value}}]` \ No newline at end of file From f1c9b02e5788e18bc547fa22cf7c0f57fc877b71 Mon Sep 17 00:00:00 2001 From: godalming123 Date: Thu, 20 Jan 2022 19:44:17 +0000 Subject: [PATCH 03/14] dm-tool: update info formating --- pages/linux/dm-tool.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pages/linux/dm-tool.md b/pages/linux/dm-tool.md index 4e278343dd62f6..99e5965a2bd273 100644 --- a/pages/linux/dm-tool.md +++ b/pages/linux/dm-tool.md @@ -1,15 +1,19 @@ # dm-tool -A tool to commnicate with the lightdm display manager. EG: lock currect session and show lightdm, list all open sessions, connect an existing x server to the display manager. -More informatioin: https://www.mankier.com/1/dm-tool. +> A tool to commnicate with the lightdm display manager. EG: lock currect session and show lightdm, list all open sessions, connect an existing x server to the display manager. +> More informatioin: https://www.mankier.com/1/dm-tool. + +- show the greeter while keeping current desktop session in ram and waiting to be restored upon autentication by logged in user: -- show the greeter while keeping current desktop session in ram and waiting to be restored upon autentication by logged in uuser `dm-tool switch-to-greeter` -- swicth user, showing a authentication prompt if required -`dm-tool swict-to-user {{username}} [{{session}}]` +- lock the current session: -- lock the current session `dm-tool lock` -- add a new X server instance +- swicth user, showing a authentication prompt if required: + +`dm-tool swict-to-user {{username}} [{{session}}]` + +- add a new X server instance: + `dm-tool add-seat [{{name}}={{value}}]` \ No newline at end of file From 912a0d626893b8236c395af735619fd39ab62b59 Mon Sep 17 00:00:00 2001 From: godalming123 Date: Wed, 26 Jan 2022 07:42:15 +0000 Subject: [PATCH 04/14] dm-tool: update info formating --- pages/linux/dm-tool.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/linux/dm-tool.md b/pages/linux/dm-tool.md index 99e5965a2bd273..39b0c453ba3973 100644 --- a/pages/linux/dm-tool.md +++ b/pages/linux/dm-tool.md @@ -1,5 +1,6 @@ # dm-tool -> A tool to commnicate with the lightdm display manager. EG: lock currect session and show lightdm, list all open sessions, connect an existing x server to the display manager. + +> A tool to commnicate with the display manager. EG: lock currect session and show lightdm, list all open sessions, connect an existing x server to the display manager. > More informatioin: https://www.mankier.com/1/dm-tool. - show the greeter while keeping current desktop session in ram and waiting to be restored upon autentication by logged in user: From a4dfa19836f29947c20d17d0d82b1cc2be8ef59c Mon Sep 17 00:00:00 2001 From: godalming123 Date: Sun, 30 Jan 2022 14:03:50 +0000 Subject: [PATCH 05/14] fix bugs --- pages/linux/dm-tool.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/linux/dm-tool.md b/pages/linux/dm-tool.md index 39b0c453ba3973..6811c435932216 100644 --- a/pages/linux/dm-tool.md +++ b/pages/linux/dm-tool.md @@ -1,20 +1,20 @@ # dm-tool > A tool to commnicate with the display manager. EG: lock currect session and show lightdm, list all open sessions, connect an existing x server to the display manager. -> More informatioin: https://www.mankier.com/1/dm-tool. +> More informatioin: . -- show the greeter while keeping current desktop session in ram and waiting to be restored upon autentication by logged in user: +- Show the greeter while keeping current desktop session in ram and waiting to be restored upon autentication by logged in user: `dm-tool switch-to-greeter` -- lock the current session: +- Lock the current session: `dm-tool lock` -- swicth user, showing a authentication prompt if required: +- Swicth user, showing a authentication prompt if required: -`dm-tool swict-to-user {{username}} [{{session}}]` +`dm-tool switch-to-user {{username}} [{{session}}]` -- add a new X server instance: +- Add a new X server instance: -`dm-tool add-seat [{{name}}={{value}}]` \ No newline at end of file +`dm-tool add-seat [{{name}}={{value}}]` From dcfb088ac3cd8293a98f7b2a75b09506336c9a6d Mon Sep 17 00:00:00 2001 From: godalming123 Date: Sun, 30 Jan 2022 14:05:52 +0000 Subject: [PATCH 06/14] use manned.org --- pages/linux/dm-tool.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/dm-tool.md b/pages/linux/dm-tool.md index 6811c435932216..12ecea19bcc985 100644 --- a/pages/linux/dm-tool.md +++ b/pages/linux/dm-tool.md @@ -1,7 +1,7 @@ # dm-tool > A tool to commnicate with the display manager. EG: lock currect session and show lightdm, list all open sessions, connect an existing x server to the display manager. -> More informatioin: . +> More informatioin: . - Show the greeter while keeping current desktop session in ram and waiting to be restored upon autentication by logged in user: From 32a48ff555837b980694654942c8711e1201f99c Mon Sep 17 00:00:00 2001 From: godalming123 Date: Sun, 30 Jan 2022 15:41:01 +0000 Subject: [PATCH 07/14] fix build bugs --- pages/linux/dm-tool.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/dm-tool.md b/pages/linux/dm-tool.md index 12ecea19bcc985..1a41656125add6 100644 --- a/pages/linux/dm-tool.md +++ b/pages/linux/dm-tool.md @@ -1,7 +1,7 @@ # dm-tool > A tool to commnicate with the display manager. EG: lock currect session and show lightdm, list all open sessions, connect an existing x server to the display manager. -> More informatioin: . +> More information: . - Show the greeter while keeping current desktop session in ram and waiting to be restored upon autentication by logged in user: From 481a3f631e216529607e3ce53e41ad1e930fc5a4 Mon Sep 17 00:00:00 2001 From: godalming123 Date: Sun, 30 Jan 2022 19:13:44 +0000 Subject: [PATCH 08/14] remove unnecersarry charecters Co-authored-by: Axel Navarro --- pages/linux/dm-tool.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/dm-tool.md b/pages/linux/dm-tool.md index 1a41656125add6..070957a357251b 100644 --- a/pages/linux/dm-tool.md +++ b/pages/linux/dm-tool.md @@ -1,7 +1,7 @@ # dm-tool > A tool to commnicate with the display manager. EG: lock currect session and show lightdm, list all open sessions, connect an existing x server to the display manager. -> More information: . +> More information: . - Show the greeter while keeping current desktop session in ram and waiting to be restored upon autentication by logged in user: From 08002912c3e9fb9d521c62d4c4028410a663db65 Mon Sep 17 00:00:00 2001 From: godalming123 Date: Sun, 30 Jan 2022 19:14:20 +0000 Subject: [PATCH 09/14] fix spelling Co-authored-by: Axel Navarro --- pages/linux/dm-tool.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/dm-tool.md b/pages/linux/dm-tool.md index 070957a357251b..d9e5153cf1f63b 100644 --- a/pages/linux/dm-tool.md +++ b/pages/linux/dm-tool.md @@ -3,7 +3,7 @@ > A tool to commnicate with the display manager. EG: lock currect session and show lightdm, list all open sessions, connect an existing x server to the display manager. > More information: . -- Show the greeter while keeping current desktop session in ram and waiting to be restored upon autentication by logged in user: +- Show the greeter while keeping current desktop session open and waiting to be restored upon authentication by logged in user: `dm-tool switch-to-greeter` From cd7c9fb0dd91555c7af15a25d33291e94c5946f0 Mon Sep 17 00:00:00 2001 From: godalming123 Date: Sun, 30 Jan 2022 19:15:48 +0000 Subject: [PATCH 10/14] remove examples from description Co-authored-by: Axel Navarro --- pages/linux/dm-tool.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/dm-tool.md b/pages/linux/dm-tool.md index d9e5153cf1f63b..542d82b262cbbe 100644 --- a/pages/linux/dm-tool.md +++ b/pages/linux/dm-tool.md @@ -1,6 +1,6 @@ # dm-tool -> A tool to commnicate with the display manager. EG: lock currect session and show lightdm, list all open sessions, connect an existing x server to the display manager. +> A tool to communicate with the display manager. > More information: . - Show the greeter while keeping current desktop session open and waiting to be restored upon authentication by logged in user: From 9adce65ef4583c7e8b5a116d0d5c6f01a2d218d9 Mon Sep 17 00:00:00 2001 From: godalming123 Date: Sun, 30 Jan 2022 19:18:08 +0000 Subject: [PATCH 11/14] improve conciseness and grammer Co-authored-by: Axel Navarro --- pages/linux/dm-tool.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/dm-tool.md b/pages/linux/dm-tool.md index 542d82b262cbbe..c436793e8b0be0 100644 --- a/pages/linux/dm-tool.md +++ b/pages/linux/dm-tool.md @@ -11,7 +11,7 @@ `dm-tool lock` -- Swicth user, showing a authentication prompt if required: +- Swicth to a specific user, showing an authentication prompt if required: `dm-tool switch-to-user {{username}} [{{session}}]` From af3e8f485982e1697ea3958c51c1880d81dea490 Mon Sep 17 00:00:00 2001 From: godalming123 Date: Mon, 31 Jan 2022 16:35:34 +0000 Subject: [PATCH 12/14] make example option non-optional Co-authored-by: Axel Navarro --- pages/linux/dm-tool.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/dm-tool.md b/pages/linux/dm-tool.md index c436793e8b0be0..1e95db3c66daa7 100644 --- a/pages/linux/dm-tool.md +++ b/pages/linux/dm-tool.md @@ -13,7 +13,7 @@ - Swicth to a specific user, showing an authentication prompt if required: -`dm-tool switch-to-user {{username}} [{{session}}]` +`dm-tool switch-to-user {{username}} {{session}}` - Add a new X server instance: From 2332b2f2bd6dd2cf57acb1d2a972708a6b23ead1 Mon Sep 17 00:00:00 2001 From: godalming123 Date: Mon, 31 Jan 2022 16:36:34 +0000 Subject: [PATCH 13/14] update example Co-authored-by: Axel Navarro --- pages/linux/dm-tool.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/dm-tool.md b/pages/linux/dm-tool.md index 1e95db3c66daa7..2792ab92eba1d8 100644 --- a/pages/linux/dm-tool.md +++ b/pages/linux/dm-tool.md @@ -17,4 +17,4 @@ - Add a new X server instance: -`dm-tool add-seat [{{name}}={{value}}]` +`dm-tool add-seat {{xlocal}} {{name}}={{value}}` From 6e33a2bf3730955fe8705a4c31a248b4ae6d137e Mon Sep 17 00:00:00 2001 From: godalming123 Date: Mon, 31 Jan 2022 16:37:10 +0000 Subject: [PATCH 14/14] Improve concisness and acuracy Co-authored-by: Axel Navarro --- pages/linux/dm-tool.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/dm-tool.md b/pages/linux/dm-tool.md index 2792ab92eba1d8..70137ea07c6168 100644 --- a/pages/linux/dm-tool.md +++ b/pages/linux/dm-tool.md @@ -15,6 +15,6 @@ `dm-tool switch-to-user {{username}} {{session}}` -- Add a new X server instance: +- Add a dynamic seat from within a running LightDM session: `dm-tool add-seat {{xlocal}} {{name}}={{value}}`