Closed kristoferus75 closed 4 years ago
export CM_MAX_CLIPS=100
This is in the wrong place -- you need these passed to clipmenud.
export CM_HISTLENGTH=90
There's no reason to pass this and -l
to clipmenu.
You're really going to have to give more information than this, though. Please run with bash -x clipmenu
and report which parts are slow.
ok Thanks i have now modifed the launcher script and also the systemd file -> i will see now !
the problem is that if i use bash -x clipmenu i not see the correct output because the CM_DIR=%h/.cache/ and with command i see a other folder :
bash -x clipmenu
+ : dmenu
+ : /run/user/1000
+ : 8
+ major_version=6
+ shopt -s nullglob
+ cache_dir=/run/user/1000/clipmenu.6.user
+ cache_file=/run/user/1000/clipmenu.6.user/line_cache
+ [[ '' == --help ]]
+ [[ '' == -h ]]
+ launcher_args=(-l "${CM_HISTLENGTH}")
+ [[ dmenu == fzf ]]
+ [[ dmenu == rofi ]]
+ [[ dmenu == rofi-script ]]
++ list_clips
++ dmenu -l 8
++ LC_ALL=C
++ sort -rnk 1
++ cut '-d ' -f2-
++ awk '!seen[$0]++'
/usr/bin/clipmenu: Zeile 42: /run/user/1000/clipmenu.6.user/line_cache: file and folder not found
+ chosen_line=
+ [[ -n '' ]]
+ exit 1
ls -la ~/.cache/clipmenu.6.user
.rw-r--r-- 3,0k user 30 Okt 17:33 ├── 2533220 38
.rw-r--r-- 2 user 30 Okt 18:15 ├── 25536713 3
.rw-r--r-- 12 user 30 Okt 18:11 ├── 216202828 13
etc ...
Ok, so run bash -x clipmenu
with the right variables... :-)
sorry yes ok ;-)
it show now the right folder and opens also dmenu -> that its -> ok paste now this command if its again slow !
Hope that its already solved now !
Thanks !
Hi !
Again same problem very slow opening of dmenu launcher but if i
clipdel -d ".*" && systemctl --user restart clipmenud.service
it works again good and fast
but in the clipboard history are only a few text items if it not work !
How can i find out whats the problem ?
systemd service
systemctl --user enable clipmenud.service
launcher