sioyek
sioyek copied to clipboard
XDG_DATA_HOME is not respected
default_config_path: /etc/sioyek/prefs.config
default_keys_path: /etc/sioyek/keys.config
user_config_path: [ 0 ] /etc/xdg/sioyek/prefs_user.config
user_config_path: [ 1 ] /home/qvk/xdg/.config/sioyek/prefs_user.config
user_keys_path: [ 0 ] /etc/xdg/sioyek/keys_user.config
user_keys_path: [ 1 ] /home/qvk/xdg/.config/sioyek/keys_user.config
database_file_path: /home/qvk/.local/share/sioyek/test.db
local_database_file_path: /home/qvk/.local/share/sioyek/local.db
global_database_file_path: /home/qvk/.local/share/sioyek/shared.db
tutorial_path: /usr/share/sioyek/tutorial.pdf
last_opened_file_address_path: /home/qvk/.local/share/sioyek/last_document_path.txt
shader_path: /usr/share/sioyek/shaders
Creating shared memory block...
Shared memory created: this is the primary application.
Starting IPC server...
IPC server started.
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: Cannot convert character sequence: Invalid or incomplete multibyte or wide character
zsh: IOT instruction (core dumped) sioyek
-
database_file_path
-
local_database_file_path
-
global_database_file_path
-
last_opened_file_address_path
are using ~/.local/share
.
However, in my setup:
% echo $XDG_DATA_HOME
/home/qvk/xdg/.local/share
So I believe ~/xdg/.local/share
should be used instead.
Or does Sioyek not care about XDG Base Directory Specification?
% uname -rm
5.19.17-2-MANJARO x86_64
% sioyek --version
sioyek 1.5.0