mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
c45c5ded34
The "WebContent" service provides a very restricted instance of LibWeb running as an unprivileged user account. This will be used to implement process separation in Browser, among other things. This first cut of the service only spawns a single WebContent process when someone connects to /tmp/portal/webcontent. We will soon switch this over to spawning a new process for each connection. Since this feature is very immature, we'll be bringing it up inside of Demos/WebView as a separate demo program. Eventually this will become a reusable widget that anyone can embed and easily get out-of-process web content in their GUI. This is pretty, pretty cool! :^)
132 lines
1.9 KiB
INI
132 lines
1.9 KiB
INI
[ProtocolServer]
|
|
Socket=/tmp/portal/protocol
|
|
SocketPermissions=660
|
|
Lazy=1
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=protocol
|
|
BootModes=text,graphical
|
|
|
|
[WebContent]
|
|
Socket=/tmp/portal/webcontent
|
|
SocketPermissions=660
|
|
Lazy=1
|
|
User=webcontent
|
|
BootModes=graphical
|
|
|
|
[LookupServer]
|
|
Socket=/tmp/portal/lookup
|
|
SocketPermissions=660
|
|
Lazy=1
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=lookup
|
|
BootModes=text,graphical
|
|
|
|
[DHCPClient]
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=root
|
|
BootModes=text,graphical
|
|
|
|
[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
|
|
BootModes=text,graphical
|
|
|
|
[WindowServer]
|
|
Socket=/tmp/portal/window
|
|
SocketPermissions=660
|
|
Priority=high
|
|
KeepAlive=1
|
|
User=window
|
|
|
|
[Clipboard]
|
|
Socket=/tmp/portal/clipboard
|
|
SocketPermissions=660
|
|
Priority=low
|
|
User=clipboard
|
|
|
|
[SystemMenu]
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Clock.MenuApplet]
|
|
KeepAlive=1
|
|
Priority=low
|
|
User=anon
|
|
|
|
[CPUGraph.MenuApplet]
|
|
Executable=/bin/ResourceGraph.MenuApplet
|
|
Arguments=--cpu --name=CPUGraph --color=limegreen
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[MemoryGraph.MenuApplet]
|
|
Executable=/bin/ResourceGraph.MenuApplet
|
|
Arguments=--memory --name=MemoryGraph --color=cyan
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Audio.MenuApplet]
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[UserName.MenuApplet]
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[ClipboardHistory.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]
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Desktop]
|
|
Executable=/bin/FileManager
|
|
Arguments=--desktop
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Terminal]
|
|
User=anon
|
|
WorkingDirectory=/home/anon
|
|
|
|
[Shell@tty0]
|
|
Executable=/bin/Shell
|
|
StdIO=/dev/tty0
|
|
Environment=TERM=xterm
|
|
KeepAlive=1
|
|
BootModes=text
|
|
|
|
[Shell@tty1]
|
|
Executable=/bin/Shell
|
|
StdIO=/dev/tty1
|
|
Environment=TERM=xterm
|
|
KeepAlive=1
|
|
BootModes=text
|