Skip to content

Latest commit

 

History

History
46 lines (42 loc) · 2.64 KB

TODO.md

File metadata and controls

46 lines (42 loc) · 2.64 KB

An incomplete list of possible improvements and directions to take this project to -

  • Daemonize the process
    1. Using python daemon(docs) or inbuilt subprocess library
    2. Using Linux itself like nohup, twisted, upstart, daemonize
  • Used acpid instead of directly reading the /sys files
  • Use netlink to achieve the aboce or maybe something else
  • Optimize the memory usage of the application
  • Optimize the CPU usage of the application
  • Add it in StartupApplications
  • Make an executable, perhaps something like Caffeine
    • Same possible solution as above
  • Make a portable app like Postman
  • Supporting various distros
    1. Ubuntu Gnome
      • Temporary Workaround for using this app-indicator is to use an extension. This article would be a good starting point to resolve this issue without having to install a third party extension.
    2. Arch
    3. Fedora
    4. Debian
    5. openSUSE
    6. CentOS
    7. Gentoo
  • Supporting various platforms
    1. Linux
    2. macOS
    3. Windows

Immediate Attentions -

  • Change the icon set. The icon is actually pretty large and it has details that aren't visible at all.
  • Decouple the terminal that runs the python script from the process itself.

Should we add the following?

  • Travis Continuous Integration
  • Pyup
  • Coverage

Updates on decoupling the terminal that spawns the process

COMMAND TERMINAL OUTPUT GUI WORKS or NOT ISSUE
python3 appindicator.py & YES Killing the terminal terminates the proceses
sudo nohup python3 appindicator.py & NO
nohup python3 appindicator.py & $ nohup python3 appindicator.py &
[2] 5635
$ nohup: ignoring input and appending output to 'nohup.out' Exitng from GUI doesn't show a new prompt. Have to do Ctrl+C to get new line at terminal
YES Not decoupled from terminal
subprocess.Popen YES Don't want a new file to start the process.
chmod +x doesn't work NO