source: src-sh/de-info/de-profiles/kde.profile @ 1620346

9.1-release9.2-releasereleng/10.0releng/10.0.1
Last change on this file since 1620346 was 1620346, checked in by Kris Moore <kris@…>, 12 months ago

Initial import of PC-BSD /current/ SVN repo

  • Property mode set to 100644
File size: 674 bytes
Line 
1DE_NAME="KDE"
2XDG="YES"
3
4DE_SU="kdesu %s"
5DE_TERMINAL="konsole"
6DE_TERMINAL_TITLE="--caption"
7DE_TERMINAL_COMMAND="-e"
8DE_TERMINAL_SEPARATE_ARGS="YES"
9DE_FILEMAN="dolphin %s"
10
11active() {
12
13 if [ -n "$KDE_SESSION_UID" ] ; then
14    DE_ACTIVE=1
15 fi
16}
17
18
19installed()
20{
21# Check via pc-metapkgmanager if it exists
22which pc-metapkgmanager >/dev/null 2>/dev/null
23if [ $? -eq 0 ] ; then
24  pc-metapkgmanager status KDE | grep installed >/dev/null
25  if [ $? -eq 0 ] ; then
26    DE_INSTALLED=1
27  fi
28else
29  which startkde4 >/dev/null 2>/dev/null
30  if [ $? -eq 0 ] ; then
31    DE_INSTALLED=1
32  fi
33  which startkde >/dev/null 2>/dev/null
34  if [ $? -eq 0 ] ; then
35    DE_INSTALLED=1
36  fi
37fi
38
39}
Note: See TracBrowser for help on using the repository browser.