mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 19:08:58 +00:00
parent
c1f1fd71fe
commit
c0be9987d0
8
build.go
8
build.go
@ -111,6 +111,14 @@ var targets = map[string]target{
|
|||||||
{src: "etc/linux-systemd/system/syncthing-resume.service", dst: "deb/lib/systemd/system/syncthing-resume.service", perm: 0644},
|
{src: "etc/linux-systemd/system/syncthing-resume.service", dst: "deb/lib/systemd/system/syncthing-resume.service", perm: 0644},
|
||||||
{src: "etc/linux-systemd/user/syncthing.service", dst: "deb/usr/lib/systemd/user/syncthing.service", perm: 0644},
|
{src: "etc/linux-systemd/user/syncthing.service", dst: "deb/usr/lib/systemd/user/syncthing.service", perm: 0644},
|
||||||
{src: "etc/firewall-ufw/syncthing", dst: "deb/etc/ufw/applications.d/syncthing", perm: 0644},
|
{src: "etc/firewall-ufw/syncthing", dst: "deb/etc/ufw/applications.d/syncthing", perm: 0644},
|
||||||
|
{src: "etc/linux-desktop/syncthing-start.desktop", dst: "deb/usr/share/applications/syncthing-start.desktop", perm: 0644},
|
||||||
|
{src: "etc/linux-desktop/syncthing-ui.desktop", dst: "deb/usr/share/applications/syncthing-ui.desktop", perm: 0644},
|
||||||
|
{src: "assets/logo-32.png", dst: "deb/usr/share/icons/hicolor/32x32/apps/syncthing.png", perm: 0644},
|
||||||
|
{src: "assets/logo-64.png", dst: "deb/usr/share/icons/hicolor/64x64/apps/syncthing.png", perm: 0644},
|
||||||
|
{src: "assets/logo-128.png", dst: "deb/usr/share/icons/hicolor/128x128/apps/syncthing.png", perm: 0644},
|
||||||
|
{src: "assets/logo-256.png", dst: "deb/usr/share/icons/hicolor/256x256/apps/syncthing.png", perm: 0644},
|
||||||
|
{src: "assets/logo-512.png", dst: "deb/usr/share/icons/hicolor/512x512/apps/syncthing.png", perm: 0644},
|
||||||
|
{src: "assets/logo-only.svg", dst: "deb/usr/share/icons/hicolor/scalable/apps/syncthing.svg", perm: 0644},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"stdiscosrv": {
|
"stdiscosrv": {
|
||||||
|
12
etc/linux-desktop/README.md
Normal file
12
etc/linux-desktop/README.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Desktop Entries
|
||||||
|
|
||||||
|
This directory contains files to integrate Syncthing in your desktop environment (DE).
|
||||||
|
Specifically this works for DEs that implement the [XDG Desktop Menu Specification][1], which
|
||||||
|
is virtually every DE.
|
||||||
|
To add Syncthing to desktop menus for all users, copy the `.desktop` files to
|
||||||
|
`/usr/local/share/applications` (root required). To add it for just your user, copy them to `~/.local/share/applications`.
|
||||||
|
To start Syncthing automatically, you have two options: Either you go to the autostart settings of your DE and choose Syncthing or you copy the `syncthing-start.desktop` file to `~/.config/autostart`.
|
||||||
|
For more information refer to the [ArchWiki page on Desktop entries][2]
|
||||||
|
|
||||||
|
[1]: https://specifications.freedesktop.org/menu-spec/menu-spec-latest.html
|
||||||
|
[2]: https://wiki.archlinux.org/index.php/Desktop_entries
|
9
etc/linux-desktop/syncthing-start.desktop
Normal file
9
etc/linux-desktop/syncthing-start.desktop
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Start Syncthing
|
||||||
|
GenericName=File synchronization
|
||||||
|
Comment=Starts the main syncthing process in the background.
|
||||||
|
Exec=/usr/bin/syncthing -no-browser
|
||||||
|
Icon=syncthing
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Network;FileTransfer;P2P
|
9
etc/linux-desktop/syncthing-ui.desktop
Normal file
9
etc/linux-desktop/syncthing-ui.desktop
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Syncthing Web UI
|
||||||
|
GenericName=File synchronization UI
|
||||||
|
Comment="Opens Syncthing's Web UI in the default browser (Syncthing must already be started)."
|
||||||
|
Exec=/usr/bin/syncthing -browser-only
|
||||||
|
Icon=syncthing
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Network;FileTransfer;P2P
|
Loading…
Reference in New Issue
Block a user