AutoPI is a python project, based on tkinter module to manipulate auto mouse movement and switching between tabs on your chrome browser. In case you need to keep up window active, you can use this application. It will move mouse and press keyboard shortcut to make window active and switching tabs.
Pyautogui
python3-tk
python3-dev
scrot
I already added all pre-requirements inside the python script. During running this script it will check all requirement packages. Incase it will install such pakcage those are missing in your linux distro.
So, First of all lets clone this repository:
git clone https://github.com/imShakil/autopi.git /opt/autopi
Now, let's move as super user:
sudo su -
It will ask the root
user password.
Let's move into the directory.
cd /opt/autopi/bin
Now give permission to the binary file.
chmod +x autopi
Finally, run the application with following command:
./autopi
It will check and install the requirement processes.
This is a pretty simple application with 3 buttons only to start
, stop
and exit
the application.
It looks like:
To run this application from dash menu, Create a desktop entry mouse-movement.desktop
with the following text:
[Desktop Entry]
Version=1.0
Name=Auto Pi
Comment=AutoPi
Exec=/opt/autopi/bin/autopi
Icon=/opt/autopi/bin/icon.png
Terminal=false
Type=Application
Categories=Utility;Application;
StartupWMClass=MouseMovement
Put this desktop entry inside:
/usr/local/share/applications/
By default it will just try click your mouse and will switch tabs if they are open. You may customize the config.ini as your own.
[DEFAULT]
ActiveTime =
[MouseMovement]
allow = false
mmTime =
[MouseClick]
allow = true
button = 'right'
clicks = 2
intervals =
[SwitchingTabs]
allow = true
[RefreshWindow]
allow = false
[PageScroll]
allow = false
ScrollUp =
ScrollDown =
Its still a basic program for a quick activity tracking system. You can customize it. You need to know some basic functionalites. I will keep it updated next with good features.
If you found this helpful, please treat me some coffee here Thanks!
~ Shakil