mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 02:50:31 +00:00
Update cheatsheets
This commit is contained in:
25
linux/dm-tool
Normal file
25
linux/dm-tool
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# dm-tool
|
||||
|
||||
> A tool to communicate with the display manager.
|
||||
> More information: <https://manned.org/dm-tool>.
|
||||
|
||||
- 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`
|
||||
|
||||
- Lock the current session:
|
||||
|
||||
`dm-tool lock`
|
||||
|
||||
- Switch to a specific user, showing an authentication prompt if required:
|
||||
|
||||
`dm-tool switch-to-user {{username}} {{session}}`
|
||||
|
||||
- Add a dynamic seat from within a running LightDM session:
|
||||
|
||||
`dm-tool add-seat {{xlocal}} {{name}}={{value}}`
|
||||
Reference in New Issue
Block a user