rickyrockrat / parcellite

GNU General Public License v3.0
220 stars 29 forks source link

Failed to load saved history file #48

Closed johntyree closed 4 years ago

johntyree commented 4 years ago

I saved parcellite history to a file, but there appears to be no way to load it up again.

It looks like parcellite uses a binary format to persist history in ~/.local/share/parcellite/history, but the manually saved history file is formatted like:

NHIST_0382 r8712u
NHIST_0383 RTL8188SU
NHIST_0384 127.0.0.1 localhost
127.0.1.1 DebianHostName

Is there a way to reconcile these?

rickyrockrat commented 4 years ago

Not really. This was provided as way to convert the binary. If you want something that feeds back into parcellite, use the one in .local.

johntyree commented 4 years ago

That makes the export basically useless. You should probably not expose it to end users.

rickyrockrat commented 4 years ago

I suppose that is your opinion. If you want text, this is your only option. The N is normal and P is persistent. If you know anything about bash, you can do whatever you want with the file.