autostart

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutostartSessionApps

func AutostartSessionApps(usrSnapDir string) error

AutostartSessionApps starts applications which have placed their desktop files in $SNAP_USER_DATA/.config/autostart. Takes a path to the user's snap dir.

NOTE: By the spec, the actual path is $SNAP_USER_DATA/${XDG_CONFIG_DIR}/autostart

func MockUserCurrent

func MockUserCurrent(f func() (*user.User, error)) (restore func())

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL