This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] KDEDIR Env + Ubuntu

Tags: None
(comma "," separated)
Ganitzsh
Registered Member
Posts
3
Karma
0

[SOLVED] KDEDIR Env + Ubuntu

Sat Apr 19, 2014 12:46 pm
Hi,

I install the latest version of Kdevelop under Ubuntu compiling from the git.
It works fine, but I have a problem: everytime I want to use it, I have to execute this little script in order to make it work fine:
Code: Select all
#!/bin/bash
export KDEDIRS=/usr/local/:$KDEDIRS
kbuildsycoca4


Plus, it seems like my sessions doesn't save correctly. I have to import my projects at every launch.
What am I missing?

Thanks

Last edited by Ganitzsh on Mon Apr 21, 2014 11:05 pm, edited 1 time in total.
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: KDEDIR Env + Ubuntu

Sat Apr 19, 2014 1:27 pm
You can either install to /usr/ instead of /usr/local (by passing -DCMAKE_INSTALL_PREFIX=/usr to cmake) or run that script every time (maybe automatically).

Greetings!


I'm working on the KDevelop IDE.
OneHundRedOf
Registered Member
Posts
1
Karma
0

Re: KDEDIR Env + Ubuntu

Sat Apr 19, 2014 1:40 pm
Also you can do this https://forum.kde.org/viewtopic.php?f=63&t=61892
Basically just add a script to your .kde/env dir, it will execute every time you log in.
Perhaps you will need to run kbuildsycoca4 one last time after reloading KDE.
Ganitzsh
Registered Member
Posts
3
Karma
0

Re: KDEDIR Env + Ubuntu

Sat Apr 19, 2014 2:29 pm
Thanks for the replies.

Scummos:
I'll try to install it on /usr/. But what's the difference?
Is that why my sessions are not saved?

OneHundRedOf:
I'm not using KDE so I guess the script won't execute by itself at launch.

Btw, thanks for the answer
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: KDEDIR Env + Ubuntu

Sat Apr 19, 2014 2:46 pm
The difference is that /usr is the default directory and for that you won't need a script.

What do you mean by "sessions not saved" exactly?


I'm working on the KDevelop IDE.
Ganitzsh
Registered Member
Posts
3
Karma
0

Re: KDEDIR Env + Ubuntu

Sat Apr 19, 2014 2:48 pm
I mean that when I quit Kdevelop after I imported my projects, at the next launch I have to reimport all of them.

EDIT: I managed to make it work by adding the KDEDIR var env to the syste at boot, and launching the script at startup!


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]