Bug 357508 - Get new themes not working
Summary: Get new themes not working
Status: RESOLVED NOT A BUG
Alias: None
Product: parley
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: parley bug tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-04 10:54 UTC by Dimitris Kardarakos
Modified: 2016-01-05 09:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.