Expand description
Interact with the user’s desktop such as taking a screenshot, setting a background or querying the user’s location.
Modules§
- account
account - Access to the current logged user information such as the id, name or their avatar uri.
- background
background - Request to run in the background or started automatically when the user logs in.
- camera
camera - Check if a camera is available, request access to it and open a PipeWire remote stream.
- clipboard
clipboard - Interact with the clipboard.
- dynamic_
launcher dynamic_launcher - Install launchers like Web Application from your browser or Steam.
- email
email - Compose an email.
- file_
chooser file_chooser - Open/save file(s) chooser. The interface lets sandboxed applications ask the user for access to files outside the sandbox. The portal backend will present the user with a file chooser dialog.
- game_
mode game_mode - Enable/disable/query the status of Game Mode.
- global_
shortcuts global_shortcuts - Register global shortcuts Register global shortcuts
- inhibit
inhibit - Inhibit the session from being restarted or the user from logging out.
- input_
capture input_capture - Capture input events from physical or logical devices.
- location
location - Query the user’s GPS location.
- memory_
monitor memory_monitor - Monitor memory level.
- network_
monitor network_monitor - Check the status of the network on a user’s machine. Note This portal doesn’t work for sandboxed applications.
- notification
notification - Send/withdraw notifications.
- open_
uri open_uri - Open a URI or a directory.
- power_
profile_ monitor power_profile_monitor - Power profile monitoring.
- print
print - Print a document.
- proxy_
resolver proxy_resolver - Proxy information. Note This portal doesn’t work for sandboxed applications.
- realtime
realtime - Set threads to realtime.
- remote_
desktop remote_desktop - Start a remote desktop session and interact with it.
- screencast
screencast - Start a screencast session and get the PipeWire remote of it.
- screenshot
screenshot - Take a screenshot or pick a color.
- secret
secret - Retrieve a per-application secret used to encrypt confidential data inside the sandbox.
- settings
settings - Read & listen to system settings changes.
- trash
trash - Move a file to the trash.
- usb
usb - Provide an interface to USB device. Allow enumerating devices and requiring access to.
- wallpaper
wallpaper - Set a wallpaper on lockscreen, background or both.
Structs§
- Color
screenshotorsettings - A color as a RGB tuple.
- Create
Session Options - Specified options for creating a session.
- Handle
Token backend - A handle token is a DBus Object Path element.
- Request
- The Request interface is shared by all portal interfaces.
- Session
- Shared by all portal interfaces that involve long lived sessions.
Enums§
- Icon
notificationordynamic_launcherorbackend - A representation of an icon.
- Persist
Mode screencastorremote_desktoporinput_capture - Persistence mode for a screencast, remote desktop, or input capture session.
- Response
- A typical response returned by the
Request::response. of aRequest. - Response
Error - An error returned a portal request caused by either the user cancelling the request or something else.
- Response
Type - Possible responses.
Traits§
- Session
Portal - Portals that have a long-lived interaction