Skip to content
forked from SeptemberHX/MPaste

An clipboard manager alternative to Paste for Linux

License

Notifications You must be signed in to change notification settings

huaryliu/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

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

  • Max history size: 500
  • History location: ~/.MPaste

Screenshot

Gif on Imgur

s2_ubuntu s1

Dependencies

sudo apt install libqt5multimedia5 libkf5windowsystem5 libqt5network5 libxdo3 libqt5x11extras5

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
Icons made by Pixel perfect from www.flaticon.com

Todo

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

About

An clipboard manager alternative to Paste for Linux

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 93.1%
  • CMake 4.9%
  • C 1.6%
  • QMake 0.4%