Jump to content

System tray Icon Cross-Platform (Python)


jose

Recommended Posts

Due to the big changes to my previous post (change from PyGTK to wxPython and looks) i decided to make a new post that best describes this little project of mine.

 

A cross platform system tray status icon to control you linux server remotely though ssh or locally.

It should bassically look the same as the one that comes with the server for windows just that it also works on linux and can control you server remotely from a windows pc, it should also work from mac but i havent worked on that yet. It should be able to also control a local windows server if the right commands are supplied but i havent work those details yet.

 

Included is the python script and a .exe that doesn't need you to install python, (the size is a little big as i have to see how to trim and compress it more it contains python and wxpython in the executable).

 

The Log window only works on the local machine at the time.

 

https://www.dropbox.com/sh/udnkcwofnb0br03/AADP_IgrvNPj_l-KrO0VjWrma?dl=0

 

Here is the part of the config.txt file that you can edit to setup it up:

user, pass,os-platform are not needed for a local server only for type remote.
 

  "MediaServer":{
    "type": "local",   
    "address": "localhost",    
    "web-port": "8096",
    "program-path": "/var/opt/MediaBrowser/MediaBrowserServer",
    "start-command":"sudo systemctl start MediaBrowserServer",
    "restart-command":"sudo systemctl restart MediaBrowserServer",
    "stop-command":"sudo systemctl stop MediaBrowserServer",
    "user":"username",
    "pass":"password",
    "os-platform":"linux"
  },

Screenshotfrom2014-11-02210522.png

 

 

Screenshotfrom2014-11-02210440.png

Edited by jose
  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...