"prim-sec-clip" "1" "" "" "Starbuntu"

NAME

prim-sec-clip - displays the current assignment of the threefold clipboard included its respective history and allows to change it (provided by Starbuntu)

SYNOPSIS

prim-sec-clip

DESCRIPTION

The Starbuntu program prim-sec-clip which can be called by pressing the hotkey Ctrl+Alt+c manages the three instances of the clipboard, namely the primary and the secondary selection as well as the actual clipboard by displaying their contents and also their respective history and by allowing to edit them in case they aren't overlong (no ' ... ' in the middle of the string). The history files primary, secondary and tertiary are located in the folder $HOME/.local/share/clipboard.

In order that the history files will not be unnecessarily inflated the program prim-sec-clip offers the option "Truncate". Here you can determine how many of the last entries shall still be kept. Besides, at every session start the history files get shortened by means of the Starbuntu program initial-tasks to the last entries. The number max_clip_start of the remaining entries can be set in the file $HOME/.config/openbox/environment.

Please notice that, unlike other clipboard managers, not already the marking of a text but only its pasting with the Starbuntu program insert-sel (hotkey: Shift+Insert) causes the intake of the primary selection in the history. If you want to transfer the marked text to the history of the secondary selection or the clipboard please, after marking the text, press the hotkey Ctrl+Shift+c resp. Ctrl+Super+c. If you change "c" to "x" the marked and transferred text will be deleted. These hotkeys call the Starbuntu program copy-to-clipsec.

The content of the secondary selection gets inserted by pressing the hotkey Ctrl+Super+Insert and that one of the clipboard, as usual, by pressing Ctrl+v (historicized: Super+v).

Attention: A marked text can indeed be transferred to the clipboard by pressing the usual hotkey Ctrl+c resp. Ctrl+x but doing this it will not be inserted in its history. In this way you can reinsert a very bulky marked text without unnecessarily inflating the corresponding history file. Likewise the content of the primary selection does not get historicized if you don't reinsert it by pressing Shift+Insert but by pressing the middle mouse key.

FILES

/usr/local/bin/prim-sec-clip
/usr/local/bin/insert-sel
/usr/local/bin/copy-to-clipsec
$HOME/.local/share/clipboard/primary
$HOME/.local/share/clipboard/secondary
$HOME/.local/share/clipboard/tertiary
$HOME/.config/openbox/environment

ENVIRONMENT VARIABLES

max_clip_start = number of entries remaining in the threefold clipboard at begin of session (in $HOME/.config/openbox/environment)

AUTHOR

Peter Starfinger <info@die-starfingers.de>

SEE ALSO

Starbuntu programs
  insert-sel
  copy-to-clipsec