devvratmiglani / Python_Clipboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python_Clipboard

Windows Installation and Usage

git clone https://github.com/rohitpatil03/Python_Clipboard.git
cd Python_Clipboard
pip install -r requirements.txt
python python_clipboard.pyw

Ubuntu Installation and Usage

sudo apt-get install xclip

keyboard package requires root privilleges and hence needed to be installed as root

sudo python3 -m pip install keyboard --break-system-packages
git clone https://github.com/rohitpatil03/Python_Clipboard.git
cd Python_Clipboard
sudo python3 -u python_clipboard_ubuntu.py

Keyboard Shortcuts

  • Ctrl+Alt+V: Fetches clipboard data from the server and updates the local clipboard.
  • Ctrl+Alt+C: Copies the local clipboard data to the server.
  • Ctrl+Alt+Esc: Exits the script.

Notes

  • Ensure that your machine has an active internet connection.
  • The script runs in the background, continuously monitoring the specified keyboard shortcuts.
  • Adjustments to keyboard shortcuts and server URL can be made within the script.

About


Languages

Language:Python 100.0%