diff options
| author | Jeffrey C. Ollie <jeff@ocjtech.us> | 2025-05-24 17:01:06 -0500 |
|---|---|---|
| committer | Jeffrey C. Ollie <jeff@ocjtech.us> | 2025-06-13 10:22:12 -0500 |
| commit | 8824d11e1c8d0a3cbafeb0e88dd1b6dd7fa645d0 (patch) | |
| tree | de69c2dfec2265a33595b5017bfca11571e07423 /dist | |
| parent | c3d65d3975f91773f10fb19e10911e0f4d6463aa (diff) | |
linux: add dbus and systemd activation services
Diffstat (limited to 'dist')
| -rw-r--r-- | dist/linux/app.desktop | 5 | ||||
| -rw-r--r-- | dist/linux/dbus.service | 4 | ||||
| -rw-r--r-- | dist/linux/systemd.service | 7 |
3 files changed, 15 insertions, 1 deletions
diff --git a/dist/linux/app.desktop b/dist/linux/app.desktop index 6e464ea87..bb25eec65 100644 --- a/dist/linux/app.desktop +++ b/dist/linux/app.desktop @@ -1,8 +1,10 @@ [Desktop Entry] +Version=1.0 Name=Ghostty Type=Application Comment=A terminal emulator -Exec=ghostty +TryExec=ghostty +Exec=ghostty %F Icon=com.mitchellh.ghostty Categories=System;TerminalEmulator; Keywords=terminal;tty;pty; @@ -16,6 +18,7 @@ X-TerminalArgTitle=--title= X-TerminalArgAppId=--class= X-TerminalArgDir=--working-directory= X-TerminalArgHold=--wait-after-command +DBusActivatable=true [Desktop Action new-window] Name=New Window diff --git a/dist/linux/dbus.service b/dist/linux/dbus.service new file mode 100644 index 000000000..4d508d168 --- /dev/null +++ b/dist/linux/dbus.service @@ -0,0 +1,4 @@ +[D-BUS Service] +Name=com.mitchellh.ghostty +SystemdService=com.mitchellh.ghostty.service +Exec=ghostty diff --git a/dist/linux/systemd.service b/dist/linux/systemd.service new file mode 100644 index 000000000..dcc354eff --- /dev/null +++ b/dist/linux/systemd.service @@ -0,0 +1,7 @@ +[Unit] +Description=Ghostty + +[Service] +Type=dbus +BusName=com.mitchellh.ghostty +ExecStart=ghostty |
