Clipmenu / clipmenud for dmenu and rofi

linux guide

Clipmenu is a simple clipboard manager using dmenu (or rofi with CM_LAUNCHER=rofi) and xsel. https://github.com/cdown/clipmenu similar is https://github.com/erebe/greenclip

The server clipmenud (deamon) has to be started. I'm starting this server by my ~/.config/awesome/autorun.sh run clipmenud The clipmenu has serveral configurations which is reachable by clipmenu -h help.

The clipmenu configuration has to be started for user environement or global. You can use /etc/environment or .profile. In my case, I'm using for my X11 env ~/.xninitrc with env vars for X11:

# clipmenu rofi support
export CM_LAUNCHER=rofi
export CM_HISTLENGTH=50
export CM_DIR=~/.config/clipmenu

Clipmenu history is stored in the folder defined by parameter $CM_DIR There is file cash which can be modfied, for example delete some passwords etc.

Final the clipmenu is provided by dmenu or rofi (in my configuration case). It is necessary to add keybinding to call clipmenu command.

Awesomewm is using this settings:

    awful.key({ modkey,           }, "a", function () awful.spawn("clipmenu") end,
              {description = "clipboard history by rofi/clipmenud", group = "awesome"}),

Add a comment

Comments

fffffffffffffffffffffffff
Written on Mon, 27 May 2024 21:18:20 by ffffffffff
555
Written on Mon, 26 Jul 2021 20:25:16 by DExWtSbs
555
Written on Mon, 26 Jul 2021 20:24:58 by DExWtSbs
555
Written on Mon, 26 Jul 2021 20:24:24 by DExWtSbs
555
Written on Mon, 26 Jul 2021 20:19:16 by DExWtSbs
555
Written on Mon, 26 Jul 2021 14:41:38 by WkYxnTGh
555
Written on Mon, 26 Jul 2021 14:41:18 by WkYxnTGh
555
Written on Mon, 26 Jul 2021 14:40:47 by WkYxnTGh
555
Written on Mon, 26 Jul 2021 14:37:29 by WkYxnTGh
555
Written on Mon, 26 Jul 2021 14:36:05 by WkYxnTGh
555
Written on Mon, 26 Jul 2021 05:06:57 by mulOMpUR

Previous Post Next Post