Skip to content

Instantly share code, notes, and snippets.

@aarnone
Created May 14, 2018 21:06
Show Gist options
  • Save aarnone/83ce3b053ace037ada850d13133317f2 to your computer and use it in GitHub Desktop.
Save aarnone/83ce3b053ace037ada850d13133317f2 to your computer and use it in GitHub Desktop.
Get pbcopy and pbpaste in Arch Linux

Get pbcopy and pbpaste in Arch Linux

First you need the 'xsel' package.

$> pacman -S xsel

Then create aliases.

alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'
@ImSeenOne
Copy link

I guess it is pamac install xsel and not pacman install xsel (at least that you have the binaries in .tar.gz)

@prochac
Copy link

prochac commented May 18, 2024

I guess it is pamac install xsel and not pacman install xsel (at least that you have the binaries in .tar.gz)

no it's pacman -s xsel
https://wiki.archlinux.org/title/pacman

https://www.reddit.com/r/ManjaroLinux/comments/jil8ef/whats_the_difference_between_pamac_and_pacman/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment