mirror of
https://github.com/F1r3f0x/python3-KDE-CopyAsSymLink.git
synced 2026-10-14 18:01:15 -03:00
"Paste as Symbolic Link" KDE Submenu
- Python 88%
- Shell 8.1%
- Makefile 3.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
* Modularize and added unit tests - Modularize script - Added a unit test file - updated .gitnigore to include pyc files - Added test target to makefile * Add minnumberofurls to 0 So we can see the action on empty folders * fix typos, add -r flag * fix typos * Add notifications - Add notification on success with clipboard Icon - Add notification on all errors * Cover edge cases, add coverage target * Github action to run test and dist zip * fix install permission issue * Add a message when creating symlinks in the same folder * fix issues with KDE uninstall |
||
| .github/workflows | ||
| tests | ||
| .gitignore | ||
| install.sh | ||
| LICENSE.txt | ||
| Makefile | ||
| pasteassymlink.py | ||
| plabin-dolphin-pasteassymlink.desktop | ||
| README.MD | ||
| sys-plabin-dolphin-pasteassymlink.desktop | ||
| uninstall-old.sh | ||
KDE Dolphin Submenu - Paste as Symbolic Link
Description:
This will give you a new "Paste as Symbolic Link" submenu on Dolphin. You can create symlinks from files and folders.
Instructions:
- run
make install - quit and reopen Dolphin.
- (optional) run
make testto execute unit tests. - (optional) run
make distto generate the release zip archive. - (optional) run
make uninstallto remove the files.
Remove old version:
- run
make uninstall-oldto remove the oldCopyAsSymLinkscript.
Requirements
This script is designed to be compatible with various Linux desktop environments and display servers.
-
Python 3
-
Clipboard Utilities: The script automatically detects and uses one of the following clipboard tools. At least one must be installed for the script to function.
Clipboard Tool Test Environment Working qdbus(Klipper)KDE Plasma 6 Wayland - CachyOS ✅ wl-pasteGNOME Wayland (tested only the script) - Ubuntu 25.04 ✅ xclipCinnamon X11 - Linux Mint 22.2 (tested only the script) ✅ xselCinnamon X11 - Linux Mint 22.2 (tested only the script) ✅
Credit to:
- https://github.com/Faster3ck/MakeDesktopShortcuts for the install and uninstall scripts.
- https://www.opencode.net/williamblair/kde-menu-enhancements bash symlink creation script.
- https://github.com/fabiomux for the make file and archive format.
@f1r3f0x - 2025