Giter VIP home page Giter VIP logo

clipped's Introduction

Clipped

Search and paste from your clipboard history.

Get it on AppCenter

Clipped Screenshot

Building, Testing, and Installation

You'll need the following dependencies to build:

  • meson
  • libgtk-3-dev
  • valac
  • libsqlite3-dev
  • libgee-0.8-dev

How To Install From Source

git clone https://github.com/davidmhewitt/clipped
cd clipped
meson build --prefix=/usr
cd build
ninja
sudo ninja install

clipped's People

Contributors

davidmhewitt avatar eveliotc avatar fitojb avatar lloydjona avatar meisenzahl avatar nathanbnm avatar nvivant avatar ryonakano avatar shaxine avatar teddydd avatar vistaus avatar welaq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

clipped's Issues

Crash when deleting items

I figured out that when you delete a lot off entries too fast by pressing the delete key, it makes the app crash and then you're not able to reopen in if you doesn't kill the process before.

Autostart file not removed on uninstall

After uninstalling Clipped through AppCenter, the application still appears in the Startup list, and is in fact marked to be opened when the system starts.

buggy-clipped-uninstallation

Not Available on eOS 6.0 App Center

Currently, this app isn't available on the eOS 6.0 app center, I'm going to build it to get the app working but just thought there should be an issue.

Update: Works 100% when built manually.

Issue

I can open only once, then doesn't work, must logout and login again

Not listed on eOS6 app store

Hello, how are you David?

Your app is the best, and would like to use it in the upcoming eOS6, but for now, it is not possible, and couldn't compile.

Thanks for the amazing software you did, and hope it someday bundles default in eOS.

Won't install from the app center.

Howdy,

After paying, and putting in my admin password, the install failed saying it was "not available". I am not seeing a way to re-trigger the install without re-paying... I did get the "thank you for your purchase" email, which directed me here to request help. Not sure if this is an issue with clipped, or with the app center, but any help would be appreciated.

Thanks,
Chris

Package as Flatpak for elementary OS 6

As you might have heard, AppCenter is going Flatpak! For elementary OS 6, we will not longer be accepting Debian packaging, so your app will need to be updated.

We have documentation on our developer guide for writing your Flatpak manifest here: https://docs.elementary.io/develop/writing-apps/our-first-app/packaging#flatpak-manifest

Also, in case you missed it, elementary OS 6 beta 2 is now available. This is a great time to get your app packaged up as Flatpak and test that everything is working before the final release. AppCenter submission for OS 6 will be open soon, so don't delay :)

Sometimes, it pastes text before the selected entry is actually copied to the clipboard

First of all, thanks for this app! It's probably the most useful one on my system right now!

For me, everything works great, except for some small issue that happens sometimes. I realize the root of this might actually be something in Gala, but I think it is not that hard to solve within this app.

What happens is the following situation:

  1. I have the text "Avocado" on my clipboard currently
  2. I click into a text field, open Clipped with Super+V, and select the text "Guacamole"
  3. Clipped window closes
  4. The text "Avocado" is pasted in the text field (the one I had before using Clipped!)
  5. If I do Ctrl+V after this, it correctly pastes "Guacamole"

So, what I get from this behavior is that, for some reason, the text is being pasted before the selected entry is actually added to the clipboard. This might be caused by some delay in the clipboard API? I'm not sure. But I think the fix would just involve making sure the clipboard was changed before doing the paste action.

System Info

image

Add appdata to be translated

Translating appdata.xml file will help people to know about your app in the AppCenter. For example mostly French users won't download the app if it's description is in English, 'cause they will think that the app isn't translated and won't take time to read if its not translated.

Pin selected items

Hi,

Enhancement Idea: Have the option to pin selected items in the list so that they stay in their pinned place. For example, if you pinned the item in line 3 it will stay there until unpinned, this way, if it is used often, it can always be accessed quickly in the same way.

Custom paste shortcuts

Some apps don't accept Ctrl-V as the shortcut to paste content. We need to handle this by allowing for configurable custom paste shortcuts for certain apps and detecting when trying to paste into that app.

Deleting clipboard entry?

I can't find a way to delete entries out of the clipboard. Is there a way?
A short tutorial of the possibilities of clipped would be cool too.

Segfault when sending key command on Wayland

I'm not sure if this is within your scope (since elementary doesn't use Wayland...yet), but I've found a reliable segfault when I run the app on Wayland. This only happens on GNOME Wayland, not Pantheon or GNOME X11. When it tries to execute the paste command manager.paste () (Application.vala, line 48) it fails and exits. It seems like this is an issue with trying to perform the X11 key command, which makes sense since there isn't an X11 session. So I'm not sure if there's anything you can do about this, but it's a fairly silent-seeming crash (since I expect the window to exit anyway when I select something!) which is confusing.
Here's the Valgrind stack trace:

==31409== Process terminating with default action of signal 11 (SIGSEGV)
==31409==  Access not within mapped region at address 0x40
==31409==    at 0x6B5602D: _XSend (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==31409==    by 0x6B564BF: _XFlush (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==31409==    by 0x6B58FC4: _XGetRequest (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==31409==    by 0x6BA3CAA: ??? (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==31409==    by 0x6BA4AF2: XkbGetUpdatedMap (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==31409==    by 0x6BA4BBC: XkbGetMap (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==31409==    by 0x6BA0C98: ??? (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==31409==    by 0x6BA1537: XKeysymToKeycode (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0)
==31409==    by 0x11588C: clipped_clipboard_manager_perform_key_event (ClipboardManager.vala:65)
==31409==    by 0x11579D: clipped_clipboard_manager_paste (ClipboardManager.vala:56)
==31409==    by 0x114EAD: _clipped_application___lambda19_ (Application.vala:48)
==31409==    by 0x114F0F: __clipped_application___lambda19__gtk_application_window_removed (Application.vala:45)
==31409==  If you believe this happened as a result of a stack
==31409==  overflow in your program's main thread (unlikely but
==31409==  possible), you can try to increase the size of the
==31409==  main thread stack using the --main-stacksize= flag.
==31409==  The main thread stack size used in this run was 8388608.

If you can't access keys on Wayland, here's a suggestion of how you could maybe deal with it:
Perhaps together with #6 / #52 there could be a more elegant failure that just saves the clipboard contents and doesn't attempt to send a key command? I don't have much knowledge in the mechanics of clipboard things, so I don't know if that's possible, but it would be nice.

Open only one instance.

Pressing the shortcut multiple times opens multiple instances of the app. Multiple ESC key presses are required to exit all the windows.

Option to save paste instead of pasting

I disabled natural copy/paste in the terminal that way I continue using Ctrl+Shift+V ect. Now I run into the issue of pasting in the terminal with clipped since it uses the normal pasting command. Maybe have an options menu where you have an option when you select the history of pastes, it doesn't paste but saves it.

Paste chosen content to focused field

When I press Ctrl + Super + V and select one entry in clipped I would expect to get that value pasted into the focused input field.
Instead I have to press Ctrl + V afterwards.

Option to show notification when user copies content

I do not set Clipped to start automatically or sometimes I can kill it for many reasons.
Then I try to use it and realize it was not open and not saving the content of my clipboard.

Would be very useful to have a notification when data is copied to the clipboard. The user can always mute them, or disable this feature.
I made the code and submitted a PR in case you think its a nice feature

Publish on Flathub

I love your app, it's the first app on elementary's AppCenter that I paid for!

But I would want to use the app on Ubuntu and Fedora as well (in GNOME), not just elementary OS. Because of the lack of efficient and fast clipboard managers on other Linux platforms, I think those users will benefit from your app too.
Making Clipped available on Flathub will allow many more users across multiple distributions to use it.

Have to press the shortcut twice for firing up

The first try works good but the next time the shortcut doesn't work.
So I always had to press the shortcut twice after the first use.

clipped ver 1.0.1 installed by AppCenter
Linux 4.10.0-28-generic #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
DISTRIB_ID="elementary"
DISTRIB_RELEASE=0.4.1
DISTRIB_CODENAME=loki
DISTRIB_DESCRIPTION="elementary OS 0.4.1 Loki"

Mention somewhere that it uses Ctrl+V under the hood

I tried pasting with this into kitty and it didn't work. It was because Kitty's paste shortcut is ctrl+shift+v by default, instead of ctrl+v.

Once I changed it to ctrl+v, Clipped managed to paste into my terminal correctly:

map ctrl+v paste_from_clipboard

Use Primary selection

When selecting some text (higlight), it gets coppied to a different clipboard than when using Ctrl+C. And at the moment it is not coppied into Clipped. Would be nice if that text also becomes available in the Clipped paste dialog.

Is this project dead?

Looking at the commit history it looks like there hasn't been any developments lately.
Did the author stop supporting it entirely? If so, maybe it'd be a good idea to pass this project to someone else?

Segmentation fault on elementary OS 6.0 on building using maven

On following the build instructions, I get no information whether clipped is installed successfully.
image
Moreover, upon going to /usr/bin and trying to run ./com.github.davidmhewitt.clipped gives a segmentation fault.
image
I am using elementary OS 6.0. I am not sure if it is an issue or not.

Thank you,
Regards,
Sriram Na

Darkmode

Nice work! but the darkmode doesent really work right now

Can't perform numeric search

How can i search clipboard history that are numeric when num keys [0-9] is bound to shortcut keys by default?

Allow search filters

Maybe something like banana cake recipe app:firefox

Maybe think of some clever way of doing date filtering too.

Support for images

Just bought it using the App Center. :-)

What I am missing is support for images.

Do you plan to add this?

Does not play well with arc-gtk theme

As shown in the screenshot below, the clipped UI becomes weird upon using the arc-gtk theme.

Its possible that the issue lies not with your implementation of the app, but rather with what the theme does to the UI, and if this is the case, I apologize. I intended to bring to light, if any, a bug that might have been caused due to your implementation.

screenshot from 2018-12-07 18-55-49

I'm using the arc theme current available via apt install arc-theme (as of 7th December, 2018).

Best,

Add your stripe key to appdata

In the new version of AppCenter Dashboard, we're no longer modifying your appdata before publishing, so you'll need to add your stripe key to appdata.xml to continue to monetize your app in elementary OS 6

For your convenience, your public stripe key is:
<value key="x-appcenter-stripe">pk_live_udV1gtwCOlzKm5Wvk1q9ke72</value>

Nothing works as expected

I may be the dumbest person in the world right now, but I don't manage to get Clipped to work in almost any situation.

I open the application while focusing some input (e.g. this very textarea, the address bar in Firefox, or a text editor), and I select an item on the list, either by clicking on it or through the keyboard (using the arrows and Enter or Ctrl and a number). I expect the text to be pasted in the position of the cursor. However, absolutely nothing happens when performing this actions (including the selected item is not moved to the clipboard, which might be, perhaps, an alternative intended workflow).

The behaviour above happens with whatever shortcut I tried, except with Ctrl + V... In this case, the application opens, I press Enter, the application closes, and immediately after it opens again. Without having done anything, of course.

Edit And by the way... After having used Clipped, the regular Ctrl + V doesn't work anymore, despite having change Clipped's shortcut to something else.

ElementaryOS

Good morning! This app is not available in the ElementaryOS App Store... Please bring it to ElementaryOS. Why do we miss it!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.