Changeset 7588e04


Ignore:
Timestamp:
Feb 12, 2014 4:09:12 AM (2 months ago)
Author:
yurkis <yurkis@…>
Branches:
master, releng/10.0.1
Children:
0970223, 597c25e
Parents:
1c61936
Message:

In place documentation for de profiles

Location:
src-sh/de-info/de-profiles
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • src-sh/de-info/de-profiles/cinnamon.profile

    r3f6d079 r7588e04  
     1############################################################################################# 
     2#  This is Desktop environment profile for de-info script 
     3# To add new desktop environment you should define at least those variables: 
     4# 
     5# $DE_NAME - desktop environment name to display 
     6#  
     7#      --Detection of desktop environment installation-- 
     8#  You may define one or all of those variables: 
     9# $DE_METAPACKAGE - name of desktop environment meta package 
     10# $DE_INSTALL_FILE - list of executable files related to desktop environment separated by space 
     11#    -or- 
     12# if $DE_METAPACKAGE and $DE_INSTALL_FILE are undefined or empty you should implement installed() 
     13# function that set DE_INSTALLED to 1 if desktop environment is installed 
     14# For example: 
     15# 
     16# installed() { 
     17#   pc-metapkgmanager status Cinnamon | grep "is installed" >/dev/null 
     18#   if [ $? -eq 0 ] ; then 
     19#     DE_INSTALLED=1 
     20#   fi 
     21# } 
     22# 
     23#      --Current desktop environment detection-- 
     24# PCDM writes to $PCDM_SESSION environment variable name of current desktop environment. 
     25# You may define this for checking is defined desktop environment current: 
     26# $DE_SESSION_NAME - name of desktop environment PCDM session 
     27#    -or- 
     28# If $DE_SESSION_NAME undefined or empty you should implement current() function that 
     29# should set DE_ACTIVE to 1 if desktop environment is active now 
     30# For example: 
     31# 
     32# active() { 
     33# if [ "$PCDM_SESSION" = "$DE_SESSION_NAME" ]; then 
     34#   DE_ACTIVE=1 
     35# fi   
     36# } 
     37#  
     38#      --Another fields--- 
     39# $XDG - set to "YES" if desktop environment is fully compatible with xdg-open script 
     40# $DE_CONFIG_APP - name of desktop environment main configuration application (if present) 
     41# Other fields are deprocated 
     42# 
     43#      --Notes--- 
     44# DE profile is an processes as shell script, so you may use shell scripting techniques. 
     45# For example: 
     46# DE_CONFIG_APP=de_configapp --user `whoami` 
     47############################################################################################# 
     48 
    149DE_NAME="Cinnamon" 
    250XDG="YES" 
  • src-sh/de-info/de-profiles/gnome.profile

    r3f6d079 r7588e04  
     1############################################################################################# 
     2#  This is Desktop environment profile for de-info script 
     3# To add new desktop environment you should define at least those variables: 
     4# 
     5# $DE_NAME - desktop environment name to display 
     6#  
     7#      --Detection of desktop environment installation-- 
     8#  You may define one or all of those variables: 
     9# $DE_METAPACKAGE - name of desktop environment meta package 
     10# $DE_INSTALL_FILE - list of executable files related to desktop environment separated by space 
     11#    -or- 
     12# if $DE_METAPACKAGE and $DE_INSTALL_FILE are undefined or empty you should implement installed() 
     13# function that set DE_INSTALLED to 1 if desktop environment is installed 
     14# For example: 
     15# 
     16# installed() { 
     17#   pc-metapkgmanager status Cinnamon | grep "is installed" >/dev/null 
     18#   if [ $? -eq 0 ] ; then 
     19#     DE_INSTALLED=1 
     20#   fi 
     21# } 
     22# 
     23#      --Current desktop environment detection-- 
     24# PCDM writes to $PCDM_SESSION environment variable name of current desktop environment. 
     25# You may define this for checking is defined desktop environment current: 
     26# $DE_SESSION_NAME - name of desktop environment PCDM session 
     27#    -or- 
     28# If $DE_SESSION_NAME undefined or empty you should implement current() function that 
     29# should set DE_ACTIVE to 1 if desktop environment is active now 
     30# For example: 
     31# 
     32# active() { 
     33# if [ "$PCDM_SESSION" = "$DE_SESSION_NAME" ]; then 
     34#   DE_ACTIVE=1 
     35# fi   
     36# } 
     37#  
     38#      --Another fields--- 
     39# $XDG - set to "YES" if desktop environment is fully compatible with xdg-open script 
     40# $DE_CONFIG_APP - name of desktop environment main configuration application (if present) 
     41# Other fields are deprocated 
     42# 
     43#      --Notes--- 
     44# DE profile is an processes as shell script, so you may use shell scripting techniques. 
     45# For example: 
     46# DE_CONFIG_APP=de_configapp --user `whoami` 
     47############################################################################################# 
     48 
    149DE_NAME="Gnome" 
    250XDG="NO" 
  • src-sh/de-info/de-profiles/kde.profile

    r3f6d079 r7588e04  
     1############################################################################################# 
     2#  This is Desktop environment profile for de-info script 
     3# To add new desktop environment you should define at least those variables: 
     4# 
     5# $DE_NAME - desktop environment name to display 
     6#  
     7#      --Detection of desktop environment installation-- 
     8#  You may define one or all of those variables: 
     9# $DE_METAPACKAGE - name of desktop environment meta package 
     10# $DE_INSTALL_FILE - list of executable files related to desktop environment separated by space 
     11#    -or- 
     12# if $DE_METAPACKAGE and $DE_INSTALL_FILE are undefined or empty you should implement installed() 
     13# function that set DE_INSTALLED to 1 if desktop environment is installed 
     14# For example: 
     15# 
     16# installed() { 
     17#   pc-metapkgmanager status Cinnamon | grep "is installed" >/dev/null 
     18#   if [ $? -eq 0 ] ; then 
     19#     DE_INSTALLED=1 
     20#   fi 
     21# } 
     22# 
     23#      --Current desktop environment detection-- 
     24# PCDM writes to $PCDM_SESSION environment variable name of current desktop environment. 
     25# You may define this for checking is defined desktop environment current: 
     26# $DE_SESSION_NAME - name of desktop environment PCDM session 
     27#    -or- 
     28# If $DE_SESSION_NAME undefined or empty you should implement current() function that 
     29# should set DE_ACTIVE to 1 if desktop environment is active now 
     30# For example: 
     31# 
     32# active() { 
     33# if [ "$PCDM_SESSION" = "$DE_SESSION_NAME" ]; then 
     34#   DE_ACTIVE=1 
     35# fi   
     36# } 
     37#  
     38#      --Another fields--- 
     39# $XDG - set to "YES" if desktop environment is fully compatible with xdg-open script 
     40# $DE_CONFIG_APP - name of desktop environment main configuration application (if present) 
     41# Other fields are deprocated 
     42# 
     43#      --Notes--- 
     44# DE profile is an processes as shell script, so you may use shell scripting techniques. 
     45# For example: 
     46# DE_CONFIG_APP=de_configapp --user `whoami` 
     47############################################################################################# 
     48 
    149DE_NAME="KDE" 
    250XDG="YES" 
  • src-sh/de-info/de-profiles/lxde.profile

    rdea54da r7588e04  
    11#!/bin/sh 
     2############################################################################################# 
     3#  This is Desktop environment profile for de-info script 
     4# To add new desktop environment you should define at least those variables: 
     5# 
     6# $DE_NAME - desktop environment name to display 
     7#  
     8#      --Detection of desktop environment installation-- 
     9#  You may define one or all of those variables: 
     10# $DE_METAPACKAGE - name of desktop environment meta package 
     11# $DE_INSTALL_FILE - list of executable files related to desktop environment separated by space 
     12#    -or- 
     13# if $DE_METAPACKAGE and $DE_INSTALL_FILE are undefined or empty you should implement installed() 
     14# function that set DE_INSTALLED to 1 if desktop environment is installed 
     15# For example: 
     16# 
     17# installed() { 
     18#   pc-metapkgmanager status Cinnamon | grep "is installed" >/dev/null 
     19#   if [ $? -eq 0 ] ; then 
     20#     DE_INSTALLED=1 
     21#   fi 
     22# } 
     23# 
     24#      --Current desktop environment detection-- 
     25# PCDM writes to $PCDM_SESSION environment variable name of current desktop environment. 
     26# You may define this for checking is defined desktop environment current: 
     27# $DE_SESSION_NAME - name of desktop environment PCDM session 
     28#    -or- 
     29# If $DE_SESSION_NAME undefined or empty you should implement current() function that 
     30# should set DE_ACTIVE to 1 if desktop environment is active now 
     31# For example: 
     32# 
     33# active() { 
     34# if [ "$PCDM_SESSION" = "$DE_SESSION_NAME" ]; then 
     35#   DE_ACTIVE=1 
     36# fi   
     37# } 
     38#  
     39#      --Another fields--- 
     40# $XDG - set to "YES" if desktop environment is fully compatible with xdg-open script 
     41# $DE_CONFIG_APP - name of desktop environment main configuration application (if present) 
     42# Other fields are deprocated 
     43# 
     44#      --Notes--- 
     45# DE profile is an processes as shell script, so you may use shell scripting techniques. 
     46# For example: 
     47# DE_CONFIG_APP=de_configapp --user `whoami` 
     48############################################################################################# 
     49 
    250DE_NAME="LXDE" 
    351XDG="YES" 
  • src-sh/de-info/de-profiles/mate.profile

    rdea54da r7588e04  
     1############################################################################################# 
     2#  This is Desktop environment profile for de-info script 
     3# To add new desktop environment you should define at least those variables: 
     4# 
     5# $DE_NAME - desktop environment name to display 
     6#  
     7#      --Detection of desktop environment installation-- 
     8#  You may define one or all of those variables: 
     9# $DE_METAPACKAGE - name of desktop environment meta package 
     10# $DE_INSTALL_FILE - list of executable files related to desktop environment separated by space 
     11#    -or- 
     12# if $DE_METAPACKAGE and $DE_INSTALL_FILE are undefined or empty you should implement installed() 
     13# function that set DE_INSTALLED to 1 if desktop environment is installed 
     14# For example: 
     15# 
     16# installed() { 
     17#   pc-metapkgmanager status Cinnamon | grep "is installed" >/dev/null 
     18#   if [ $? -eq 0 ] ; then 
     19#     DE_INSTALLED=1 
     20#   fi 
     21# } 
     22# 
     23#      --Current desktop environment detection-- 
     24# PCDM writes to $PCDM_SESSION environment variable name of current desktop environment. 
     25# You may define this for checking is defined desktop environment current: 
     26# $DE_SESSION_NAME - name of desktop environment PCDM session 
     27#    -or- 
     28# If $DE_SESSION_NAME undefined or empty you should implement current() function that 
     29# should set DE_ACTIVE to 1 if desktop environment is active now 
     30# For example: 
     31# 
     32# active() { 
     33# if [ "$PCDM_SESSION" = "$DE_SESSION_NAME" ]; then 
     34#   DE_ACTIVE=1 
     35# fi   
     36# } 
     37#  
     38#      --Another fields--- 
     39# $XDG - set to "YES" if desktop environment is fully compatible with xdg-open script 
     40# $DE_CONFIG_APP - name of desktop environment main configuration application (if present) 
     41# Other fields are deprocated 
     42# 
     43#      --Notes--- 
     44# DE profile is an processes as shell script, so you may use shell scripting techniques. 
     45# For example: 
     46# DE_CONFIG_APP=de_configapp --user `whoami` 
     47############################################################################################# 
     48 
    149DE_NAME="Mate" 
    250XDG="YES" 
  • src-sh/de-info/de-profiles/xfce.profile

    r3f6d079 r7588e04  
    11#!/bin/sh 
     2############################################################################################# 
     3#  This is Desktop environment profile for de-info script 
     4# To add new desktop environment you should define at least those variables: 
     5# 
     6# $DE_NAME - desktop environment name to display 
     7#  
     8#      --Detection of desktop environment installation-- 
     9#  You may define one or all of those variables: 
     10# $DE_METAPACKAGE - name of desktop environment meta package 
     11# $DE_INSTALL_FILE - list of executable files related to desktop environment separated by space 
     12#    -or- 
     13# if $DE_METAPACKAGE and $DE_INSTALL_FILE are undefined or empty you should implement installed() 
     14# function that set DE_INSTALLED to 1 if desktop environment is installed 
     15# For example: 
     16# 
     17# installed() { 
     18#   pc-metapkgmanager status Cinnamon | grep "is installed" >/dev/null 
     19#   if [ $? -eq 0 ] ; then 
     20#     DE_INSTALLED=1 
     21#   fi 
     22# } 
     23# 
     24#      --Current desktop environment detection-- 
     25# PCDM writes to $PCDM_SESSION environment variable name of current desktop environment. 
     26# You may define this for checking is defined desktop environment current: 
     27# $DE_SESSION_NAME - name of desktop environment PCDM session 
     28#    -or- 
     29# If $DE_SESSION_NAME undefined or empty you should implement current() function that 
     30# should set DE_ACTIVE to 1 if desktop environment is active now 
     31# For example: 
     32# 
     33# active() { 
     34# if [ "$PCDM_SESSION" = "$DE_SESSION_NAME" ]; then 
     35#   DE_ACTIVE=1 
     36# fi   
     37# } 
     38#  
     39#      --Another fields--- 
     40# $XDG - set to "YES" if desktop environment is fully compatible with xdg-open script 
     41# $DE_CONFIG_APP - name of desktop environment main configuration application (if present) 
     42# Other fields are deprocated 
     43# 
     44#      --Notes--- 
     45# DE profile is an processes as shell script, so you may use shell scripting techniques. 
     46# For example: 
     47# DE_CONFIG_APP=de_configapp --user `whoami` 
     48############################################################################################# 
     49 
    250DE_NAME="XFCE" 
    351 
Note: See TracChangeset for help on using the changeset viewer.