source: src-sh/de-info/de-profiles/gnome.profile @ 5e46078

releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1releng/10.1.1
Last change on this file since 5e46078 was 5e46078, checked in by yurkis <yurkis@…>, 13 months ago

Control panel: 1. Fix items launch not xdg compatible DEs (#999, #1004); 2. Mark Gnome 3 as xdg incompatible (for #999) 3. Add 'Comment' field to Bug Report Tool item (#986)

  • Property mode set to 100644
File size: 597 bytes
Line 
1DE_NAME="Gnome"
2XDG="NO"
3DE_SU="gksu %s"
4DE_FILEMAN="nautilus %s"
5DE_TERMINAL="gnome-terminal"
6DE_TERMINAL_TITLE="-t"
7DE_TERMINAL_COMMAND="-e"
8DE_SESSION_NAME="GNOME"
9
10active() {
11if [ "$PCDM_SESSION" = "$DE_SESSION_NAME" ]; then
12DE_ACTIVE=1
13fi 
14
15}
16
17installed() {
18# Check via pc-metapkgmanager if it exists
19which pc-metapkgmanager >/dev/null 2>/dev/null
20if [ $? -eq 0 ] ; then
21  pc-metapkgmanager status GNOME | grep "is installed" >/dev/null
22  if [ $? -eq 0 ] ; then
23    DE_INSTALLED=1
24  fi
25else
26  which gnome-session >/dev/null 2>/dev/null
27  if [ $? -eq 0 ] ; then
28    DE_INSTALLED=1
29  fi
30fi
31
32}
Note: See TracBrowser for help on using the repository browser.