mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-18 19:36:53 +00:00
This commit moves the clipboard from WindowServer into a new Clipboard service program. Clipboard runs as the unprivileged "clipboard" user and with a much tighter pledge than WindowServer. To keep things working as before, all GUI::Application users now make a connection to Clipboard after making the connection to WindowServer. It could be interesting to connect to Clipboard on demand, but right now that would necessitate expanding every GUI app's pledge to include "unix" and also unveiling the clipboard portal, which I prefer not to.
105 lines
1.6 KiB
INI
105 lines
1.6 KiB
INI
[TTYServer]
|
|
# NOTE: We don't start anything on tty0 since that's the "active" TTY while WindowServer is up.
|
|
Arguments=tty1
|
|
StdIO=/dev/tty1
|
|
Priority=high
|
|
|
|
[ProtocolServer]
|
|
Socket=/tmp/portal/protocol
|
|
SocketPermissions=660
|
|
Lazy=1
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=protocol
|
|
|
|
[LookupServer]
|
|
Socket=/tmp/portal/lookup
|
|
SocketPermissions=660
|
|
Lazy=1
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=lookup
|
|
|
|
[DHCPClient]
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=root
|
|
|
|
[NotificationServer]
|
|
Socket=/tmp/portal/notify
|
|
SocketPermissions=660
|
|
Lazy=1
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=notify
|
|
|
|
[LaunchServer]
|
|
Socket=/tmp/portal/launch
|
|
SocketPermissions=600
|
|
Lazy=1
|
|
User=anon
|
|
|
|
[WindowServer]
|
|
Socket=/tmp/portal/window
|
|
SocketPermissions=660
|
|
Priority=high
|
|
KeepAlive=1
|
|
User=window
|
|
|
|
[Clipboard]
|
|
Socket=/tmp/portal/clipboard
|
|
SocketPermissions=660
|
|
KeepAlive=1
|
|
User=clipboard
|
|
|
|
[SystemMenu]
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Clock.MenuApplet]
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[CPUGraph.MenuApplet]
|
|
Executable=/bin/ResourceGraph.MenuApplet
|
|
Arguments=--cpu --name=CPUGraph --color=limegreen
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[MemoryGraph.MenuApplet]
|
|
Executable=/bin/ResourceGraph.MenuApplet
|
|
Arguments=--memory --name=MemoryGraph --color=cyan
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Audio.MenuApplet]
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[UserName.MenuApplet]
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[AudioServer]
|
|
Socket=/tmp/portal/audio
|
|
# TODO: we may want to start it lazily, but right now WindowServer connects to it immediately on startup
|
|
Priority=high
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Taskbar]
|
|
Priority=high
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Desktop]
|
|
Executable=/bin/FileManager
|
|
Arguments=--desktop
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Terminal]
|
|
User=anon
|
|
WorkingDirectory=/home/anon
|