mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
Merge pull request #146 from intika/master-autostart
adding autostart instructions
This commit is contained in:
commit
d105849005
4 changed files with 29 additions and 1 deletions
|
@ -58,6 +58,10 @@ The UI is pip installable itself:
|
|||
|
||||
This will install the `opensnitch-ui` command on your system.
|
||||
|
||||
Add OpenSnitch UI to startup app:
|
||||
|
||||
cp opensnitch_ui.desktop /home/user/.config/autostart/
|
||||
|
||||
### Running
|
||||
|
||||
Once you installed both the daemon and the UI, you can enable the `opensnitchd` service to run at boot time:
|
||||
|
|
12
ui/kcm_opensnitch.desktop
Normal file
12
ui/kcm_opensnitch.desktop
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Desktop Entry]
|
||||
Exec=opensnitch-ui
|
||||
Icon=preferences-system-firewall
|
||||
Type=Service
|
||||
X-KDE-ServiceTypes=SystemSettingsExternalApp
|
||||
X-KDE-System-Settings-Parent-Category=system-administration
|
||||
|
||||
Name=OpenSnitch Firewall
|
||||
|
||||
Comment=OpenSnitch Firewall Graphical Interface
|
||||
|
||||
X-KDE-Keywords=system,firewall,policies,security,polkit,policykit,douane
|
10
ui/opensnitch_ui.desktop
Normal file
10
ui/opensnitch_ui.desktop
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=OpenSnitch
|
||||
Exec=opensnitch-ui
|
||||
Icon=preferences-system-firewall
|
||||
GenericName=OpenSnitch Firewall
|
||||
Terminal=false
|
||||
MimeType=application/x-douane-configurator;
|
||||
Categories=System;Filesystem;Network;
|
||||
Keywords=system;firewall;policies;security;polkit;policykit;douane;
|
|
@ -17,6 +17,8 @@ setup(name='opensnitch-ui',
|
|||
license='GPL',
|
||||
packages=find_packages(),
|
||||
include_package_data = True,
|
||||
package_data={'': '*.*'},
|
||||
package_data={'': ['*.*']},
|
||||
data_files=[('/usr/share/applications', ['opensnitch_ui.desktop']),
|
||||
('/usr/share/kservices5', ['kcm_opensnitch.desktop'])],
|
||||
scripts = [ 'bin/opensnitch-ui' ],
|
||||
zip_safe=False)
|
||||
|
|
Loading…
Add table
Reference in a new issue