Giter Site home page Giter Site logo

gnome-clipboard's People

Contributors

b00f avatar freedomben avatar joelpurra avatar microniko avatar mjkim0727 avatar nokse22 avatar richardiago avatar taylorzr avatar vistaus 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

Watchers

 avatar  avatar  avatar

gnome-clipboard's Issues

"Cut" removes too many lines

When cutting selected text Ctrl+X, too much text is cut out, beyond whatever is selected. Especially happens in VSC.

Disabling the extension resolved the issue. Not sure if Gnome 43 related.

Selected text to be cut:
Screenshot from 2022-11-22 12-23-08

Result after cutting selected text Ctrl+X:
Screenshot from 2022-11-22 12-23-22

Expected result:
Screenshot from 2022-11-22 12-23-28

Feature request: Watch for regex match and run shell command when match found

So, when there is a regex match of copied text it would automatically run a shell command.

Example: Whenever an URL is copied and "http.*" is found it would automatically run my script to open url in firefox

#!/bin/bash url=$(xclip -selection clipboard -o) firefox $url

Is it possible to add such feature?
I haven't yet seen any of clipboard extensions with such functionality.

`make install` fails with Error 2

Hello -

I am unable to install from extensions.gnome.org I think due to issues with Firefox and snap (see keepassxreboot/keepassxc-browser#1426 for more info and a similar broken situation). I have run the steps for manual install

git clone https://github.com/b00f/gnome-clipboard.git``
cd gnome-clipboard
make install

but I get the following error :

$ make install
sh scripts/transpile.sh
scripts/transpile.sh: 22: tsc: not found
find: ‘src/build’: No such file or directory
Missing extension.js in extension pack
make: *** [Makefile:21: pack] Error 2

Any suggestions?

OS : Pop!_OS 21.10
GNOME : 40.4.0
Firefox : 96.0

Thank you.

Gnome 45 update required

Gnome switched to ECMAScript for Gnome 45 and more or less deprecated a lot of extensions, including gnome-clipboard.
Imports have changed and there's an API change with ExtensionUtils being moved to Extension and a lot more.
It feels more robust, but it's hell to transition.
After I figure it out and fix the extension I'm currently trying to maintain, I might be open to help with this one too if nobody else wants to do it.

Cannot configure hotkeys

Using this on Ubuntu 21.04, Wayland (Gnome 3.38.5).
Works ok, but I'm unable to use or configure shortcut keys.
Is there a way to configure it using Gnome keyboard shortcuts?

Couple of things that would make it even better:

  • Shortcut to toggle enable / disable (show a different icon as well if it's disabled status)
  • Option to be able to store images as well (like Diodon)

image

Gnome 43 update broke it

So, it doesn't appear to be working in Gnome 43, would like to start this issue to track work progress.

Of course, no pressure, just would love it to work on Gnome 43.

GSettings key show-notifications not found

I don't open dialog Settings.
Ubuntu 20.04.3 LTS

Error report:

Error: GSettings key show-notifications not found in schema org.gnome.shell.extensions.gnome-clipboard

Stack trace:
  _checkKey@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:576:23
  _init/createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:528:30
  addRowAndBindSetting@/home/simonovich/.local/share/gnome-shell/extensions/[email protected]/prefs.js:48:38
  buildPrefsWidget@/home/simonovich/.local/share/gnome-shell/extensions/[email protected]/prefs.js:112:9
  _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207:40
  OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
  asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:13
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:175:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
  run@resource:///org/gnome/gjs/modules/script/package.js:222:19
  start@resource:///org/gnome/gjs/modules/script/package.js:206:5
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Error opening settings

When I click on 'settings' button it doesnt works and the following error shows on journal:

`
mai 20 10:27:33 ideapad gnome-shell[2832]: JS ERROR: TypeError: ExtensionUtils.openPrefs is not a function
_init/<@/home/perry/.local/share/gnome-shell/extensions/[email protected]/clipboardPanel.js:62:13
onOpenSettings/<@/home/perry/.local/share/gnome-shell/extensions/[email protected]/actionBar.js:86:13
activate@resource:///org/gnome/shell/ui/popupMenu.js:182:9
_onButtonReleaseEvent@resource:///org/gnome/shell/ui/popupMenu.js:135:9

`

TypeError: box.add is not a function

Stack trace:
buildPrefsWidget@$HOME/.local/share/gnome-shell/extensions/[email protected]/prefs.js:27:9
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:209:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Configuration problem

Hi,
Thanks for your extension, it looks promising.
It work for copy and paste, i can delete items...
I'm using manjaro and I have a problem to access the configuration window. I got the message "Technical problem"
Error: No property margin on GtkBox

Stack trace:
_init/Gtk.Widget.prototype._init@resource:///org/gnome/gjs/modules/core/overrides/Gtk.js:45:40
buildPrefsWidget@/home/vince/.local/share/gnome-shell/extensions/[email protected]/prefs.js:16:15
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:209:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Any idea ?

Action bar hover glitch

If I hover over the whole action bar:

If I hover just below one of the buttons:

If I hover below the spacer:

Clipboard content in log

Hello,
Fortuitously, I see this in /var/log/syslog :

Dec 18 10:05:47 carbone gnome-shell[2657]: Gnome Clipboard:  [INFO] set clipboard content: *****

With the content clipboard. It is very unsecured if this content is a password.

OS : Debian Bullseye.

Question/Request - decimate default window item height of 16 lines

Wondering if there would be a chance to reduce the default number of 0-15 lines of clipboard items window. Either by the code constant value to be adjustable by user settings or basically on any other way. Adjusting the html file or even css, js - all do not work since it is complied.
Imagine a login/restart however and opening the gnome-clipboard a window appears being largely empty. Even though reducing the maximum of history <15 wouldn't decimate the height even though the entire window is not used. The most elegant way - an item window dynamically expanding till max size of history.

Thanks a lot in advance for being considered.

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.