Skip to content

An clipboard manager alternative to Paste for Linux

License

Notifications You must be signed in to change notification settings

SeptemberHX/MPaste

Repository files navigation

MPaste

A clipboard manager alternative to Paste for Linux. Works on X11 and wayland.

It has nothing related to Paste for mac. I just like its UX design, and decide to implement one in Qt

For wayland, it cannot get the icons of current window, which is treated as the provider of current clipboard data. I haven't found how to fetch the window icon under wayland with window id. Check PlatformRelated.h for more details.

Feature

  • Clipboard history saved to files
  • More elegant UI design
  • History search
  • auto paste (only X11)

Shortcut

  • Alt+[1-9, 0]: quick select item. Holding Alt can show the shortcut tips
  • Any characters: search mode
  • Global shortcut to show window: Open your shortcut settings in system settings, and assign a shortcut for command /path/to/your/MPaste

On Gnome, please install the extension: https://extensions.gnome.org/extension/1005/focus-my-window/
Or the window will not get focused after appearing with shortcut

Default settings

configure file path: ~/.config/MPaste/MPaste.conf. Data path configure doesn't work yet.

  • Max history size: 500
  • History location: ~/.MPaste
  • Auto Paste when item selected

Screenshot

Gif on Imgur

Screenshot on Ubuntu 21.04 with Gnome

Screenshot on Deepin V20 with DDE

Screenshot on neon with KDE

For Deepin V20

Download the deb package from the release page and install it.

do not forget to set a shortcut for it in system settings

How to bulid from source

sudo apt install cmake g++ make libkf5windowsystem-dev qttools5-dev libqt5x11extras5-dev qtmultimedia5-dev libgsettings-qt-dev
git clone https://github.com/SeptemberHX/MPaste
cd MPaste
mkdir build
cd build
cmake ..
make -j8
Icons made by Pixel perfect from www.flaticon.com

Todo

  • Use image instead of widget in scroll area to speed up
  • Categories