Bug 357508

Summary: Get new themes not working
Product: [Applications] parley Reporter: Dimitris Kardarakos <dimkard>
Component: generalAssignee: parley bug tracker <parley-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: cordlandwehr
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dimitris Kardarakos 2016-01-04 10:54:31 UTC
When I try to get new themes, the list is empty. Below the empty list, the below is written:
Configuration file not found: "parley-themes.knsrc"

In console, the following can be found: 
No knsrc file named ' "parley-themes.knsrc" ' was found

Reproducible: Always

Steps to Reproduce:
1. Configure Parley
2. Get New Themes


Actual Results:  
Empty themes' list

Expected Results:  
Themes to be available
Comment 1 Andreas Cord-Landwehr 2016-01-04 21:14:31 UTC
Can you check where on your system "parley-themes.knsrc" is located?
It should be in "/etc/xdg/parley-themes.knsrc".
Comment 2 Dimitris Kardarakos 2016-01-05 09:04:25 UTC
Having compiled from source, it is here: 
/usr/local/etc/xdg/parley-themes.knsrc

When I installed the packaged version from repository (manjaro), it is installed in /etc/xdg/parley-themes.knsrc and themes' download works as expected.

Probably I was supposed to set something different as build parameters from the ones  I set (-DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=debugfull ).
Comment 3 Andreas Cord-Landwehr 2016-01-05 09:15:04 UTC
You have to set the XDG_CONFIG_DIRS environment variable for this to work. Maybe you want to have a look at the "Runtime Setup" section in https://community.kde.org/Frameworks/Building to have an overview of the important environment variables you have to set when you are installing self-compiled programs to custom paths.

I am closing this report, since this is not a program bug.