this post was submitted on 02 Sep 2023
47 points (96.1% liked)
Linux
48193 readers
1452 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this is a robbery, give me your command and tell me how you bound it :')
I don't know
First I have this systemd user service at
~/.config/systemd/user/copyq.service
:Replace the
/nix/store/9qni1by8lzjccm5pc4hqpm70f3wllfqg-CopyQ-unstable-2023-04-14/bin/copyq
with/usr/bin/copyq
or wherever your copyq is installed. Then you probably need to reload the systemd daemon or something, not sure (trysystemctl --user daemon-reload
and thensystemctl --user enable copyq.service
and thensystemctl --user start copyq.service
- you only need to do this once).This service needs to be running for CopyQ to work. Alternatively use any other way you're familiar with to automatically start copyq server after you log in. Trust me, there's nothing more frustrating then suddenly needing it and realizing you haven't started the server so it doesn't have the content you're looking for.
Afterwards you need to configure your desktop environment to assign a global shortcut for the command
copyq menu
. For example in Cinnamon it'sSystem Settings -> Keyboard -> Shortcuts -> Add custom shortcut
. Then you add the name (e.g.CopyQ
), the command (copyq menu
) and after pressing Add you assign the shortcut, for exampleSuper+V
. This step is different for every desktop environment, but googling "[your DE name] global shortcuts" should help.If by any chance you have NixOS and Cinnamon, you may configure it like this:
Doesn't CopyQ have a shortcuts menu in its settings?
it didn't work for some reason
Yes, but it didn't work reliably for me. Having the DE handle it should always work.
https://odysee.com/@SanTorum:9/simplescreenrecorder-2023-09-03_11.02.17:a