desktop-profiles-git/0002755000000000000000000000000012650774404012032 5ustar desktop-profiles-git/desktop-profiles.fish0000755000000000000000000000142112346127117016171 0ustar #!/usr/bin/fish # This fixes the desktop-profiles corner-case where a graphical client is # started through an ssh -X session (in which the Xsession.d scripts aren't # run, so we need to make sure the profiles are activated according to the # specified settings at login). set -l DESKTOP_PROFILES_SNIPPET "/usr/share/desktop-profiles/get_desktop-profiles_variables" if test -f $DESKTOP_PROFILES_SNIPPET set -l TEMP_FILE (tempfile) # use bash to write the required environment settings to a tempfile # this file has a 'VARIABLE=VALUE' format bash $DESKTOP_PROFILES_SNIPPET $TEMP_FILE # convert to fish format and source to set the required environment variables sed -i 's/^\(.*\)=\(.*\)$/set -g -x \1 \2/' $TEMP_FILE . $TEMP_FILE # cleanup rm $TEMP_FILE end desktop-profiles-git/desktop-profiles_zoidrc.pl0000755000000000000000000000154212346127117017231 0ustar #!/usr/bin/perl # This fixes the desktop-profiles corner-case where a graphical client is # started through an ssh -X session (in which the Xsession.d scripts aren't # run, so we need to make sure the profiles are activated according to the # specified settings at login). $DESKTOP_PROFILES_SNIPPET = '/usr/share/desktop-profiles/get_desktop-profiles_variables'; if ( -e $DESKTOP_PROFILES_SNIPPET ) { $TEMP_FILE = `tempfile`; # use bash to write the required environment settings to a tempfile # this file has a 'VARIABLE=VALUE' format `bash $DESKTOP_PROFILES_SNIPPET $TEMP_FILE`; # source to set the required environment variables open(input, $TEMP_FILE); while($env_var = ) { # needs to become: $ENV{'VARIABLE'} = 'VALUE'; $env_var =~ s/^(.*)=(.*)$/\$ENV{'\1'} = '\2'/; eval $env_var; } # cleanup `rm $TEMP_FILE`; } desktop-profiles-git/listingmodule0000644000000000000000000002472712346127117014641 0ustar #!/bin/sh # # This is a shell library containing utility functions the scripts in the # desktop-profiles package. This library currently contains the following # functions (see the comments with each function for more info): # - test_requirement: takes a requirement and (optionally) a username, # exit code indicates wether the requirement is met # - test_profile_requirements: takes a profile's line (from the .listing # file), and (optionally) a username, exit # code indicates wether the requirements are # met # - for_each_requirement: first argument is a list of requirements, second # argument is a command to be executed once for # each requirement (with requirement as argument) # - list_listings: returns a space separated list of all .listing files # found in the directories contained in $LISTINGS_DIRS # - filter_listings: returns matching profiles from the available listing # files (output influenced by a number of environment # variables, see below for a list) # # See desktop-profiles (7) for more information about using profiles through # desktop-profiles and the format of the .listing files # # (c) 2004 Bart Cornelis ############################################################################### ############################################################################### # test_requirement () - test wether the given requirement is fulfilled for a # given user # # Note: won't work for not-current-user when command-requirments depend on # the user's environment settings. # # $1 = requirement # $2 = username (defaults to current user if absent) # # Each requirement is of one of the following forms: # requirement | meaning # -------------------------- # | $USER is a member of # ! | $USER must not be member of group # ! | always false (i.e. deactivate profile) # $(command) | (shell) command exits succesfully # # returns succesfully ($?=0) if requirement is met # returns 1 otherwise ############################################################################### test_requirement(){ # if no requirement (given) -> then it's met if (test "$1"x = x); then exit; fi; # initialize needed variables. Do not give argument to groups when looking up the current # user, to avoid expensive lookup with LDAP NSS. if (test "$2"x = x) || (test "$USER" = "$2") ; then OUR_USER="$USER" OUR_GROUPS="`id -Gn`" else OUR_USER="$2" OUR_GROUPS="`id -Gn -- $OUR_USER`" fi # !... requirement if (echo "$1" | grep '^!' > /dev/null) ; then GROUP=`echo "$1" | sed 's/^!//'`; # deactivated profile if (test "$GROUP"x = x); then exit 1; fi; # user is not a member of given group if (echo $OUR_GROUPS | grep -v $GROUP > /dev/null); then exit;# success fi; # given command must exit succesfully elif (echo "$1" | grep '^\$(.*)' > /dev/null); then COMMAND="`echo "$1" | sed -e 's/^\$(//' -e 's/)$//'`"; sh -c "$COMMAND" > /dev/null; exit $?; # user is a member of given group else if (echo $OUR_GROUPS | grep $1 > /dev/null); then exit;# success fi; fi; # if we get here the requirement was not met exit 1; } ################################################################ # $1 = list of requirements # $2 = '$2 $REQUIREMENT' will be executed for each REQUIREMENT # $3- ... = extra arguments to pass to each $2 call ################################################################ for_each_requirement(){ PROFILE_REQUIREMENTS="$1";shift COMMAND="$1";shift EXTRA_ARGS="$@"; # requirements -> check one by one while (test "$PROFILE_REQUIREMENTS"x != x); do # attempt to get first (remaining) REQUIREMENT C=1; REQUIREMENT=`echo "$PROFILE_REQUIREMENTS" | cut --fields 1 --delimiter " "`; # if command requirement if (echo "$REQUIREMENT" | grep "^\$(" > /dev/null); then #make sure we have the whole command (with params) while (echo "$REQUIREMENT" | grep -v ')$' > /dev/null); do C=`expr $C + 1`; REQUIREMENT=`echo $PROFILE_REQUIREMENTS | cut --fields -$C --delimiter " "`; done; # prepare loop for next iteration C=`expr $C + 1`; PROFILE_REQUIREMENTS=`echo $PROFILE_REQUIREMENTS | cut --fields $C- --delimiter " " `; else # prepare loop for next iteration PROFILE_REQUIREMENTS=`echo $PROFILE_REQUIREMENTS | sed -e "s/^$REQUIREMENT//" -e "s/^ *//"`; fi; "$COMMAND" "$REQUIREMENT" "$EXTRA_ARGS" done; } ############################################################################### # test_profile_requirements() - test wether the given profile's requirements # are met for a given user. # # Note: won't work for not-current-user when command-requirments depend on # the user's environment settings. # # $1 = the profile line from the listing file # $2 = username (defaults to current user if absent) # # returns succesfully ($?=0) if requirement is met # returns 1 otherwise ############################################################################### test_profile_requirements() { PROFILE_REQUIREMENTS="$(echo $@ | cut --fields 5 --delimiter ";")"; # no requirements -> met if (test "$PROFILE_REQUIREMENTS"x = x); then exit; fi; # requirements -> check one by one for_each_requirement "$PROFILE_REQUIREMENTS" test_requirement $2; # all requirements are met (or we wouldn't get here) exit; } ################################################################################ # outputs a space separated list of all .listing files found in the directories # contained in $LISTINGS_DIRS ################################################################################ list_listings () { # Make sure the variable we need are initialized LISTINGS_DIRS=${LISTINGS_DIRS:-'/etc/desktop-profiles'} for DIR in $LISTINGS_DIRS; do echo -n $(ls -1 $DIR/*.listing); echo -n " "; done; echo; } ############################################################################### # filter_listings() - filters the profiles in the .listing files # (criteria and output-format are set through a number of # environment variables, as listed below) # # The following environment variables _may_ be used: # - NAME_FILTER, LOCATION_FILTER, REQUIREMENT_FILTER, # KIND_FILTER, and DESCRIPTION_FILTER: contain the regexp filter to be used # on the corresponding field of the profile-line # - PRECEDENCE_FILTER contains the second half of an expression to be passed to # the test program (e.g. '-gt 0', '-ge 0', or '-lt 50') # - OUR_USER: requirements need to be met for this user # - FORMAT: don't just echo the profile-line from the .listing file, but use # the specified format (may use the variables NAME, LOCATION, PRECEDENCE, # REQUIREMENT, KIND, DESCRIPTION, FILE variables. First 6 refer to the # the respective fields for that profile, FILE refers to the file the profile # is listed in. # NOTE: characters interpreted specially by the shell (such as ';') need # to be escaped. # - SORT_KEY: sort on field (NOTE: numeric) # - SORT_ARGS: extra arguments to be given to the sort command (e.g. when # sorting on the precedence field (3) you probably want to set this to # '--general-numeric-sort --reverse') # - LISTINGS_DIRS: the directory containing the .listing files to include # (defaults to '/etc/desktop-profiles', probably shouldn't be changed ever) # # In absence of any set variables it will just output all available profiles # sorted by name. # # The list-desktop-profile script from the desktop-profiles package offers an # example of how to use this function. ############################################################################### filter_listings () { # Make sure the variable we need are initialized SORT_KEY=${SORT_KEY:-1} SORT_ARGS=${SORT_ARGS:-''} NAME_FILTER=${NAME_FILTER:-''} LOCATION_FILTER=${LOCATION_FILTER:-''} PRECEDENCE_FILTER=${PRECEDENCE_FILTER:-''} REQUIREMENT_FILTER=${REQUIREMENT_FILTER:-''} KIND_FILTER=${KIND_FILTER:-''} DESCRIPTION_FILTER=${DESCRIPTION_FILTER:-''} OUR_USER=${OUR_USER:-''} FORMAT=${FORMAT:-'$NAME\;$KIND\;$LOCATION\;$PRECEDENCE\;$REQUIREMENTS\;$DESCRIPTION'}; LISTINGS_LIST=$(list_listings) # do the filtering cat $LISTINGS_LIST | grep -v -e "^[[:space:]]*#" -e "^[[:space:]]*$" | sort $SORT_ARGS --key="$SORT_KEY" --field-separator=';' | \ while read PROFILE; do # split fields export NAME="`echo $PROFILE | cut --delimiter ';' --fields 1`"; export KIND="`echo $PROFILE | cut --delimiter ';' --fields 2`"; export LOCATION="`echo $PROFILE | cut --delimiter ';' --fields 3`"; export PRECEDENCE="`echo $PROFILE | cut --delimiter ';' --fields 4`"; export REQUIREMENTS="`echo $PROFILE | cut --delimiter ';' --fields 5`"; export DESCRIPTION="`echo $PROFILE | cut --delimiter ';' --fields 6`"; export FILE=`grep -l "^$NAME;" $LISTINGS_LIST`; if (test "$PRECEDENCE"x = x); then #unset = lower then anything, so set to insanely low value NORM_PRECEDENCE='-999999999999999999'; else NORM_PRECEDENCE=$PRECEDENCE; fi; # if filters don't match -> go to next profile if ( (test "${NAME_FILTER:-''}" != '') && (echo "$NAME" | grep -v "$NAME_FILTER" > /dev/null) ) || ( (test "${LOCATION_FILTER:-''}" != '') && (echo "$LOCATION" | grep -v "$LOCATION_FILTER" > /dev/null) ) || ( (test "${PRECEDENCE_FILTER:-''}" != '') && !(test "$NORM_PRECEDENCE" $PRECEDENCE_FILTER) ) || ( (test "${REQUIREMENT_FILTER:-''}" != '') && (echo "$REQUIREMENTS" | grep -v "$REQUIREMENT_FILTER" > /dev/null) ) || ( (test "${KIND_FILTER:-''}" != '') && (echo "$KIND" | grep -v "$KIND_FILTER" > /dev/null) ) || ( (test "${DESCRIPTION_FILTER:-''}" != '') && (echo "$DESCRIPTION" | grep -v "$DESCRIPTION_FILTER" > /dev/null) ); then continue; fi; # if we have a username to match for, and requirements are not met if (test "$OUR_USER" != '') && !(test_profile_requirements "$PROFILE" "$OUR_USER"); then # -> go to next profile continue; fi; # if we get here output the profile's information in the requested format echo $(sh -c "echo $FORMAT"); done; } desktop-profiles-git/20desktop-profiles_activateDesktopProfiles0000644000000000000000000004602112346127117022323 0ustar #!/bin/sh # # Script to activate profiles (i.e. conditional extra stuff) for the various # desktop environments in Debian based on the data in the *.listing files in # the /etc/desktop-profiles directory. Sourced by /etc/X11/Xsession. # # See the desktop-profiles(7) man page for an overview of how this works # # Code in this file has a couple of debian-specific parts: # - use of tempfile from debian-utils # (at start of execution, and in sort_profiles & activate_gnome functions) # - hardcoded default values for the different GNUSTEP_*_ROOT env variables # (in activate_gnustep function below) # # (c) 2004-2005 Bart Cornelis ############################################################################### ######################################################## # get utility functions for working with .listing files ######################################################## LIB=/usr/share/desktop-profiles/listingmodule; if (test -r $LIB); then . $LIB; INSTALLED=true; else # test for shell-library if absent then either: # - the package installation is corrupt # - the package is removed (this file is left as it's in /etc/ and # thus treated as a conffile # We'll assume the latter. echo "Shell library $LIB is missing -> assuming desktop-profiles is removed (but not purged)" >> $ERRFILE; INSTALLED=false fi; general_trap () { rm -f "$GCONF_FILE"; exit; } sort_profiles_trap () { rm -f "$GCONF_FILE"; rm -f "$PROFILES"; exit; } ######################################################################### # Sort all profiles that have their requirements met by kind # (result for each $KIND is saved in the corresponding env variable # except for gnome which is saved in $GNOME_FILE, which is a tempfile) ######################################################################### sort_profiles(){ #make sure we start with empty variables KDEDIRS_NEW='';XDG_CONFIG_DIRS_NEW='';XDG_DATA_DIRS_NEW='';CHOICESPATH_NEW='';GNUSTEP_PATHLIST_NEW='';UDEDIRS_NEW='';PROFILES_NEW=''; # adjust trap to ensure we don't leave any tempfiles behind trap sort_profiles_trap HUP INT TERM; # get profiles that are have fulfilled requirements, and save result on file descriptor 3 PROFILES=`tempfile`; exec 3<> $PROFILES; (#reset trap as we're now in a subshell trap sort_profiles_trap HUP INT TERM; # get profiles that are have fulfilled requirements cat $(list_listings) | grep -v -e "^[[:space:]]*#" -e "^[[:space:]]*$" | while read PROFILE; do if (test_profile_requirements "$PROFILE"); then echo $PROFILE; fi; done; #and sort them by preference ) | sort --reverse --general-numeric-sort --field-separator=";" --key 4 > $PROFILES; # read from file descriptor 3 (not using pipe, because then the variables being # changed are in a subshell, which means they're unchanged outside the while loop) while read PROFILE <&3; do # sort per profile kind KIND=`echo "$PROFILE" | cut --fields 2 --delimiter ";"`; if (test "$KIND" = "KDE"); then KDEDIRS_NEW="$KDEDIRS_NEW $(echo "$PROFILE" | cut --fields 3 --delimiter ";")"; elif (test "$KIND" = "XDG_CONFIG"); then XDG_CONFIG_DIRS_NEW="$XDG_CONFIG_DIRS_NEW $(echo "$PROFILE" | cut --fields 3 --delimiter ";")"; elif (test "$KIND" = "XDG_DATA"); then XDG_DATA_DIRS_NEW="$XDG_DATA_DIRS_NEW $(echo "$PROFILE" | cut --fields 3 --delimiter ";")"; elif (test "$KIND" = "ROX"); then CHOICESPATH_NEW="$CHOICESPATH_NEW $(echo "$PROFILE" | cut --fields 3 --delimiter ";")"; elif (test "$KIND" = "GNUSTEP"); then GNUSTEP_PATHLIST_NEW="$GNUSTEP_PATHLIST_NEW $(echo "$PROFILE" | cut --fields 3 --delimiter ";")"; elif (test "$KIND" = "UDE"); then UDEDIRS_NEW="$UDEDIRS_NEW $(echo "$PROFILE" | cut --fields 3 --delimiter ";")"; elif (test "$KIND" = "GCONF"); then echo "`echo "$PROFILE" | cut --fields 3 --delimiter ";"` " >> $GCONF_FILE; fi; done; # close filedescriptor, delete tempfile, readjust trap exec 3>&- ; rm -f $PROFILES; trap general_trap HUP INT TERM; } ########################################################## # Functions for activating the different kinds of profile ########################################################## activate_KDE () { KDEDIRS_NEW=`echo "$KDEDIRS_NEW" | sed -e "s/^ *//" -e "s/ *$//" -e "s/ /:/g"` if (test "$KDEDIRS_NEW"x != x) && (test "$KDEDIRS_NEW" != "$(cat $DEFAULT_LISTING | grep "^kde-prefix" | cut --fields 3 --delimiter ";" | sed -e "s/^ *//" -e "s/ *$//" -e "s/ /:/g")"); then # set KDEDIRS, handle current value based on active personality if (test "$KDEDIRS"x = x); then KDEDIRS=$(sh -c "echo $KDEDIRS_NEW");# FORCE expansion of variables in KDEDIRS_NEW if any else # we need to check what to do with already set value case "$PERSONALITY" in autocrat) KDEDIRS=$(sh -c "echo $KDEDIRS_NEW") ;; rude) KDEDIRS=$(sh -c "echo $KDEDIRS_NEW"):$KDEDIRS ;; polite | *) KDEDIRS=$KDEDIRS:$(sh -c "echo $KDEDIRS_NEW") ;; esac; fi; export KDEDIRS; #desktop-profiles is not setting the variable so if we're autcratic enforce that view elif (test "$PERSONALITY" = autocrat); then unset KDEDIRS; fi; } activate_XDG_CONFIG () { XDG_CONFIG_DIRS_NEW=`echo "$XDG_CONFIG_DIRS_NEW" | sed -e "s/^ *//" -e "s/ *$//" -e "s/ /:/g"` if (test "$XDG_CONFIG_DIRS_NEW"x != x) && (test "$XDG_CONFIG_DIRS_NEW" != "$(cat $DEFAULT_LISTING | grep "^default-xdg_config_dirs" | cut --fields 3 --delimiter ";" | sed -e "s/^ *//" -e "s/ *$//" -e "s/ /:/g")"); then # set XDG_CONFIG_DIRS, handle current value based on active personality if (test "$XDG_CONFIG_DIRS"x = x); then XDG_CONFIG_DIRS=$(sh -c "echo $XDG_CONFIG_DIRS_NEW");# FORCE expansion of variables in XDG_CONFIG_DIRS_NEW if any else case "$PERSONALITY" in autocrat) XDG_CONFIG_DIRS=$(sh -c "echo $XDG_CONFIG_DIRS_NEW") ;; rude) XDG_CONFIG_DIRS=$(sh -c "echo $XDG_CONFIG_DIRS_NEW"):$XDG_CONFIG_DIRS ;; polite | *) XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:$(sh -c "echo $XDG_CONFIG_DIRS_NEW") ;; esac; fi; export XDG_CONFIG_DIRS; #desktop-profiles is not setting the variable so if we're autcratic enforce that view elif (test "$PERSONALITY" = autocrat); then unset XDG_CONFIG_DIRS; fi; } activate_XDG_DATA () { XDG_DATA_DIRS_NEW=`echo "$XDG_DATA_DIRS_NEW" | sed -e "s/^ *//" -e "s/ *$//" -e "s/ /:/g"` if (test "$XDG_DATA_DIRS_NEW"x != x) && (test "$XDG_DATA_DIRS_NEW" != "$(cat $DEFAULT_LISTING | grep "^default-xdg_data_dirs" | cut --fields 3 --delimiter ";" | sed -e "s/^ *//" -e "s/ *$//" -e "s/ /:/g")"); then # set XDG_DATA_DIRS, handle current value based on active personality if (test "$XDG_DATA_DIRS"x = x); then XDG_DATA_DIRS=$(sh -c "echo $XDG_DATA_DIRS_NEW");# FORCE expansion of variables in XDG_DATA_DIRS_NEW if any else case "$PERSONALITY" in autocrat) XDG_DATA_DIRS=$(sh -c "echo $XDG_DATA_DIRS_NEW") ;; rude) XDG_DATA_DIRS=$(sh -c "echo $XDG_DATA_DIRS_NEW"):$XDG_DATA_DIRS ;; polite | *) XDG_DATA_DIRS=$XDG_DATA_DIRS:$(sh -c "echo $XDG_DATA_DIRS_NEW") ;; esac; fi; export XDG_DATA_DIRS; #desktop-profiles is not setting the variable so if we're autcratic enforce that view elif (test "$PERSONALITY" = autocrat); then unset XDG_DATA_DIRS; fi; } activate_ROX () { CHOICESPATH_NEW=`echo "$CHOICESPATH_NEW" | sed -e "s/^ *//" -e "s/ *$//" -e "s/ /:/g"` DEFAULT_CHOICES=$(cat $DEFAULT_LISTING | grep '^default-rox-system;' | cut --fields 3 --delimiter ";" | sed -e "s/^ *//" -e "s/ *$//" -e "s/ /:/g") DEFAULT_CHOICES="$(cat $DEFAULT_LISTING | grep '^default-rox-user;' | cut --fields 3 --delimiter ";" | sed -e "s/^ *//" -e "s/ *$//" -e "s/ /:/g"):$DEFAULT_CHOICES" if (test "$CHOICESPATH_NEW"x != x) && (test "$CHOICESPATH_NEW" != "$DEFAULT_CHOICES"); then # set CHOICESPATH, handle current value based on active personality if (test "$CHOICESPATH"x = x); then CHOICESPATH=$(sh -c "echo $CHOICESPATH_NEW");# FORCE expansion of variables in CHOICESPATH_NEW if any else case "$PERSONALITY" in autocrat) CHOICESPATH=$(sh -c "echo $CHOICESPATH_NEW") ;; rude) CHOICESPATH=$(sh -c "echo $CHOICESPATH_NEW"):$CHOICESPATH ;; polite | *) CHOICESPATH=$CHOICESPATH:$(sh -c "echo $CHOICESPATH_NEW") ;; esac; fi; export CHOICESPATH; #desktop-profiles is not setting the variable so if we're autcratic enforce that view elif (test "$PERSONALITY" = autocrat); then unset CHOICESPATH; fi; } activate_UDE () { # don't s/ /:g/ in next line, UDE doesn't currently support combining profile dirs UDEDIRS_NEW=`echo "$UDEDIRS_NEW" | sed -e "s/^ *//" -e "s/ *$//"` if (test "$UDEDIRS_NEW"x != x) && (test "$UDEDIRS_NEW" != "$(cat $DEFAULT_LISTING | grep "^ude-install-dir" | cut --fields 3 --delimiter ";")"); then # UDE currently only supports one dir, so we use the current setting unless # - we're in autocratic or rude mode or # - UDEdir wasn't set up yet and we're in polite mode if ( (test "$PERSONALITY" = autocrat) || (test "$PERSONALITY" = rude) || \ ( (test "$PERSONALITY" = polite) && (test "$UDEdir"x = x) ) );then for dir in $UDEDIRS_NEW; do UDEdir=$dir; break; done; export UDEdir=$(sh -c "echo $UDEdir");# FORCE expansion of variables in UDEdir if any fi; #desktop-profiles is not setting the variable so if we're autcratic enforce that view elif (test "$PERSONALITY" = autocrat); then unset UDEdir; fi; } activate_GNUSTEP () { # default values as set in /usr/lib/GNUstep/System/Library/Makefiles/GNUstep.sh (On Debian) export GNUSTEP_USER_ROOT=${GNUSTEP_USER_ROOT:-`/usr/lib/GNUstep/System/Library/Makefiles/user_home user 2> /dev/null`}; export GNUSTEP_LOCAL_ROOT=${GNUSTEP_LOCAL_ROOT:-/usr/local/lib/GNUstep/Local}; export GNUSTEP_NETWORK_ROOT=${GNUSTEP_NETWORK_ROOT:-/usr/local/lib/GNUstep/Network}; export GNUSTEP_SYSTEM_ROOT=${GNUSTEP_SYSTEM_ROOT:-/usr/lib/GNUstep/System}; #should be in GNUSTEP_PATHLIST_NEW (see /usr/lib/GNUstep/System/Library/Makefiles/GNUstep.sh) GNUSTEP_PATHLIST_NEW=`echo "$GNUSTEP_PATHLIST_NEW" | sed -e "s/^ *//" -e "s/ *$//" -e "s/ /:/g"` # get default domains DEFAULT_DOMAINS=$(cat $DEFAULT_LISTING | grep "^gnustep-user-domain" | cut --fields 3 --delimiter ";" | sed -e "s/^ *//" -e "s/ *$//" -e "s/ /:/g") DEFAULT_DOMAINS="$DEFAULT_DOMAINS:$(cat $DEFAULT_LISTING | grep "^gnustep-local-domain" | cut --fields 3 --delimiter ";" | sed -e "s/^ *//" -e "s/ *$//" -e "s/ /:/g")" DEFAULT_DOMAINS="$DEFAULT_DOMAINS:$(cat $DEFAULT_LISTING | grep "^gnustep-network-domain" | cut --fields 3 --delimiter ";" | sed -e "s/^ *//" -e "s/ *$//" -e "s/ /:/g")" DEFAULT_DOMAINS="$DEFAULT_DOMAINS:$(cat $DEFAULT_LISTING | grep "^gnustep-system-domain" | cut --fields 3 --delimiter ";" | sed -e "s/^ *//" -e "s/ *$//" -e "s/ /:/g")" if (test "$GNUSTEP_PATHLIST_NEW"x != x) && (test "$GNUSTEP_PATHLIST_NEW" != "$DEFAULT_DOMAINS"); then # set GNUSTEP_PATHLIST, handle current value based on active personality if (test "$GNUSTEP_PATHLIST"x = x); then export GNUSTEP_PATHLIST=$(sh -c "echo $GNUSTEP_PATHLIST_NEW");# FORCE expansion of variables in GNUSTEP_PATHLIST_NEW if any else case "$PERSONALITY" in autocrat) export GNUSTEP_PATHLIST=$(sh -c "echo $GNUSTEP_PATHLIST_NEW") ;; rude) export GNUSTEP_PATHLIST=$(sh -c "echo $GNUSTEP_PATHLIST_NEW"):$GNUSTEP_PATHLIST ;; polite | *) export GNUSTEP_PATHLIST=$GNUSTEP_PATHLIST:$(sh -c "echo $GNUSTEP_PATHLIST_NEW") ;; esac; fi; else #desktop-profiles is not setting the variable so if we're autcratic enforce that view if (test "$PERSONALITY" = autocrat); then unset GNUSTEP_PATHLIST; fi; # if we're not setting things, then make sure we've not added to the environment if (test "$GNUSTEP_USER_ROOT" = "$(/usr/lib/GNUstep/System/Library/Makefiles/user_home user 2> /dev/null)"); then unset GNUSTEP_USER_ROOT; fi if (test "$GNUSTEP_LOCAL_ROOT" = "/usr/local/lib/GNUstep/Local"); then unset GNUSTEP_LOCAL_ROOT; fi if (test "$GNUSTEP_NETWORK_ROOT" = "/usr/local/lib/GNUstep/Network"); then unset GNUSTEP_NETWORK_ROOT; fi if (test "$GNUSTEP_SYSTEM_ROOT" = "/usr/lib/GNUstep/System"); then unset GNUSTEP_SYSTEM_ROOT; fi fi; } activate_GCONF () { # HACK WARNING: # # While GCONF allows multiple "configuration sources", there seems to be no clean way to # make the used "configuration sources" dependend on a condition (such as group membership). # One dirty way to get this ability is to generate a path file at login which will include # directives activating the profiles that have their requirements met. # # NOTE: this alone isn't enough, the system-wide path file (/etc/gconf//path) # needs to contain a include directive for this generated file. (preferably it should # contain _only_ that include directive setting everything else up through profiles) # $XDG_CACHE_HOME is not supposed to contain anything that can't be deleted # so we can savely do this to avoid leaving old generated files from # previous logins laying around XDG_CACHE_HOME=${XDG_CACHE_HOME:-$HOME/.cache}; rm -f $(grep -sl '^# Generated by desktop-profiles package$' $XDG_CACHE_HOME/* | cut --delimiter ':' --fields 1); # only generate path files for user if they will be included if (grep 'include *\$(ENV_MANDATORY_PATH)' /etc/gconf/2/path > /dev/null 2>&1 ) || (grep 'include *\$(ENV_DEFAULTS_PATH)' /etc/gconf/2/path > /dev/null 2>&1 ) || (grep 'include *\$(ENV_MANDATORY_PATH)' /etc/gconf/1/path > /dev/null 2>&1 ) || (grep 'include *\$(ENV_DEFAULTS_PATH)' /etc/gconf/1/path > /dev/null 2>&1 ); then # used to keep track if we passed from mandatory to default configuration sources yet INCLUDED_HOME=false; # create tempfile, while ensuring that cachedir exists # We're using tempfile since it ensures we have a new file with # a random filename, which is necessary for security: # - if (generated) path file isn't there all is fine # - if (generated) path file is there and the permissions on it allow $USER to write all is fine # (as it's regenerated on login) # - if (generated) path file is there (possibly changed by attacker) and the permissions on it do # not allow $USER to write things are not fine (as regeneration fails, and configuration sources # by attacker will be used). # Attacker can be $USER hirself (to avoid mandatory settings from sysadmin), or if file is in a # directory that's writeable by someone else a third party mkdir -p $XDG_CACHE_HOME; export MANDATORY_PATH=$(tempfile --directory $XDG_CACHE_HOME); export DEFAULTS_PATH=$(tempfile --directory $XDG_CACHE_HOME); # add marker to generated files, both so we can find it again later, and to indicate origin echo "# Generated by desktop-profiles package" > "$MANDATORY_PATH"; echo "# Generated by desktop-profiles package" > "$DEFAULTS_PATH"; # see if there's actually anyting to add, if so create pathfiles and fill them cat $GCONF_FILE | while read LINE; do # user gconf source should be included by system-wide path already if (test "$LINE" != 'xml:readwrite:$(HOME)/.gconf'); then if (test $INCLUDED_HOME = false); then # add configuration source echo $LINE >> "$MANDATORY_PATH"; else # add configuration source echo $LINE >> "$DEFAULTS_PATH"; fi; else INCLUDED_HOME=true; fi done; # get rid of temp files and variables if we don't use them if (test "$(cat $MANDATORY_PATH | wc -l)" -eq 1); then rm -f $MANDATORY_PATH; unset MANDATORY_PATH; fi; if (test "$(cat $DEFAULTS_PATH | wc -l)" -eq 1); then rm -f $DEFAULTS_PATH; unset DEFAULTS_PATH; fi; fi; # end generated path files will be included # cleanup tempfile rm -f $GCONF_FILE; } ##################### # Start of execution ##################### # Check is needed, as this file is a conffile and thus left after package # deinstallation, yet it shouldn't do anything when the package is deinstalled if (test $INSTALLED = true); then ################################# # Check if user set any defaults ################################# if (test -r /etc/default/desktop-profiles); then . /etc/default/desktop-profiles; fi; # sheep don't form an opintion, they just follow along # so skip everything if personality is set to sheep if (test "$PERSONALITY" != sheep); then ################################################# # Make sure the variables we need are initialized ################################################# LISTINGS_DIRS=${LISTINGS_DIRS:-'/etc/desktop-profiles'} CACHE_DIR=${CACHE_DIR:-'/var/cache/desktop-profiles'} CACHE_FILE="$CACHE_DIR/activated_profiles" ACTIVE_PROFILE_KINDS=${ACTIVE_PROFILE_KINDS:-''} DEFAULT_LISTING=/etc/desktop-profiles/desktop-profiles.listing PROFILE_PATH_FILES_DIR=${PROFILE_PATH_FILES_DIR:-'/var/cache/desktop-profiles/'} ############################################################ # Actual activation of profiles ############################################################ # if we have a cache and it's up-to-date -> use it if (test -r "$CACHE_FILE") && (test $(ls -t -1 /etc/desktop-profiles/*.listing \ /etc/default/desktop-profiles \ "$CACHE_FILE" 2> /dev/null | \ head -1) = "$CACHE_FILE"); then # export the variable settings in the cache file after replacing # the placeholders for the current variable values with said values # (the location of placeholders is based on the active personalitytype) export $(cat "$CACHE_FILE" | sed -e "s|\\\$KDEDIRS|$KDEDIRS|" \ -e "s|\\\$XDG_CONFIG_DIRS|$XDG_CONFIG_DIRS|" \ -e "s|\\\$XDG_DATA_DIRS|$XDG_DATA_DIRS|" \ -e "s|\\\$CHOICESPATH|$CHOICESPATH|" \ -e "s|\\\$GNUSTEP_PATHLIST|$GNUSTEP_PATHLIST|" \ -e "s|\\\$UDEdir|$UDEdir|" ); # UDEdir only holds 1 dir, so drop every dir except the first nonempty one export UDEdir=$(echo $UDEdir | sed 's|^:||' | cut --fields 1 --delimiter ":"); # else if we have any profile kinds we're interested in, then go # calculate the profile assignments elif (test "$ACTIVE_PROFILE_KINDS"x != "x"); then # add trap to ensure we don't leave any tempfiles behind trap general_trap HUP INT TERM; # get temp file GCONF_FILE=`tempfile`; # sort the profiles, whose requirements are met into: # - the appropriate environment variables # - $GCONF_FILE sort_profiles; # activate the profiles of the active kinds for KIND in $ACTIVE_PROFILE_KINDS; do # || true is to avoid hanging x-startup when trying a non-existing KIND # which can happen e.g. due to typo's in the config file. activate_$KIND || true; done; fi; # end dynamic profile assignment fi;# end !sheep fi; desktop-profiles-git/get_desktop-profiles_variables0000755000000000000000000000213512346127117020133 0ustar #!/bin/bash # # This script is used by desktop-profiles to solve the corner-case of starting X # programs over an ssh connection with non-bourne compatible bugs. It's not meant # to be executed directly. # # it writes the necessary environment variables in VARIABLE=VALUE format to a # file that can then be sourced by non-bourne-compatible shells. # # $1 = file to write environment variable settings to ############################################################################### # testing SSH_CLIENT as the woody ssh doesn't set SSH_CONNECTION # also testing SSH_CONNECTION as the current ssh manpage no longer mentions # SSH_CLIENT, so it appears that variable is being phased out. if ( ( (test -n "${SSH_CLIENT}") || (test -n "${SSH_CONNECTION}") ) && \ (test -n "${DISPLAY}") || true); then # get the variables . /etc/X11/Xsession.d/20desktop-profiles_activateDesktopProfiles; # write them to a file env | grep 'KDEDIRS\|XDG_CONFIG_DIRS\|XDG_DATA_DIRS\|CHOICESPATH\|UDEdir\|GNUSTEP_PATHLIST\|MANDATORY_PATH\|DEFAULTS_PATH' > "$1"; else # make sure the file is there touch "$1" fi; desktop-profiles-git/dh_installlisting0000755000000000000000000000555212346127117015473 0ustar #!/usr/bin/perl -w =head1 NAME dh_installlisting - install .listing files to be used by desktop-profiles package =cut use strict; use Debian::Debhelper::Dh_Lib; =head1 SYNOPSIS B [S>] [S>] =head1 DESCRIPTION dh_installlisting is a debhelper program that handles installing listing files used by the desktop-profiles package into the correct location in package builddirectories (NOTE: this command is provided by the desktop-profiles package, so don't forget to build-depends on it). It also updates the cache of profile assignments (when it exists) to reflect the added metadata. If a file named debian/package.listing exists (or debian/listing in case of the main package) it is installed in etc/desktop-profiles. In addition any files given as argument will be installed in etc/desktop-profiles as package_file.listing. The format of .listing files is described in L. A dependancy on desktop-profiles will be added to misc:Depends by using this script. =cut init(); foreach my $package (@{$dh{DOPACKAGES}}) { my $tmp=tmpdir($package); # Add the debian/listing (or debian/$package.listing) if present my $debDirListing=pkgfile($package,"listing"); my @listings=$debDirListing; my $containsGNUSTEP='false'; # Add further listing files given as arguments if present if (($package eq $dh{FIRSTPACKAGE} || $dh{PARAMS_ALL}) && @ARGV) { push @listings, @ARGV; } # if we have listings to install if ("@listings" ne '') { # make sure the directory we need exists if (! -d "$tmp/etc/desktop-profiles") { doit("install","-d","$tmp/etc/desktop-profiles"); } # install each listing file # (making sure not to double '.listing' nor the packagename) foreach my $file (@listings) { my $installName=basename($file); $installName=~s/(.*)\.listing$/$1/; if ( ("$installName" ne 'listing') && ("$installName" ne "$package") ){ $installName=~s/^/_/; doit("install","-p","-m644",$file,"$tmp/etc/desktop-profiles/$package$installName.listing"); } else { doit("install","-p","-m644",$file,"$tmp/etc/desktop-profiles/$package.listing"); } } # if we're not installing desktop-profiles itself, the autoscript isn't yet present if ( "$package" ne "desktop-profiles") { # Make sure the postinst regenerates runs /usr/bin/update-profile-cache # to ensure en up-to-date cache of profile assignments autoscript("$package","postinst","postinst-desktop-profiles"); } } # Add desktop-profiles to the dependencies if necesary if ($package ne 'desktop-profiles') { addsubstvar($package, "misc:Depends", "desktop-profiles (>= 1.4)"); } } =head1 SEE ALSO L L L =head1 AUTHOR Bart Cornelis (cobaco) =cut desktop-profiles-git/TODO0000644000000000000000000000021412346127117012510 0ustar - further improve performance (cache in non-simple case?) - build usefull (example) profiles and point to them in docu (for accessibility?) desktop-profiles-git/debian/0002755000000000000000000000000012650774404013254 5ustar desktop-profiles-git/debian/desktop-profiles.manpages0000644000000000000000000000016712346127117020260 0ustar desktop-profiles.7 list-desktop-profiles.1 update-profile-cache.1 dh_installlisting.1 profile-manager.1 path2listing.1 desktop-profiles-git/debian/dirs0000644000000000000000000000005712346127117014133 0ustar etc/X11/Xsession.d usr/share/lintian/overrides desktop-profiles-git/debian/rules0000755000000000000000000000010512346127117014321 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- %: dh $@ desktop-profiles-git/debian/postrm0000755000000000000000000000040212346127117014513 0ustar #!/bin/sh set -e if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge rm -rf /var/cache/desktop-profiles fi #DEBHELPER# desktop-profiles-git/debian/templates0000644000000000000000000000115112346127117015164 0ustar Template: desktop-profiles/replace-old-vars Type: note _Description: Global gconf path file needs to be changed! The include directives used by desktop-profiles have changed (in response to bug 309978, see the bug report and corresponding entry in the changelog of version 1.4.6 of this package for details). . To reenable gconf profiles you need to change /etc/gconf/2/path as follows:\n - 'include /var/cache/desktop-profiles/\$(USER)_mandatory.path' should be 'include \$(ENV_MANDATORY_PATH)' and\n - 'include /var/cache/desktop-profiles/\$(USER)_defaults.path' should be 'include \$(ENV_DEFAULTS_PATH)' desktop-profiles-git/debian/changelog0000644000000000000000000004150312650774342015130 0ustar desktop-profiles (1.4.22) unstable; urgency=medium * Fix permissions in added files when creating tests.tgz to make build reproducable. * Add new i18n-status target to list translation status. -- Petter Reinholdtsen Sat, 23 Jan 2016 23:04:06 +0100 desktop-profiles (1.4.21) unstable; urgency=medium * Make the build reproducable (Closes: #779602). * Change Standards-Version from 3.9.5 to 3.9.6. * Remove Alexander Alemayhu on his request. Thank you Alexander for all your contributions. -- Petter Reinholdtsen Fri, 22 Jan 2016 22:39:29 +0100 desktop-profiles (1.4.20) unstable; urgency=low * Correct Vcs control file links to new location. * Update lintian-overrides with new notation. -- Petter Reinholdtsen Thu, 21 Aug 2014 22:17:26 +0200 desktop-profiles (1.4.19) unstable; urgency=medium [ Alexander Alemayhu ] * debian/control: - Update Vcs-* control fields. - Update standards-version from 3.9.4 to 3.9.5. [ Petter Reinholdtsen ] * Add Alexander Alemayhu as uploader. -- Petter Reinholdtsen Wed, 11 Jun 2014 21:39:59 +0200 desktop-profiles (1.4.18) unstable; urgency=low * Rewrote build rules to use dh. -- Petter Reinholdtsen Sun, 18 Aug 2013 09:08:55 +0200 desktop-profiles (1.4.17) unstable; urgency=low * Update Standards-Version from 3.8.0.0 to 3.9.4. No changes needed. * Update to debhelper compat level 9 from 5. * Drop pessulus from suggests, as it no longer exist in Debian. -- Petter Reinholdtsen Sat, 17 Aug 2013 20:22:44 +0200 desktop-profiles (1.4.16) unstable; urgency=low [ Bart Cornelis (cobaco) ] * Added Japanese translation by "Hideki Yamane (Closes: #510725) * Don't forget to 'set -e' in config and postinst scripts, avoids lintian warning. [ Petter Reinholdtsen ] * Integrate non-maintainer uploads 1.4.15+nmu1 and 1.4.15+nmu2. * Drop kiosktool from suggests, as it no longer exist in Debian (Closes: #674593). Patch from Andrew Starr-Bochicchio. * Add missing postrm file, making sure to clean up generated files during purge (Closes: #527067). Patch from Phondanai Khanti. * Remove Bart Cornelis and Marco Presi as maintainers. Thank you very much for your great work. Add debian-edu@lists.debian.org as maintainer and myself as uploader. -- Petter Reinholdtsen Sat, 17 Aug 2013 15:01:50 +0200 desktop-profiles (1.4.15+nmu2) unstable; urgency=low * Non-maintainer upload. * Drop extra spaces at the end of the debconf templates file. * Fix pending l10n issues. Debconf translations: - Italian (Vincenzo Campanella). Closes: #560365 - Danish (Joe Hansen). Closes: #656654 - Polish (Michał Kułach). Closes: #666778 -- Christian Perrier Tue, 10 Apr 2012 07:36:05 +0200 desktop-profiles (1.4.15+nmu1) unstable; urgency=low * Non-maintainer upload. * Fix pending l10n issues. Debconf translations: - Japanese (Hideki Yamane (Debian-JP)). Closes: #510725 -- Christian Perrier Thu, 03 Dec 2009 22:13:43 +0100 desktop-profiles (1.4.15) unstable; urgency=low [ Guillem Jover ] * Translations: - Added Catalan translations by Guillem Jover. [ Bart Cornelis (cobaco) ] * Fix cronjob checking profile-cache so it doesn't complain if package is deinstalled (Closes: #435986) * Corrected links to documentation where necessary: - KDE docs are now on techbase wiki - location of freedesktop docs changed (though old links were redirected) - XFCE doc is on different server (though old link was redirected) * Comply with policy version 3.7.3: Change menu entry from Apps/System to Applications/System/Administration * Comply with policy version 3.8.0: No changes needed * Removed lintian overrides that are no longer necessary as of lintian 1.23.37 * Add Vcs-Svn and Vcs-Browser fields to debian/control * Use proposed machine-parsable format for debian/copyright (as documented on http://wiki.debian.org/Proposals/CopyrightFormat) * Added Russian translation by Yuri Kozlov (Closes: #454495) * Added Turkish translation by Mert Dirik (Closes: #486669) * Added Galician translation by Jacobo Tarrio (Closes: #486735) * Use correct capitalisation of Xfce [ Petter Reinholdtsen ] * Rewrite listingmodule to not call groups with a username as argument when looking up the current user, to avoid expencive NSS lookup with LDAP (Closes: #478950). -- Bart Cornelis (cobaco) Wed, 18 Jun 2008 12:10:42 +0200 desktop-profiles (1.4.14) unstable; urgency=low * Adapted lintian override for csh/tcsh login hook to reflect change in lintian 1.23.25 * Adapt documentation to reflect that management of gnome profiles is now supported out-of-the-box assuming goncf2 >=2.14.0-5 * Be more carefull with temporary files: - Add signal traps to ensure we don't leave tempfiles behind inadvertently if interrupted halfway through the Xsession.d script - don't create user path files if we don't add any gconf sources * Added observations about performance to README, and add zip with the performance test script and test data sets in /usr/share/doc * Added caching of profile-activation in the simple case where the resulting profile assignment is always the same (i.e when no group or command requirements are present in potentially active profiles). * desktop-profiles now has a personality setting that determines how it reacts to the environment variables controlling the active profiles already being set by some other agent. * Added German translation by Matthias Julius (Closes: #409643) -- Bart Cornelis (cobaco) Tue, 17 Apr 2007 23:39:23 +0200 desktop-profiles (1.4.13) unstable; urgency=low * fixed small bug in for_each_requirement function of listingmodule (triggered when a profile had multiple shell-commands as activation requirements) * Adapted man page to unclude reference to /usr/sbin/path2listing for gconf * Updated French translation by Jean-Luc Coulon (Closes: #387015) * Removed medium priority note pointing gconf users to the path2listing script, that info is now in the man-page and the README (Closes: #388884) -- Bart Cornelis (cobaco) Fri, 6 Oct 2006 21:47:06 +0200 desktop-profiles (1.4.12) unstable; urgency=low * Fixed typo in package description noticed by Simon Waters (Closes: #363232) * Add note about pessulus en sabayon tools (which help with creating gnome profiles) in README, and add suggest on pessulus. * example zlogin-snippet now runs the Xsession script directly (it needed the shwordsplit option to be set) * tcsh version 6.14.00-5 modularized the system-wide on-login file for csh and tcsh, so we now apply the 'ssh -X' fix automatically for these two shells. * Upgraded to policy version 3.7.2 (no changes needed) -- Bart Cornelis (cobaco) Fri, 12 May 2006 12:21:07 +0200 desktop-profiles (1.4.11) unstable; urgency=low * Added shell-specific fix for the 'ssh -X' bug for psh shell. * psh version 1.8-6 and zoidberg 0.96-1 modularized their system-wide on-login file, so we now apply the 'ssh -X' fix automatically for these two shells. * Set debhelper compatibility level to 5 -- Bart Cornelis (cobaco) Tue, 14 Mar 2006 18:38:59 +0100 desktop-profiles (1.4.10) unstable; urgency=low * Translations: - Added Brazilian Portuguese translation by Felipe Augusto van de Wiel (Closes: #348623) * Added shell-specific fixes for the 'ssh -X'-bug for for csh, tcsh, zsh, fish, and zoidberg shells, plus related note in README. -- Bart Cornelis (cobaco) Thu, 2 Feb 2006 18:10:23 +0100 desktop-profiles (1.4.9) unstable; urgency=low * Added note about profiles not being set on 'ssh -X' logins to README, also added shell-script-snippet to fix this for bourne-type shells in /usr/share/doc/desktop-profiles/examples (we don't have a /etc/profile.d so we can't add this automatically) * changed some `` expressions to $() instead, as appearently ksh doens't always accept the former for some reason * Added updated Vietnamese debconf translation * When GNUstep isn't installed don't output message about missing /usr/lib/GNUstep/System/Library/Makefiles/user_home on stderr. * When gconf isn't installed don't output message about missing /etc/gconf/*/path -- Bart Cornelis (cobaco) Sat, 7 Jan 2006 00:31:39 +0100 desktop-profiles (1.4.8) unstable; urgency=low * Removed declare bashism from path2listing and listingmodule scripts (Closes: #335605) * Translations: - Added Swedisch translation by Daniel Nylander (Closes: #333762) - Added Portuguese translation by Rui Branco - Added Spanish translation by César Gómez Martín (Closes: #336063) -- Bart Cornelis (cobaco) Mon, 14 Nov 2005 13:38:46 +0100 desktop-profiles (1.4.7) unstable; urgency=low * Added a conversion script (to be run manually by admin) that will: - generate the metadata needed to manage all currently used configuration sources (including those added by the admin) through the mechanism provided by this package - replace (unless you tell it not to) the global path file by one that assumes all configuration sources are managed through desktop-profiles - creates backup copies of everything it changes * Removed the hook that allowed changing the global path file from within the postinst maintainer script, instead we now just tell the admin that the global path file needs changing, and point him to the conversion script (Closes: 309871, 311113) * Updated kommander gui-script to work with kommander from kde 3.4.X * Change to debian-policy version 3.6.2 * Translations: - Added French translation by Jean-Luc Coulon (f5ibh) and the French translation team (Closes: 312437, 332719) - Added Vietnamese translation send in by Clytie Siddall, and corrected some spelling mistakes in the English strings that she noticed (Closes: 313510) - Added Czech tranlsation by Miroslav Kure (Closes: 315828) - Added Portuguese Translation by Miguel Figueiredo (Closes: 330380) - Added Basque translation by pi - Updated Dutch translation - Adapted creation of profile-manager.pot so that translators don't have to do unnecesary work -- Bart Cornelis (cobaco) Mon, 10 Oct 2005 23:02:20 +0200 desktop-profiles (1.4.6) unstable; urgency=high * Put generated path files into XDG_CACHE_HOME, and randomize file names to avoid succesfull attack, and put proposed path file into /usr/share/desktop-profiles as per policy 12.3. Thanks to Aaron M. Ucko for pointing these out (Closes: 309978) * Added extended note about replacing/changing default gconf path file in README file, also changed wording of debconf to be more informative about why this is necessary * Changed section to x11 (as per the override by ftp-masters) -- Bart Cornelis (cobaco) Sun, 29 May 2005 14:14:33 +0200 desktop-profiles (1.4.5) unstable; urgency=low * list-desktop-profiles now validates precedence filters equasions * Fixed layout of profile detail pane in gui-script so it resizes correctly to accomodate translated strings * Added Italian translation for GUI script from Marco Presi (aka zufus) * Improved Dutch translation -- Bart Cornelis (cobaco) Wed, 18 May 2005 19:05:53 +0200 desktop-profiles (1.4.4) unstable; urgency=low * Added lintian overrides file to eliminate spurious lintian warnings (Xsession.d scripts (see also bug #309203) and shell libraries are ment to be sourced not executed, hence the script-not-executable warning is wrong) * Adapted Xsession.d script so it doesn't do anything when the pacakge is removed (the Xsesion.d script is under /etc/, thus a conffile, and hence left on the system unless the package is purged), prevents X breakage after package removal, thanks to zufus @ debian . org for noticing. -- Bart Cornelis (cobaco) Mon, 16 May 2005 00:21:06 +0200 desktop-profiles (1.4.3) unstable; urgency=low * Add possibility to use fieldnumbers instead of name when specifying the sort field for list-desktop-profiles * Changed gui-script to use fieldnumbers instead of name (as the latter resulted in translated names being passed to list-desktop-profiles, which off course doesn't work) * Changed packaging to cope with translations of the gui script, and added Dutch translation (start with KDE_LANG=nl from commandline to get the Dutch version of the gui) * Played with layouts in the gui-script to make it better cope with the translated strings (still not perfect, so translators will want to check their translations in action) -- Bart Cornelis (cobaco) Thu, 12 May 2005 22:44:55 +0200 desktop-profiles (1.4.2) unstable; urgency=low * Added convenience script for starting the gui + man page for that * i18n the kommander script (l10n to follow) * Make lintian and linda run on the source package without errors (binary package was clean already) * Changed package description to give a clearer indication of who should be interested in this package -- Bart Cornelis (cobaco) Sun, 8 May 2005 20:32:29 +0200 desktop-profiles (1.4.1-1) unstable; urgency=low * Guillem Jover - Fixed typo and disambiguate path by quoting it in the English template. - Updated .po files. * Bart Cornelis - Updated Dutch translation - Updated documentation: + list-desktop-profiles man page still refered to old order of fields + desktop-profiles man page is partly rewritten to present things in a clearer way + README referred to no longer existing .deb package for kiosktool from the kalyxo team, now points to the ITP. + Put a pre precanned .listing file for debian-edu users online, and referred to it in the README + Document in README that profile-manager.kmdr script doesn't work with the KDE 3.4. kommander package, only with the 3.3 one. - Use correct fieldnumber for precedence when sorting (was still using the old field number in places) -- Bart Cornelis (cobaco) Mon, 2 May 2005 18:09:21 +0200 desktop-profiles (1.4-1) unstable; urgency=low * Format change in the .listing files: more particularely make profile KIND be the 2nd field instead of the 5th. As pointed out by Matthew McGuire this makes things more readable. Automatic conversion of old .listing files in /etc/desktop-profiles is provided. -- Bart Cornelis (cobaco) Thu, 3 Feb 2005 17:34:38 +0100 desktop-profiles (1.3-2) unstable; urgency=low * Documented in man page that profile name should be unique within each .listing file. -- Bart Cornelis (cobaco) Wed, 2 Feb 2005 10:33:33 +0100 desktop-profiles (1.3-1) unstable; urgency=low * Added support for setting up GNUSTEP domains through GNUSTEP_PATHLIST * Further optimalization of Xsession.d script * Some polishing of kommander GUI -- Bart Cornelis (cobaco) Tue, 18 Jan 2005 18:14:57 +0100 desktop-profiles (1.2-1) unstable; urgency=low * Added kommander GUI for managing the /etc/desktop-profiles/*.listing files * Added debhelper program for installing .listing files (and use it) * Make it possible to specify additional directories containg .listing files (usefull for testing) * Optimization in Xsession.d script: only test requirements once, instead of once for each profile kind. Provides major speedup since execution time is now mostly independ from the number of active profile kinds. -- Bart Cornelis (cobaco) Mon, 10 Jan 2005 16:43:50 +0100 desktop-profiles (1.1-2) unstable; urgency=low * Changed package description to something a bit better. -- Bart Cornelis (cobaco) Thu, 25 Nov 2004 23:04:48 +0100 desktop-profiles (1.1-1) unstable; urgency=low * Add script for listing profiles (that answer to certain criteria), so the admin doesn't need to search through all the .listing files himself * Allow admin to never activate profile kinds, disabling profiles you'll never use gives a small improvement for x-startup. -- Bart Cornelis (cobaco) Thu, 11 Nov 2004 22:39:14 +0100 desktop-profiles (1.0-2) unstable; urgency=low * GNOME doesn't always like it if user write source is in secondary include , so change it around -- Bart Cornelis (cobaco) Sat, 30 Oct 2004 01:09:02 +0200 desktop-profiles (1.0-1) unstable; urgency=low * Initial Release. -- Bart Cornelis (cobaco) Tue, 12 Oct 2004 20:42:38 +0200 desktop-profiles-git/debian/po/0002755000000000000000000000000012346127117013665 5ustar desktop-profiles-git/debian/po/eu.po0000644000000000000000000000646112346127117014643 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: desktop-profiles\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2005-10-03 10:34+0100\n" "Last-Translator: Piarres Beobide Egaa \n" "Language-Team: Basque\n" "Language: eu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "gconf bide orokor fitxategia aldatu egin ebhar da!" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "desktop-profiles-ek erabiltzen dituen araudiak aldatu egin dira (309978 " "arazo erreporteari so eginez. Xehetasun gehiagorako begiratu pakete honen " "1.4.6 bertsioaren changelog fitxategian arazo erreportea begiratu)" #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "Gconf profila berri zgaitzeko /etc/gconf/2/path fitxategi honekla aldatu " "behar duzu:\n" " - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' 'include " "\\$(ENV_MANDATORY_PATH)' izan behar da eta 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' 'include \\$(ENV_DEFAULTS_PATH)' izan " "behar da." #~ msgid "" #~ "Your current gconf (i.e. GNOME) setup doesn't facilitate the use of " #~ "configuration sources managed by desktop-profiles. The system wide path " #~ "file (/etc/gconf/2/path) needs to be changed to get such configuration " #~ "sources to work." #~ msgstr "" #~ "Erabiltzen ari zaren gconf (adib GNOME) konfigurazioak ez du desktop-" #~ "profiles erabiltzen dituen konfigurazio iturburuak errazten. Sistema bide " #~ "fitxategia (/etc/gconf/2/path) aldatu egin behar da konfigurazio honek " #~ "funtziona dezan." #~ msgid "" #~ "This package includes a conversion script (/usr/sbin/path2listing) that " #~ "will create the necessary changes to have all your configuration sources " #~ "managed by desktop-profiles. Running this script should not result in " #~ "user-visible changes to the system. See the README in /usr/share/doc/" #~ "desktop-profiles/ for more information on this script, or for info on " #~ "changing the path file manually." #~ msgstr "" #~ "Pakete honek desktop-profiles-ek zure konfigurazio iturburu guztiak kudea " #~ "ditzan behar dituen aldaketak egingo dituen eraldaketa script (/usr/sbin/" #~ "path2listing) bat dakar. Script hau abiarazteak ez ditu erabiltzaileak " #~ "ikusiko dituen aldaketarik egingo. Ikusi /usr/share/doc/desktop-profiles/ " #~ "direktorioa dagoen README fitxategia script honen edo bide fitxategia " #~ "eskuz aldatzearen argibide gehiagorako." desktop-profiles-git/debian/po/tr.po0000644000000000000000000000406712346127117014657 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Mert Dirik , 2008. # msgid "" msgstr "" "Project-Id-Version: $paket $surum\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2008-06-17 17:23+0200\n" "Last-Translator: Mert Dirik \n" "Language-Team: Debian L10n Turkish \n" "Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Poedit-Language: Turkish\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "Genel gconf yol dosyası değiştirilmeli!" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "desktop-profiles'ın kullandığı include yönergeleri 309978 numaralı hatayı " "gidermek için değiştirildi. Ayrıntılar için bu paketin 1.4.6 sürümünün " "değişiklik günlüğüne ve hata raporuna bakabilirsiniz." #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "gconf profillerini yeniden etkinleştirmek için /etc/gconf/2/path dosyasını " "aşağıdaki gibi değiştirmelisiniz:\\n - 'include /var/cache/desktop-profiles/" "\\$(USER)_mandatory.path' 'include \\$(ENV_MANDATORY_PATH)' olmalı; ve\\n - " "'include /var/cache/desktop-profiles/\\$(USER)_defaults.path' 'include \\" "$(ENV_DEFAULTS_PATH)' olmalı." desktop-profiles-git/debian/po/ca.po0000644000000000000000000000374212346127117014614 0ustar # Catalan debconf translation for desktop-profiles. # This file is distributed under the same license as the package. # # Guillem Jover , 2006. # msgid "" msgstr "" "Project-Id-Version: desktop-profiles\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2007-04-28 23:08+0300\n" "Last-Translator: Guillem Jover \n" "Language-Team: Catalan \n" "Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "Els fitxers de camins globals de gconf s'han de modificar!" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "Les directives «include» emprades per desktop-profiles han canviat (com a " "solució a l'informe d'error 309978, per a més detalls vegeu l'informe i les " "corresponents entrades al registre de canvis de la versió 1.4.6 d'aquest " "paquet." #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "Per a reactivar els perfils de gconf haureu de canviar «/etc/gconf/2/path» " "de la següent forma:\\n - «include /var/cache/desktop-profiles/\\$(USER)" "_mandatory.path» ha de ser «include \\$(ENV_MANDATORY_PATH)» i\\n - " "«include /var/cache/desktop-profiles/\\$(USER)_defaults.path» ha de ser " "«include \\$(ENV_DEFAULTS_PATH)»" desktop-profiles-git/debian/po/vi.po0000644000000000000000000001372712346127117014653 0ustar # Vietnamese translation for Desktop Profiles. # Copyright © 2005 Free Software Foundation, Inc. # Clytie Siddall , 2005. # msgid "" msgstr "" "Project-Id-Version: desktop-profiles\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2005-12-22 22:09+1030\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \n" "Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0\n" "X-Generator: LocFactoryEditor 1.5.1b\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "• Cần phải thay đổi tập tin đường dẫn gconf toàn cục. •" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "Những chỉ thị bao gồm mà desktop-profiles sử dụng đã thay đổi (để sửa Lỗi " "309978, xem thông báo lỗi và mục nhập liên quan trong bản ghi thay đổi của " "phiên bản 1.4.6 của gói này, để tìm chi tiết)." #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "Để bật lại chạy hồ sơ GConf, bạn cần phải thay đổi tập tin đường dẫn như theo đây:\n" " • 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' nên là " "'include \\$(ENV_MANDATORY_PATH)' và\n" " • 'include /var/cache/desktop-profiles/\\$(USER)_defaults.path' nên " "là'include \\$(ENV_DEFAULTS_PATH)'" #~ msgid "" #~ "Your current gconf (i.e. GNOME) setup doesn't facilitate the use of " #~ "configuration sources managed by desktop-profiles. The system wide path " #~ "file (/etc/gconf/2/path) needs to be changed to get such configuration " #~ "sources to work." #~ msgstr "" #~ "Thiết lập GConf (tức là Gnome) của bạn không làm dễ sử dụng nguồn cấu " #~ "hình nào desktop-profiles quản lý. Tập tin đường dẫn cho toàn hệ thống () cần phải được thay đổi để cho phép nguồn cấu hình như " #~ "vậy hoạt động." #~ msgid "" #~ "This package includes a conversion script (/usr/sbin/path2listing) that " #~ "will create the necessary changes to have all your configuration sources " #~ "managed by desktop-profiles. Running this script should not result in " #~ "user-visible changes to the system. See the README in /usr/share/doc/" #~ "desktop-profiles/ for more information on this script, or for info on " #~ "changing the path file manually." #~ msgstr "" #~ "Gói này bao gồm một tập lệnh chuyển đổi () sẽ tạo " #~ "các thay đổi cần thiết để cho phép trình desktop-profiles quản lý các " #~ "nguồn cấu hình của bạn. Việc chạy tập lệnh này không nên gây ra thay đổi " #~ "nào người dùng thấy được. Hãy xem tập tin Đọc Đi (README) trong < /usr/" #~ "share/doc/desktop-profiles/> để tìm thông tin thêm về tập lệnh này, hoặc " #~ "để tìm thông tin về cách tự thay đổi tập tin đường dẫn." #~ msgid "" #~ "Your current gconf (i.e. GNOME) setup doesn't facilitate the use of " #~ "configuration sources managed by desktop-profiles (either because you " #~ "haven't made the necessary changes yet, or because you had a version " #~ "previous to 1.4.6 of this package installed which used a different path-" #~ "file). In order to rectify this situation your global gconf 'path' file (/" #~ "etc/gconf//path) needs to be adapted, and the metadata " #~ "needed by desktop-profiles for your current configuration sources needs " #~ "to be available." #~ msgstr "" #~ "Thiết lập gconf (tức là GNOME) hiện thời của bạn không làm cho dễ dàng " #~ "dùng những nguồn cấu hình do trình desktop-profiles quản lý (hoặc vì bạn " #~ "chưa sửa đổi nó như cần thiết, hoặc vì bạn có cài đặt một phiên bản trước " #~ "1.4.6 mà dùng một tập tin đường dẫn khác). Để sửa trường hợp này, cần " #~ "phải sửa đổi tập tin «path» (đường dẫn) toàn cầu của bạn («/etc/gconf/" #~ "/path»), và bạn cần phải kiểm tra xem các thông tin về " #~ "thông tin thuộc về những nguồn cấu hình hiện thời của bạn có phải sẵn " #~ "sàng cho trình desktop-profiles." #~ msgid "" #~ "Running this script shouldn't create any user-visible differences, it " #~ "will allow you to manage all configuration sources through desktop-" #~ "profiles. The script will make backup copies of all files it touches, so " #~ "you can always go back to the previous situation." #~ msgstr "" #~ "Chạy tập lệnh này nên không tạo thay đổi nào mà người dùng có thể thấy. " #~ "Tuy nhiên, nó sẽ cho phép bạn quản lý các nguồn cấu hình thông qua trình " #~ "desktop-profiles. Tập lệnh này sẽ tạo bản sao của mọi tập tin mà nó xử " #~ "lý, thì bạn luôn có thể trở về trường hợp trước." #~ msgid "" #~ "If you want to do the conversion manually this is off course possible, " #~ "see /usr/share/doc/desktop-profiles/README for more information." #~ msgstr "" #~ "Hoặc bạn có thể tự chuyển đổi như thế. Hãy xem tập tin «/usr/share/doc/" #~ "desktop-profiles/README» để tìm thông tin thêm." desktop-profiles-git/debian/po/pl.po0000644000000000000000000000426412346127117014644 0ustar # Translation of desktop-profiles debconf templates to Polish. # Copyright (C) 2007 # This file is distributed under the same license as the desktop-profiles package. # # Michał Kułach , 2012. msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2012-04-01 20:54+0200\n" "Last-Translator: Michał Kułach \n" "Language-Team: Polish \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Lokalize 1.2\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "Globalne ścieżki pliku gconf wymagają zmiany!" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "Dołączone dyrektywy używane przez desktop-profiles uległy zmianie (w związku " "z błędem 309978, proszę zapoznać się ze zgłoszeniem błędu i odpowiadającym " "wpisem w dzienniku zmian wersji 1.4.6 tego pakietu, aby dowiedzieć się " "więcej)." #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "Aby ponownie włączyć profile gconf konieczna jest zmiana /etc/gconf/2/path " "jak poniżej:\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory." "path' powinno przyjąć postać 'include \\$(ENV_MANDATORY_PATH)', a \\n - " "'include /var/cache/desktop-profiles/\\$(USER)_defaults.path' powinno " "wyglądać następująco 'include \\$(ENV_DEFAULTS_PATH)'" desktop-profiles-git/debian/po/it.po0000644000000000000000000000422012346127117014635 0ustar # ITALIAN TRANSLATION OF DESKTOP-PROFILES' PO-DEBCONF FILE. # COPYRIGHT (C) 2009 THE DESKTOP-PROFILES' COPYRIGHT HOLDER # This file is distributed under the same license as the desktop-profiles package package. # # # Vincenzo Campanella , 2009. # msgid "" msgstr "" "Project-Id-Version: desktop-profiles\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2009-11-26 08:18+0100\n" "Last-Translator: Vincenzo Campanella \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "" "È necessario procedere alla modifica del percorso del file di configurazione " "globale." #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "Le direttive «include» utilizzate da desktop-profiles sono state modificate " "a seguito del bug no. 309978 (per maggiori informazioni si veda la notifica " "del bug e le voci corrispondenti nel registro delle modifiche della versione " "1.4.6 di questo pacchetto)." #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "Per riabilitare i profili gconf è necessario modificare il percorso di «/etc/" "gconf/2» come segue:\\n- «include /var/cache/desktop-profiles/\\$(USER)" "_mandatory.path» deve essere modificato in «include \\" "$(ENV_MANDATORY_PATH)» e\\n- «include /var/cache/desktop-profiles/\\$(USER)" "_defaults.path» deve essere modificato in «include \\$(ENV_DEFAULTS_PATH)»" desktop-profiles-git/debian/po/sv.po0000644000000000000000000001235112346127117014655 0ustar # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # Developers do not need to manually edit POT or PO files. # , fuzzy # # msgid "" msgstr "" "Project-Id-Version: desktop-profiles 1.4.5\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2005-10-14 16:51+0100\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "Den globala gconf-filen path behver ndras!" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "De inkluderade direktiven som anvnds av desktop-profiles har ndrats (som " "svar p bug 309978, se mer information i buggrapporten och liknande punkt i " "ndringsloggen fr version 1.4.6 av detta paket)." #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "Fr att teraktivera gconf-profiler behver du ndra /etc/gconf/2/path " "enligt fljande:\n" " - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' ska vara " "'include \\$(ENV_MANDATORY_PATH)' och\n" " - 'include /var/cache/desktop-profiles/\\$(USER)_defaults.path' ska vara " "'include \\$(ENV_DEFAULTS_PATH)'" #~ msgid "" #~ "Your current gconf (i.e. GNOME) setup doesn't facilitate the use of " #~ "configuration sources managed by desktop-profiles. The system wide path " #~ "file (/etc/gconf/2/path) needs to be changed to get such configuration " #~ "sources to work." #~ msgstr "" #~ "Din nuvarande gconf (allts GNOME) konfiguration har inte mjligheten fr " #~ "anvnda konfigurationskllor som hanteras av desktop-profiles. Den " #~ "systembreda filen path (/etc/gconf/2/path) behver ndras fr att f " #~ "konfigurationskllor att fungera." #~ msgid "" #~ "This package includes a conversion script (/usr/sbin/path2listing) that " #~ "will create the necessary changes to have all your configuration sources " #~ "managed by desktop-profiles. Running this script should not result in " #~ "user-visible changes to the system. See the README in /usr/share/doc/" #~ "desktop-profiles/ for more information on this script, or for info on " #~ "changing the path file manually." #~ msgstr "" #~ "Detta paket inkluderar ett konversionsskript (/usr/sbin/path2listing) som " #~ "kommer att skapa de ndvndiga ndringar fr att f alla dina " #~ "konfigurationskllor att hanteras av desktop-profiles. Att kra detta " #~ "skript ska inte resultera i ndringar av systemet som anvndaren ser. Se " #~ "README i /usr/share/doc/desktop-profiles/ fr mer information om detta " #~ "skript eller fr information om manuell ndring av filen path." #~ msgid "Replace the default system-wide 'path' file?" #~ msgstr "Byta ut standard systembreda 'path'-filen?" #~ msgid "" #~ "The default gconf (i.e. GNOME) setup doesn't facilitate the use of " #~ "profiles for certain groups only. The approach used by this package does. " #~ "To have gconf use the approach of this package the system-wide gconf " #~ "'path' file needs to be replaced by one provided by this package." #~ msgstr "" #~ "Standard gconf (allts GNOME) instllningen innehller inte anvndning av " #~ "profiler fr vissa grupper. Detta paket gr det. Fr att f gconf att " #~ "anvnda detta paket mste den systembreda gconf-filen 'path' bli utbytt " #~ "med en som kommer frn detta paket." #~ msgid "" #~ "Doing so won't change the default behaviour of gconf but it will allow " #~ "the subsequent installation and activation of gconf profiles. Thus it is " #~ "recommended that you let me replace the default system-wide gconf 'path' " #~ "file." #~ msgstr "" #~ "Att gra s ndrar inte standardbeteendet fr gconf men det kommer att ge " #~ "den efterfljande installation och aktivering av gconf-profiler. Drfr " #~ "r det rekommenderat att du lter mig byta ut standard systembreda gconf-" #~ "filen 'path'," #~ msgid "" #~ "You can always do this later by running `dpkg-reconfigure desktop-" #~ "profiles', or by manually replacing /etc/gconf//path with /" #~ "usr/share/doc/desktop-profiles/examples/path." #~ msgstr "" #~ "Du kan alltid gra detta senare genom att kra 'dpkg-reconfigure desktop-" #~ "profiles', eller manuellt byta ut /etc/gconf//path med /" #~ "usr/share/doc/desktop-profiles/examples/path." desktop-profiles-git/debian/po/gl.po0000644000000000000000000000373112346127117014631 0ustar # Galician translation of desktop-profiles's debconf templates # This file is distributed under the same license as the desktop-profiles package. # Jacobo Tarrio , 2008. # msgid "" msgstr "" "Project-Id-Version: desktop-profiles\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2008-06-17 22:34+0100\n" "Last-Translator: Jacobo Tarrio \n" "Language-Team: Galician \n" "Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "É necesario modificar o ficheiro de rutas globais de gconf" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "Cambiáronse as directivas \"include\" empregadas por desktop-profiles (en " "resposta ao erro 309978; consulte o informe de erro e a correspondente " "entrada no rexistro de cambios da versión 1.4.6 do paquete para máis " "detalles)." #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "Para volver activar os perfís de gconf ten que modificar /etc/gconf/2/path " "deste xeito:\\n - \"include /var/cache/desktop-profiles/\\$(USER)_mandatory." "path\" debe ser \"include \\$(ENV_MANDATORY_PATH)\" e\\n - \"include /var/" "cache/desktop-profiles/\\$(USER)_defaults.path\" debe ser \"include \\" "$(ENV_DEFAULTS_PATH)\"" desktop-profiles-git/debian/po/nl.po0000644000000000000000000002052112346127117014634 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: desktop-profiles\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2006-10-06 11:47+0100\n" "Last-Translator: Bart Cornelis \n" "Language-Team: debian-l10n-dutch \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-15\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: nl\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "Het systeemwijde gconf 'path'-bestand dient aangepast te worden!" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "De door dit pakket gebruikte include-ingangen zijn veranderd (in opvolging " "van bug #309978, zie het bugrapport, of de overeenkomstige ingang in het " "changelog van versie 1.4.6 van dit pakket voor meer informatie)." #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "Om gconf-profielen opnieuw te activeren dient u het bestand '/etc/gconf/2/" "path' als volgt te veranderen:\n" " 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' moet worden " "'include \\$(ENV_MANDATORY_PATH)' en\n" " 'include /var/cache/desktop-profiles/\\$(USER)_defaults.path' moet worden " "'include \\$(ENV_DEFAULTS_PATH)'" #~ msgid "" #~ "Your current gconf (i.e. GNOME) setup doesn't facilitate the use of " #~ "configuration sources managed by desktop-profiles. The system wide path " #~ "file (/etc/gconf/2/path) needs to be changed to get such configuration " #~ "sources to work." #~ msgstr "" #~ "Uw huidige gconf (i.e. GNOME) opzet ondersteund het gebruik van " #~ "configuratiebronnen die door desktop-profiles beheerd worden niet. Het " #~ "systeemwijde 'path'-bestand (/etc/gconf/2/path) dient aangepast te worden " #~ "om zo'n configuratiebronnen te ondersteunen." #~ msgid "" #~ "This package includes a conversion script (/usr/sbin/path2listing) that " #~ "will create the necessary changes to have all your configuration sources " #~ "managed by desktop-profiles. Running this script should not result in " #~ "user-visible changes to the system. See the README in /usr/share/doc/" #~ "desktop-profiles/ for more information on this script, or for info on " #~ "changing the path file manually." #~ msgstr "" #~ "Dit pakket bevat een conversie-script (/usr/sbin/path2listing) dat de " #~ "veranderingen nodig om alle uw configuratiebronnen via desktop-profiles " #~ "te beheren uitvoerd. Het uitvoeren van dit script heeft geen voor gewone " #~ "gebruikers zichtbare gevolgen. Zie het 'README'-bestand in de map /usr/" #~ "share/doc/desktop-profiles/ voor meer informatie over dit script, of " #~ "informatie over hoe het 'path'-bestand handmatig aan te passen." #~ msgid "" #~ "Your current gconf (i.e. GNOME) setup doesn't facilitate the use of " #~ "configuration sources managed by desktop-profiles (either because you " #~ "haven't made the necessary changes yet, or because you had a version " #~ "previous to 1.4.6 of this package installed which used a different path-" #~ "file). In order to rectify this situation your global gconf 'path' file (/" #~ "etc/gconf//path) needs to be adapted, and the metadata " #~ "needed by desktop-profiles for your current configuration sources needs " #~ "to be available." #~ msgstr "" #~ "Uw huidige gconf (en dus Gnome) instellingen ondersteunen geen door " #~ "desktop-profiles beheerde configuratiebronnen. (of omdat u de nodige " #~ "aanpassingen nog niet gedaan heeft; of omdat u een versie van dit pakket " #~ "eerder dan 1.4.6 geinstalleerd had, deze gebruikte een ander 'path'-" #~ "bestand). Om gebruik van door desktop-profiles beheerde " #~ "configuratiebronnen mogelijk te maken dient enerzijds uw systeemwijde " #~ "gconf 'path'-bestand aangepast te worden, en anderzijds de door desktop-" #~ "profiles benodigde metadata betreffende de door dit bestand gebruikte " #~ "configuratiebronnen beschikbaar gemaakt te worden." #~ msgid "" #~ "Running this script shouldn't create any user-visible differences, it " #~ "will allow you to manage all configuration sources through desktop-" #~ "profiles. The script will make backup copies of all files it touches, so " #~ "you can always go back to the previous situation." #~ msgstr "" #~ "Het uitvoeren van dit script geeft geen voor gebruikers zichtbare " #~ "veranderingen, maar laat u toe om alle configuratiebronnen te beheren via " #~ "desktop-profiles. Dit script maakt een reservekopie van alle bestanden " #~ "waar het veranderingen in aanbrengt, u kunt dus altijd terug naar de " #~ "vorige situatie." #~ msgid "" #~ "If you want to do the conversion manually this is off course possible, " #~ "see /usr/share/doc/desktop-profiles/README for more information." #~ msgstr "" #~ "Deze conversie handmatig uitvoeren is natuurlijk ook mogelijk, zie /usr/" #~ "share/doc/desktop-profiles/README voor meer informatie." #~ msgid "gconf profiles won't work by default" #~ msgstr "gconf-profielen werken standaard niet" #~ msgid "" #~ "The default gconf (i.e. GNOME) setup doesn't facilitate the use of " #~ "profiles for certain groups only. This package provides an alternative " #~ "way to manage gconf configuration sources that does. In order to activate " #~ "this alternative way of managing your configuration sources the system-" #~ "wide gconf 'path' file (/etc/gconf//path) needs to be " #~ "adapted." #~ msgstr "" #~ "De standaard manier waarmee gconf (en dus GNOME) configuratiebronnen " #~ "beheert biedt geen ondersteunen voor het conditioneel activeren van " #~ "bronnen. Dit pakket voorziet een alternatieve aanpak die dit wel " #~ "ondersteund. Om ervoor te zorgen dat gconf de aanpak van dit pakket " #~ "gebruikt dient het systeemwijde 'path'-bestand (/etc/gconf./path) aangepast te worden." #~ msgid "Replace the default system-wide 'path' file?" #~ msgstr "Systeemwijd 'path'-bestand vervangen?" #~ msgid "" #~ "This package includes an replacement system-wide gconf 'path' file that " #~ "will reproduce the default behaviour of gconf, but will also allow the " #~ "subsequent installation and activation of gconf configuration sources " #~ "through desktop-profiles. It is recommended that you let me replace the " #~ "default system-wide gconf 'path' file." #~ msgstr "" #~ "Dit pakket bevat een voorgestelde vervanging voor het systeemwijde 'path'-" #~ "bestand, dat het standaardgedrag van gconf behoud, en bijkomend de " #~ "installatie van extra configuratiebronnen via desktop-profiles toelaat. U " #~ "wordt aangeraden om het standaard systeem-wijde gconf 'path'-bestand te " #~ "vervangen." #~ msgid "" #~ "If you choose not to replace the default gconf 'path' file at this point, " #~ "you can always do this later by running `dpkg-reconfigure desktop-" #~ "profiles', or by manually replacing /etc/gconf//path with /" #~ "usr/share/desktop-profiles/path, or another 'path' file as described in /" #~ "usr/share/doc/desktop-profiles/README." #~ msgstr "" #~ "Als u ervoor kiest om het standaard gconf 'path'-bestand nu niet te " #~ "vervangen, kunt u dit altijd later doen via het commando 'desktop-" #~ "reconfigure desktop-profiles', of door handmatig /etc/gconf/path te vervangen door /usr/share/desktop-profiles/path, of een " #~ "ander 'path'-bestand zoals beschreven in /usr/share/doc/desktop-profiles/" #~ "README" desktop-profiles-git/debian/po/pt_BR.po0000644000000000000000000000700012346127117015226 0ustar # translation of desktop-profiles. # Copyright (C) 2006 THE desktop-profiles'S COPYRIGHT HOLDER # This file is distributed under the same license as the desktop-profiles # package. # Felipe Augusto van de Wiel (faw) , 2006. # # msgid "" msgstr "" "Project-Id-Version: desktop-profiles VERSION\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2006-01-18 09:19+0100\n" "Last-Translator: Felipe Augusto van de Wiel (faw) \n" "Language-Team: l10n portuguese \n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "O arquivo path global do gconf precisa ser modificado!" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "As diretivas \"include\" usadas pelo desktop-profiles foram modificadas (em " "resposta ao bug 309978), veja o relatório de bug e a entrada correspondente " "no changelog da versão 1.4.6 deste pacote para detalhes)." #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "Para reabilitar os perfis do gconf você precisa mudar /etc/gconf/2/path como " "segue: - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' deve " "ser 'include \\$(ENV_MANDATORY_PATH)' - e 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' deveria ser 'include \\" "$(ENV_DEFAULTS_PATH)'" #~ msgid "" #~ "Your current gconf (i.e. GNOME) setup doesn't facilitate the use of " #~ "configuration sources managed by desktop-profiles. The system wide path " #~ "file (/etc/gconf/2/path) needs to be changed to get such configuration " #~ "sources to work." #~ msgstr "" #~ "A sua configuração atual do gconf (i.e. GNOME) não facilita o uso de " #~ "fontes de configuração gerenciadas pelo desktop-profiles. O arquivo path " #~ "para o sistema como um todo (/etc/gconf/2/path) precisa ser modificado " #~ "para que as fontes de configuração funcionem." #~ msgid "" #~ "This package includes a conversion script (/usr/sbin/path2listing) that " #~ "will create the necessary changes to have all your configuration sources " #~ "managed by desktop-profiles. Running this script should not result in " #~ "user-visible changes to the system. See the README in /usr/share/doc/" #~ "desktop-profiles/ for more information on this script, or for info on " #~ "changing the path file manually." #~ msgstr "" #~ "Esse pacote inclui um script de conversão (/usr/sbin/path2listing) que " #~ "criará as modificações necessárias para ter todas as suas fontes de " #~ "configuração gerenciadas pelo desktop-profiles. Executar este script não " #~ "deve resultar em mudanças no sistema visíveis ao usuário. Veja o README " #~ "em /usr/share/doc/desktop-profiles/ para mais informações sobre este " #~ "script, ou para informações sobre a mudança manual do arquivo path." desktop-profiles-git/debian/po/templates.pot0000644000000000000000000000320412346127117016404 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" desktop-profiles-git/debian/po/POTFILES.in0000644000000000000000000000004412346127117015436 0ustar [type: gettext/rfc822deb] templates desktop-profiles-git/debian/po/fr.po0000644000000000000000000000770212346127117014640 0ustar # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # Developers do not need to manually edit POT or PO files # Jean-Luc Coulon (f5ibh) , 2005. # # msgid "" msgstr "" "Project-Id-Version: desktop-profiles\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2006-09-11 13:38+0200\n" "Last-Translator: Jean-Luc Coulon (f5ibh) \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "Fichier path de gconf modifi pour l'ensemble du systme" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "Les directives include utilises par desktop-profiles ont chang en " "rponse au bogue 309978, pour davantage d'informations, veuillez consulter " "le rapport de bogue et l'entre correspondante du fichier changelog pour la " "version 1.4.6 de ce paquet." #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "Pour ractiver les profils de gconf, vous devrez modifier /etc/gconf/2/path " "de la manire suivante:\n" " - include /var/cache/desktop-profiles/\\$(USER)_mandatory.path doit " "tre remplac par include \\($ENV_MANDATORY_PATH);\n" " - include /var/cache/desktop-profiles/\\$(USER)_default.path doit tre " "remplac par include \\$(ENV_DEFAULTS_PATH)." #~ msgid "" #~ "Your current gconf (i.e. GNOME) setup doesn't facilitate the use of " #~ "configuration sources managed by desktop-profiles. The system wide path " #~ "file (/etc/gconf/2/path) needs to be changed to get such configuration " #~ "sources to work." #~ msgstr "" #~ "Votre configuration actuelle de gconf (par exemple celle de GNOME) rend " #~ "difficile l'utilisation de sources de configuration gres par desktop-" #~ "profiles. Le fichier path utilis pour l'ensemble du systme (/etc/" #~ "gconf/2/path) doit tre ajust afin de permettre le fonctionnement de " #~ "telles sources de configuration." #~ msgid "" #~ "This package includes a conversion script (/usr/sbin/path2listing) that " #~ "will create the necessary changes to have all your configuration sources " #~ "managed by desktop-profiles. Running this script should not result in " #~ "user-visible changes to the system. See the README in /usr/share/doc/" #~ "desktop-profiles/ for more information on this script, or for info on " #~ "changing the path file manually." #~ msgstr "" #~ "Ce paquet comporte un script de conversion (/usr/bin/path2listing) qui va " #~ "effectuer les modifications ncessaires pour que toutes vos sources de " #~ "configuration soient gres par desktop-profiles. L'excution de ce " #~ "script ne devrait pas provoquer de modifications du systme visibles de " #~ "l'utilisateur. Veuillez consulter le fichier README dans /usr/share/doc/" #~ "desktop-profiles/ pour davantage d'informations concernant ce script, ou " #~ "sur la manire de modifier vous-mme le fichier path." desktop-profiles-git/debian/po/da.po0000644000000000000000000000373612346127117014620 0ustar # Danish translation desktop-profiles. # Copyright (C) 2012 desktop-profiles & nedenstående oversættere. # This file is distributed under the same license as the desktop-profiles package. # Joe Hansen , 2012. # msgid "" msgstr "" "Project-Id-Version: desktop-profiles\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2012-01-20 17:30+01:00\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "Global gconf-stifil skal ændres!" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "Include-direktiverne brugt af desktop-profiles har ændret sig (som svar på " "fejl 309978, se fejlrapporten og den tilsvarende post i ændringsloggen for " "version 1.4.6 for denne pakke for detaljer)." #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "For at genaktivere gconf-profiler skal du ændre /etc/gconf/2/path som vist i " "det følgende:\\n - »include /var/cache/desktop-profiles/\\$(USER)_mandatory." "path« skal være »include \\$(ENV_MANDATORY_PATH)« og\\n - »include /var/" "cache/desktop-profiles/\\$(USER)_defaults.path« skal være »include \\" "$(ENV_DEFAULTS_PATH)«" desktop-profiles-git/debian/po/de.po0000644000000000000000000000410612346127117014614 0ustar # translation of po-debconf template to German # Copyright (C) 2007, Matthias Julius # This file is distributed under the same license as the desktop-profiles package. # # Matthias Julius , 2007. msgid "" msgstr "" "Project-Id-Version: desktop-profiles 1.4.13\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2007-02-04 09:31-0500\n" "Last-Translator: Matthias Julius \n" "Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "Globale Gconf-Pfad-Datei muss geändert werden!" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "Die include-Direktiven, die von desktop-profiles verwendet werden, haben " "sich geändert (in Reaktion auf Fehler 309978, siehe Fehlerbericht und den " "korrespondierenden Eintrag im Changelog von Version 1.4.6 dieses Paketes zu " "Einzelheiten)." #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "Um die Gconf-Profile zu reaktivieren, müssen Sie die Datei /etc/gconf/2/path " "wie folgt ändern:\n" " - »include /var/cache/desktop-profiles/\\$(USER)_mandatory.path« sollte\n" " »include \\$(ENV_MANDATORY_PATH)« lauten, und\n" " - »include /var/cache/desktop-profiles/\\$(USER)_defaults.path« sollte\n" " »include \\$(ENV_DEFAULTS_PATH)« lauten" desktop-profiles-git/debian/po/ja.po0000644000000000000000000000420512346127117014616 0ustar # Copyright (C) 2008 Bart Cornelis (cobaco) # This file is distributed under the same license as the desktop-profiles package. # Hideki Yamane (Debian-JP) , 2008. # msgid "" msgstr "" "Project-Id-Version: desktop-profiles 1.4.15\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2008-12-28 22:26+0900\n" "Last-Translator: Hideki Yamane (Debian-JP) \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "システム全体での gconf のパスファイルを変更する必要があります!" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "desktop-profiles で使われている include ディレクティブが変更されました (bug " "309978 への対応のため。詳細については、このパッケージのバージョン 1.4.6 での" "対応する changelog エントリを参照してください)。" #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "gconf プロファイルを再度有効にするには /etc/gconf/2/path を以下の様に変更する" "必要があります:\\n - 'include /var/cache/desktop-profiles/\\$(USER)" "_mandatory.path' を 'include \\$(ENV_MANDATORY_PATH)' に変更、そして\\n - " "'include /var/cache/desktop-profiles/\\$(USER)_defaults.path' は 'include \\" "$(ENV_DEFAULTS_PATH)' に変更" desktop-profiles-git/debian/po/pt.po0000644000000000000000000001236612346127117014656 0ustar # Portuguese translation of desktop-profiles's debconf messages. # 2005, Rui Branco > # # 2005-10-05 - Rui Branco # msgid "" msgstr "" "Project-Id-Version: desktop-profiles 1.4.5\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2005-10-05 12:54+0100\n" "Last-Translator: Rui Branco \n" "Language-Team: Portuguese \n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "O caminho global do ficheiro gconf precisa de ser alterado!" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "As directivas incluídas e utilizadas pelo desktop-profiles foram modificadas " "(em resposta ao bug 309978, para mais detalhes veja o relatório do bug e a " "entrada correspondente no relatório de alterações (changelog) da versão " "1.4.6 deste pacote)." #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "Para re-activar os perfis (profiles) do gconf necessita modificar o " "ficheiro /etc/gconf/2/path do seguinte modo:\n" " - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' deverá ser " "'include \\$(ENV_MANDATORY_PATH)' - e 'include /var/cache/desktop-profiles/\\" "$(USER)_defaults.path' deverá ser 'include \\$(ENV_DEFAULTS_PATH)'" #~ msgid "" #~ "Your current gconf (i.e. GNOME) setup doesn't facilitate the use of " #~ "configuration sources managed by desktop-profiles. The system wide path " #~ "file (/etc/gconf/2/path) needs to be changed to get such configuration " #~ "sources to work." #~ msgstr "" #~ "A sua configuração actual do gconf (p.e. GNOME) não lhe facilita o uso de " #~ "fontes de configuração geridas pelo desktop-profiles. O ficheiro de " #~ "sistema de âmbito geral (/etc/gconf/2/path) necessita de ser modificado " #~ "para que funcionem as ditas fontes de configuração." #~ msgid "" #~ "This package includes a conversion script (/usr/sbin/path2listing) that " #~ "will create the necessary changes to have all your configuration sources " #~ "managed by desktop-profiles. Running this script should not result in " #~ "user-visible changes to the system. See the README in /usr/share/doc/" #~ "desktop-profiles/ for more information on this script, or for info on " #~ "changing the path file manually." #~ msgstr "" #~ "Este pacote inclui um script de conversão (/usr/sbin/path2listing) que " #~ "criará as modificações necessárias para que as suas fontes de " #~ "configuração sejam geridas pelo desktop-profiles. A execução deste " #~ "'script' não resultará em alterações do sistema visíveis ao utilizador. " #~ "Para mais informações acerca deste script, ou para informações sobre como " #~ "alterar manualmente o caminho do ficheiro veja o ficheiro README em /usr/" #~ "share/doc/desktop-profiles/." #~ msgid "Replace the default system-wide 'path' file?" #~ msgstr "Substituir o 'caminho' do ficheiro por omissão para todo o sistema?" #~ msgid "" #~ "The default gconf (i.e. GNOME) setup doesn't facilitate the use of " #~ "profiles for certain groups only. The approach used by this package does. " #~ "To have gconf use the approach of this package the system-wide gconf " #~ "'path' file needs to be replaced by one provided by this package." #~ msgstr "" #~ "O modo de configurar por omissão do gconf (p.e. GNOME) não facilita o uso " #~ "para apenas certos grupos. A aproximação utilizada por este pacote " #~ "permite-lhe. Para o gconf ter este modo de funcionamento, o caminho de " #~ "ficheiro gconf para todo o sistema precisa de ser substituído poe este " #~ "pacote." #~ msgid "" #~ "Doing so won't change the default behaviour of gconf but it will allow " #~ "the subsequent installation and activation of gconf profiles. Thus it is " #~ "recommended that you let me replace the default system-wide gconf 'path' " #~ "file." #~ msgstr "" #~ "Ao efectuar esta operação não irá modificar o comportamento por omissão " #~ "do gconf, mas irá permitir a futura instalação e activação de perfis de " #~ "utilizador. Assim é recomendado que me permita modificar 'caminho' do " #~ "ficheiro gconf por omissão para todo o sistema." #~ msgid "" #~ "You can always do this later by running `dpkg-reconfigure desktop-" #~ "profiles', or by manually replacing /etc/gconf//path with /" #~ "usr/share/doc/desktop-profiles/examples/path." #~ msgstr "" #~ "Pode sempre efectuar a operação posteriormente ao correr `dpkg-" #~ "reconfigure desktop-profiles', ou manualmente substituíndo /etc/gconf/" #~ "/caminho com /usr/share/doc/desktop-profiles/examples/" #~ "caminho." desktop-profiles-git/debian/po/ru.po0000644000000000000000000000443612346127117014660 0ustar # translation of ru.po to Russian # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Yuri Kozlov , 2007. msgid "" msgstr "" "Project-Id-Version: 1.4.14\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2007-12-05 21:25+0300\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "Требуется изменить глобальный файл путей gconf!" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "Директивы include, используемые desktop-profiles, были изменены (как " "следствие ошибки 309978; детали смотрите в сообщении об ошибке и " "соответствующей записи в changelog версии 1.4.6 этого пакета)." #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "Чтобы реактивировать профили gconf вам нужно изменить /etc/gconf/2/path так:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' " "заменить на 'include \\$(ENV_MANDATORY_PATH)' и\\n - 'include /var/cache/" "desktop-profiles/\\$(USER)_defaults.path' заменить на \\$(ENV_DEFAULTS_PATH)'" desktop-profiles-git/debian/po/es.po0000644000000000000000000001057412346127117014641 0ustar # desktop-profiles po-debconf translation to Spanish # Copyright (C) 2005 Software in the Public Interest # This file is distributed under the same license as the desktop-profiles package. # # Changes: # - Initial translation # César Gómez Martín # # Traductores, si no conoce el formato PO, merece la pena leer la # documentación de gettext, especialmente las secciones dedicadas a este # formato, por ejemplo ejecutando: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # Equipo de traducción al español, por favor, lean antes de traducir # los siguientes documentos: # # - El proyecto de traducción de Debian al español # http://www.debian.org/intl/spanish/ # especialmente las notas de traducción en # http://www.debian.org/intl/spanish/notas # # - La guía de traducción de po's de debconf: # /usr/share/doc/po-debconf/README-trans # o http://www.debian.org/intl/l10n/po-debconf/README-trans # msgid "" msgstr "" "Project-Id-Version: desktop-profiles\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2005-10-31 17:00+0100\n" "Last-Translator: César Gómez Martín \n" "Language-Team: Debian l10n spanish \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Spanish\n" "X-Poedit-Country: SPAIN\n" "X-Poedit-SourceCharset: utf-8\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "¡Es necesario cambiar el fichero global de rutas de gconf!" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "Las directivas de inclusión utilizadas por desktop-profiles han cambiado (en " "respuesta al fallo 309978, si desea más detalles consulte el informe del " "fallo y la entrada correspondiente en ell registro de cambios de la versión " "1.4.6 de este paquete)." #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "Para reactivar los perfiles gconf necesita cambiar /etc/gconf/2/path de la " "siguiente manera:\n" " - «include /var/cache/desktop-profiles/\\$(USER)_mandatory.path» debe ser " "«include \\$(ENV_MANDATORY_PATH)» y\n" " - «include /var/cache/desktop-profiles/\\$(USER)_defaults.path» debe ser " "«include \\$(ENV_DEFAULTS_PATH)»" #~ msgid "" #~ "Your current gconf (i.e. GNOME) setup doesn't facilitate the use of " #~ "configuration sources managed by desktop-profiles. The system wide path " #~ "file (/etc/gconf/2/path) needs to be changed to get such configuration " #~ "sources to work." #~ msgstr "" #~ "La instalación actual de gconf (i.e. GNOME) no facilita el uso de fuentes " #~ "de configuración gestionadas por desktop-profiles. Para que esas fuentes " #~ "de configuración funcionen, se necesita cambiar el fichero de rutas de " #~ "sistema (/etc/gconf/2/path)." #~ msgid "" #~ "This package includes a conversion script (/usr/sbin/path2listing) that " #~ "will create the necessary changes to have all your configuration sources " #~ "managed by desktop-profiles. Running this script should not result in " #~ "user-visible changes to the system. See the README in /usr/share/doc/" #~ "desktop-profiles/ for more information on this script, or for info on " #~ "changing the path file manually." #~ msgstr "" #~ "Este paquete incluye un script de conversión (/usr/sbin/path2listing) que " #~ "creará los cambios necesarios para que desktop-profiles gestione todos " #~ "sus fuentes de configuración. La ejecución de este script no hará cambios " #~ "al sistema que sean visibles para el usuario. Si desea más información " #~ "sobre este script o sobre cómo cambiar el fichero de rutas manualmente " #~ "lea el fichero README que se encuentra en el directorio /usr/share/doc/" #~ "desktop-profiles/." desktop-profiles-git/debian/po/cs.po0000644000000000000000000001223312346127117014631 0ustar # # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: desktop-profiles\n" "Report-Msgid-Bugs-To: cobaco@linux.be\n" "POT-Creation-Date: 2007-02-05 12:40+0100\n" "PO-Revision-Date: 2005-10-02 17:25+0200\n" "Last-Translator: Miroslav Kure \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: note #. Description #: ../templates:1001 msgid "Global gconf path file needs to be changed!" msgstr "Globální gconf soubor 'path' je třeba upravit!" #. Type: note #. Description #: ../templates:1001 msgid "" "The include directives used by desktop-profiles have changed (in response to " "bug 309978, see the bug report and corresponding entry in the changelog of " "version 1.4.6 of this package for details)." msgstr "" "Direktivy include používané desktop-profiles bylo nutno v reakci na chybu " "309978 změnit. Podrobnosti o změně naleznete ve zmíněné chybě a v souboru " "změn pro verzi 1.4.6." #. Type: note #. Description #: ../templates:1001 msgid "" "To reenable gconf profiles you need to change /etc/gconf/2/path as follows:" "\\n - 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' should " "be 'include \\$(ENV_MANDATORY_PATH)' and\\n - 'include /var/cache/desktop-" "profiles/\\$(USER)_defaults.path' should be 'include \\$(ENV_DEFAULTS_PATH)'" msgstr "" "Pro znovupovolení gconf profilů musíte upravit soubor /etc/gconf/2/path:\n" "- místo 'include /var/cache/desktop-profiles/\\$(USER)_mandatory.path' by " "mělo být 'include \\$(ENV_MANDATORY_PATH)'\n" "- a 'include /var/cache/desktop-profiles/\\$(USER)_defaults.path' je nutno " "nahradit za 'include \\$(ENV_DEFAULTS_PATH)'" #~ msgid "" #~ "Your current gconf (i.e. GNOME) setup doesn't facilitate the use of " #~ "configuration sources managed by desktop-profiles. The system wide path " #~ "file (/etc/gconf/2/path) needs to be changed to get such configuration " #~ "sources to work." #~ msgstr "" #~ "Vaše stávající nastavení gconfu (tj. GNOME) nevyužívá konfiguraci " #~ "spravovanou pomocí desktop-profiles. Aby vše fungovalo očekávaným " #~ "způsobem, musíte upravit celosystémový soubor path (/etc/gconf/2/path)." #~ msgid "" #~ "This package includes a conversion script (/usr/sbin/path2listing) that " #~ "will create the necessary changes to have all your configuration sources " #~ "managed by desktop-profiles. Running this script should not result in " #~ "user-visible changes to the system. See the README in /usr/share/doc/" #~ "desktop-profiles/ for more information on this script, or for info on " #~ "changing the path file manually." #~ msgstr "" #~ "Tento balíček obsahuje konverzní skript (/usr/sbin/path2listing), který " #~ "se postará o nezbytné změny, aby byly všechny vaše konfigurační soubory " #~ "spravovány pomocí desktop-profiles. Spuštění skriptu by nemělo způsobit " #~ "uživatelsky viditelné změny. Více informací o skriptu nebo o ruční změně " #~ "souboru path naleznete v souboru /usr/share/doc/desktop-profiles/README." #~ msgid "Replace the default system-wide 'path' file?" #~ msgstr "Nahradit systémový soubor 'path'?" #~ msgid "" #~ "The default gconf (i.e. GNOME) setup doesn't facilitate the use of " #~ "profiles for certain groups only. The approach used by this package does. " #~ "To have gconf use the approach of this package the system-wide gconf " #~ "'path' file needs to be replaced by one provided by this package." #~ msgstr "" #~ "Výchozí nastavení gconfu (t.j. GNOME) nevyužívá možnosti mít profily " #~ "pouze pro určité skupiny. Tento balíček ano. Aby gconf používal stejný " #~ "přístup jako tento balíček, musí se nahradit systémový gconf soubor " #~ "'path' verzí z tohoto balíku." #~ msgid "" #~ "Doing so won't change the default behaviour of gconf but it will allow " #~ "the subsequent installation and activation of gconf profiles. Thus it is " #~ "recommended that you let me replace the default system-wide gconf 'path' " #~ "file." #~ msgstr "" #~ "Tím se nezmění výchozí chování gconfu, ale umožní následnou instalaci a " #~ "konfiguraci gconf profilů. Proto doporučujeme systémový gconf soubor " #~ "'path' nahradit." #~ msgid "" #~ "You can always do this later by running `dpkg-reconfigure desktop-" #~ "profiles', or by manually replacing /etc/gconf//path with /" #~ "usr/share/doc/desktop-profiles/examples/path." #~ msgstr "" #~ "To můžete učinit kdykoliv později příkazem `dpkg-reconfigure desktop-" #~ "profiles', nebo ručním nahrazením /etc/gconf//path " #~ "souborem /usr/share/doc/desktop-profiles/examples/path." desktop-profiles-git/debian/compat0000644000000000000000000000000212346127117014443 0ustar 9 desktop-profiles-git/debian/desktop-profiles.install0000644000000000000000000000124412346127117020130 0ustar dh_installlisting update-profile-cache profile-manager usr/bin listingmodule get_desktop-profiles_variables path usr/share/desktop-profiles/ postinst-desktop-profiles usr/share/debhelper/autoscripts/ profile-snippet zlogin-snippet usr/share/doc/desktop-profiles/examples tests.tgz usr/share/doc/desktop-profiles list-desktop-profiles usr/bin/ profile-manager.kmdr usr/share/desktop-profiles/kommander-scripts/ desktop-profiles etc/default desktop-profiles.csh etc/csh/login.d/ desktop-profiles.fish etc/fish.d/ desktop-profiles_pshrc.pl etc/pshrc.d/ desktop-profiles_zoidrc.pl etc/zoidrc.d/ 20desktop-profiles_activateDesktopProfiles etc/X11/Xsession.d/ path2listing usr/sbin desktop-profiles-git/debian/listing0000644000000000000000000000276312346127117014651 0ustar # This files specifies details the default system-wide settings, main use of # profiles in here is to be able to use the default system settings as a # fallback for anything that isn't defined in activated profiles. # # See the desktop-profiles (7) man page for info about the format of this file kde-prefix;KDE;/usr;;;System-wide kde stuff on Debian (stuff in PREFIX) default-xdg_config_dirs;XDG_CONFIG;/etc/xdg;;;Default value as defined by XDG Base Directory Specification default-xdg_data_dirs;XDG_DATA;/usr/local/share /usr/share;;;Default value as defined by XDG Base Directory Specification default-rox-system;ROX;/usr/local/share/Choices:/usr/share/rox/Choices;;;ROX system settings (on Debian, differs from upstream) default-rox-user;ROX;${HOME}/.rox_choices;999999999999999999;;ROX user settings (on Debian, differs from upstream) - should take precedence over everything else ude-install-dir;UDE;/usr/share/ude;;;Default location of system-wide UDE stuff gnustep-user-domain;GNUSTEP;${GNUSTEP_USER_ROOT};30;;Default location of user domain, evaluates to ~/GNUstep by default gnustep-local-domain;GNUSTEP;${GNUSTEP_LOCAL_ROOT};20;;Default location of local domain, evaluates to /usr/local/lib/GNUstep/Local by default gnustep-network-domain;GNUSTEP;${GNUSTEP_NETWORK_ROOT};10;;Default location of network domain, evaluates to /usr/local/lib/GNUstep/Network by default gnustep-system-domain;GNUSTEP;${GNUSTEP_SYSTEM_ROOT};0;;Default location of system domain, evaluates to /usr/lib/GNUstep/System by default desktop-profiles-git/debian/desktop-profiles.lintian-overrides0000644000000000000000000000026512375451665022134 0ustar # shell library, only sourced (executing doesn't make any sense, as it wouldn't do anything) desktop-profiles binary: script-not-executable usr/share/desktop-profiles/listingmodule desktop-profiles-git/debian/cron.daily0000644000000000000000000000031712346127117015233 0ustar #!/bin/sh # cron-jobs remain behind when package is removed and not purged so make sure # we don't produce errors in that case test -x /usr/bin/update-profile-cache || exit 0 /usr/bin/update-profile-cache desktop-profiles-git/debian/menu0000644000000000000000000000027412346127117014137 0ustar ?package(desktop-profiles,kommander):\ needs="X11" \ section="Applications/System/Administration"\ title="Profile-manager"\ command="/usr/bin/profile-manager" desktop-profiles-git/debian/control0000644000000000000000000000314512650520357014654 0ustar Source: desktop-profiles Section: x11 Priority: optional Maintainer: Debian Edu Developers Uploaders: Petter Reinholdtsen Build-Depends: debhelper (>= 9) Build-Depends-Indep: po-debconf, intltool Standards-Version: 3.9.6 Vcs-git: git://anonscm.debian.org/debian-edu/upstream/desktop-profiles.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-edu/upstream/desktop-profiles.git Package: desktop-profiles Architecture: all Depends: ${misc:Depends} Suggests: kommander, gconf-editor, menu-xdg, hicolor-icon-theme, shared-mime-info Enhances: kdebase, gconf, gconf2, libxfce4util-1 (>= 4.2), rox-filer, ude Description: framework for setting up desktop profiles The different Desktop environments in Debian all offer the possibility of customizing them through the use of profiles (sets of configuration and/or data files). Usually it's also possible to stack configuration sets, combining the customizations provided by a number of profiles. . This package offers a standard cross-desktop way of managing the conditional activation of available profiles. As such it is useful to both administrators (allowing different configurations for different sets of users) and CDD's (who want to have a configuration customized for a certain target group). . This package currently supports setting up profiles for KDE, GNOME, ROX, Xfce (>=4.2), GNUSTEP, UDE, and Freedesktop. Freedesktop profiles allow you to do a (growing amount of) cross-desktop customization, while the other profile kinds allow you to customize the respective desktop environments to various degrees. desktop-profiles-git/debian/desktop-profiles.links0000644000000000000000000000011512346127117017576 0ustar usr/share/desktop-profiles/path usr/share/doc/desktop-profiles/examples/path desktop-profiles-git/debian/config0000755000000000000000000000263712346127117014450 0ustar #!/bin/sh set -e # source debconf library . /usr/share/debconf/confmodule # if gconf path file needs changes in order to activate the gnome profiles # then warn the user of that (critical-priority if changing from old variables # as not changing in that case potentially breaks gnome) if (test -e /etc/gconf/2/path) ; then if ! ( (grep 'include *\$(ENV_MANDATORY_PATH)' /etc/gconf/2/path 2>&1 > /dev/null ) || (grep 'include *\$(ENV_DEFAULTS_PATH)' /etc/gconf/2/path 2>&1 > /dev/null ) ); then if ( (grep 'include /var/cache/desktop-profiles/\$(USER)_mandatory.path' /etc/gconf/2/path 2>&1 > /dev/null ) || (grep 'include /var/cache/desktop-profiles/\$(USER)_defaults.path' /etc/gconf/2/path 2>&1 > /dev/null ) ); then db_input critical desktop-profiles/replace-old-vars || true; db_go || true; fi; fi; elif (test -e /etc/gconf/1/path) ; then if ! ( (grep 'include *\$(ENV_MANDATORY_PATH)' /etc/gconf/1/path 2>&1 > /dev/null ) || (grep 'include *\$(ENV_DEFAULTS_PATH)' /etc/gconf/1/path 2>&1 > /dev/null ) ); then if ( (grep 'include /var/cache/desktop-profiles/\$(USER)_mandatory.path' /etc/gconf/1/path 2>&1 > /dev/null ) || (grep 'include /var/cache/desktop-profiles/\$(USER)_defaults.path' /etc/gconf/1/path 2>&1 > /dev/null ) ); then db_input critical desktop-profiles/replace-old-vars || true; db_go || true; fi; fi; fi; #DEBHELPER# desktop-profiles-git/debian/copyright0000644000000000000000000000400712346127117015201 0ustar Source for this package is in the src/desktop-profiles dir of the svn.debian.org/svn/debian-edu/trunk svn repository Files: * Copyright: (c) 2004-2007 Bart Cornelis cobaco@skolelinux.no License: GPL-2+ Everthing in this package is under the GNU General Public Licence, version 2 or later. Which on a Debian system can be found in /usr/share/common-licenses/GPL-2 Files: po/ca.po Copyright: (c) Guillem Jover , 2005, 2007. License: GPL-2+ Files: debian/po/ca.po Copyright: (c) Guillem Jover , 2006 License: GPL-2+ Files: po/cs.po, debian/po/cs.po Copyright: (c) Miroslav Kure , 2005 License: GPL-2+ Files: po/eu.po, debian/po/eu.po Copyright: (c) Piarres Beobide Egaa , 2005 License: GPL-2+ Files: po/fr.po, debian/po/fr.po Copyright: (c) Jean-Luc Coulon (f5ibh) , 2005 License: GPL-2+ Files: po/gl.po, debian/po/gl.po Copyright: (c) Jacobo Tarrio , 2008 License: GPL-2+ Files: po/it.po Copyright: (c) Marco Presi , 2005 License: GPL-2+ Files: debian/po/ja.po Copyright: (c) Hideki Yamane (Debian-JP) License: GPL-2+ Files: po/pt_BR.po, debian/po/pt_BR.po Copyright: (c) Felipe Augusto van de Wiel (faw) , 2006 License: GPL-2+ Files: po/pt.po, debian/po/pt.po Copyright: (c) Rui Branco , 2005 License: GPL-2+ Files: po/sv.po, debian/po/sv.po Copyright: (c) Daniel Nylander , 2005 License: GPL-2+ Files: po/tr.po, debian/po/tr.po Copyright: (c) Mert Dirik , 2008 License: GPL-2+ Files: po/vi.po, debian/po/vi.po Copyright: (c) Clytie Siddall , 2005. License: GPL-2+ Files: debian/po/de.po Copyright: (c) Matthias Julius , 2007. License: GPL-2+ Files: debian/po/es.po Copyright: (c) César Gómez Martín , 2005 License: GPL-2+ Files: debian/po/ru.po Copyright: Yuri Kozlov , 2007 License: GPL-2+ desktop-profiles-git/debian/docs0000644000000000000000000000000712346127117014115 0ustar README desktop-profiles-git/debian/postinst0000755000000000000000000000034012346127117015053 0ustar #!/bin/sh set -e # source debconf library . /usr/share/debconf/confmodule if( ( test "$1" = "configure" ) && ( test -x "$(which update-profile-cache 2>/dev/null)" ) ); then update-profile-cache; fi; #DEBHELPER# desktop-profiles-git/debian/preinst0000644000000000000000000000140012346127117014647 0ustar #!/bin/sh set -e # if we're upgrading from a version using the old format if( (test "$1" = "upgrade") && (dpkg --compare-versions "$2" lt "1.4") ); then #convert to the new format, saving the old just to be completely save for FILE in `ls /etc/desktop-profiles/*.listing`; do mv $FILE $FILE.oldformat; cat $FILE.oldformat | sed -e 's/\(.*;\)\(.*;.*;.*;\)\(.*;\)\(.*\)/\1\3\2\4/g' > $FILE done; fi; # if we're upgrading from a version that didn't have the path2listing script # ensure we don't loose the old defaults if( (test "$1" = "upgrade") && (dpkg --compare-versions "$2" lt "1.4.6") ); then cat /etc/desktop-profiles/desktop-profiles.listing | grep ';GCONF;' > /etc/desktop-profiles/desktop-profiles_path2listing.listing fi; #DEBHELPER# desktop-profiles-git/profile-snippet0000755000000000000000000000114712346127117015074 0ustar #!/bin/sh # # Make sure that people starting graphical clients over SSH get the correct # settings, i.e. make sure to run the profile activation script ############################################################################ # testing SSH_CLIENT as the woody ssh doesn't set SSH_CONNECTION # also testing SSH_CONNECTION as the current ssh manpage no longer mentions # SSH_CLIENT, so it appears that variable is being phased out. if ( ( (test -n "${SSH_CLIENT}") || (test -n "${SSH_CONNECTION}") ) && \ (test -n "${DISPLAY}") ); then . /etc/X11/Xsession.d/20desktop-profiles_activateDesktopProfiles fi; desktop-profiles-git/desktop-profiles.70000644000000000000000000002757612346127117015426 0ustar .TH DESKTOP-PROFILES 7 "May 02, 2005" "desktop-profiles" .SH NAME desktop-profiles \- introduction and overview .SH DESCRIPTION Desktop-profiles offers a standard way of managing the conditional activation of installed profiles (sets of configuration and/or data files) for the various Desktop Environments in Debian. .PP It currently supports Freedesktop, KDE, Gconf (i.e Gnome), Xfce (>= 4.2), ROX, GNUSTEP and UDE. .SH HOW IT WORKS Each available profile has some metadata associated with it. On X startup an Xsession.d script is run that looks through the metadata for all profiles and activates profiles based on what it finds. .PP Specifically each profile is associated with a set of requirements, and a precedence value. On X startup the Xsession.d script will filter out those profiles whose requirements are not met, and then activate the remaining profiles in order of precedence. .PP Exactly how a profile is activated depends on the profile kind (you don't need to know this in order to use this package): .IP \(bu 3 For KDE, Freedesktop, Xfce (>= 4.2), ROX, GNUSTEP and UDE activating profiles is done by setting environment variables: KDEDIRS for KDE, XDG_CONFIG_DIRS and XDG_DATA_DIRS for both Freedesktop and Xfce, CHOICESPATH for ROX, GNUSTEP_PATHLIST for GNUSTEP (usually initialized from the various GNUSTEP_*_ROOT variables) and UDEdir for UDE. With the exception of UDEdir, which takes a single directory, each of these variables takes a precedence ordered list of root-directories (of activated profiles). .IP \(bu 3 For GConf profiles two user-specific path files are generated. One containing the activated mandatory "configuration sources", one containing the default "configuration sources" that are activated. .IP NOTE: Environment variables will only be set if their value is different from the default value, and user-specific path files are only generated if the systemwide gconf path file will include them. This to avoid unnecessary clutter. .IP NOTE: The above means that for Freedesktop, KDE, GNOME, Xfce (>= 4.2), GNUSTEP and ROX any number of profiles can be activated at the same time. Whereas UDE can only activate 1 profiles at the time. .IP NOTE: By default the Xsession.d script will assume the metadata files are authoritive, meaning it will ignore any values already assigned to the relevant environment variables. .IP NOTE: The default system-wide path contains a number of configuration sources not managed by desktop-profiles. In order to facilitate the management of all your configuration sources through desktop-profiles this package provides a script (/usr/sbin/path2listing) that looks at your current gconf configuration and adapts it so your configuration sources are all controlled by desktop-profiles (see the man page for path2listing or the /usr/share/doc/destkop-profiles/README for more information on this). .SH INTERACTION WITH OTHER AGENTS ACTIVATING PROFILES Since profiles are activated through environment variables one issue is how desktop-profiles deals with the situation where those environment variables have already been set up by other agents (such an agent could be another script, or the user). Desktop-profiles has a personality setting that determines how it handles such a situation: .IP \(bu 3 autocrat: assume desktop-profiles is the only agent allowed to touch the environment variables, and consequently ignore the contents of already set environment variables. .IP \(bu 3 rude: profiles added by desktop-profiles take precedence over profiles added by other agents. .IP \(bu 3 polite: profiles added by other agents take precedence over profiles added by desktop-profiles. .IP \(bu 3 sheep: just meekly follow along with what the other agents have set, don't change anything (this essentially deactivates desktop-profiles). .PP The default personality setting of desktop-profiles is polite. .SH WHERE TO FIND THE PROFILE METADATA The metadata is specified in .listing files that are placed in the /etc/desktop-profiles directory. The format of those files is specified in the 'FORMAT OF .listing FILES'-section below. .IP NOTE: In order to ensure that packages containing .listing files don't run in to each other, packages should install such files as .listing, or _.listing (there's a debhelper script provided to help with that :) .SH FORMAT OF .listing FILES Each non-empty line in a .listing file is either a comment line, or line containing profile metadata. .PP Comment lines start with \'#\' and are purely for human consumption, like empty lines they are ingored completely by the Xsession.d script. .PP Lines containing profile metadata are made up of 6 fields separated by a semi-colon (\';\'). Where the meaning of the fields is as follows: .IP \(bu 3 .B 1st field : Name of the profile, arbitrary, must be unique within each file, and may (but probably should not) be empty. .IP \(bu 3 .B 2nd field : The kind of profile, must be set, must be one of: KDE, XDG_CONFIG, XDG_DATA, GCONF, ROX, GNUSTEP, or UDE. .IP \(bu 3 .B 3th field: .IP Location of the root of the profile directory tree, may contain more then 1 directory (in which case directories should be separated with spaces). Environment variables may be used when specifying root directories (e.g. $HOME/.extra_config). .IP Except for Gconf profiles, which use the this field to contain exactly one directive to be included in the generated path file (directives are either \'xml:(readonly|readwrite):\', or \'include ' ). .IP \(bu 3 .B 4th field : A Numeric precedence value for the profile, may be empty (which is treated as lowest possible precedence). .IP When 2 (or more) active profiles define a setup for the same thing, the value specified by the profile with the highest precedence value is used (UDE will onlyuse values from the highest ranked profile). .IP \(bu 3 .B 5th field : Space separated list of conditions that need to be met to activate the profiles (if more then 1 condition is specified all conditions need to be met to activate the profile). .IP There are 3 different kinds of requirements: .IP 1) = user needs to be a member of .IP 2) ! = user mustn't be a member of .IP (Note: '!' deactivates the profile completely) .IP 3) $() = needs to exit succesfully ($?=0) .IP (Where is an arbitrary shell command) .IP \(bu 3 .B 6th field : A description of what the profile is/does, may be empty. .IP Note that this basically boils down to a CSV-file using \';\' as separator and allowing shell-style comments. .SH CREATING PROFILES .IP \(bu 3 .B KDE (through KDEDIRS): .IP Each profile directory is layed out according to the KDE file system hierarchy (see http://techbase.kde.org/KDE_System_Administration#File_System) .IP Config files in the different profiles are merged (in case of conflicting keys, the value of the highest precedence profile is used). For other files the highest precedence profile that contains the file supplies it. .IP Starting with kde 3.3. the kiosk framework can be used to lock settings down in the profiles, for all unlocked settings user-specified values are always used when available. (see http://techbase.kde.org/KDE_System_Administration for more info on the kiosk-framework, and the format of the kde config files). .IP \(bu 3 .B Freedesktop (using XDG_CONFIG_DIRS and XDG_DATA_DIRS) .IP The 'Desktop base directory specification' defines the basic framework for using profiles (see http://freedesktop.org/wiki/Specifications/basedir-spec). .IP The actual contents of the profiles is filled in by things conforming to other freedesktop standards (e.g. the 'menu specification'). A list of freedesktop standards (that are being worked on) can be found at http://freedesktop.org/wiki/Specifications. Most of these standards are still under development and not (yet) widely supported. Eventually you can probably suspect support of at least KDE, GNOME, ROX, and Xfce. .IP Xfce (>=4.2) specific settings can also be found in Freedesktop profile dirs (see the next section for details). .IP \(bu 3 .B Xfce (using XDG_CONFIG_DIRS and XDG_DATA_DIRS) .IP Starting from Xfce version 4.2. Xfce will completely adopt the freedesktop 'Desktop Base Directory Specification'. Placing any Xfce-only settings in an 'xfce4' subdirectory of the freedesktop profile directories (with the exception of xfce4-session, which will use an 'xfce4-session' subdirectory). A more complete description can be found at http://foo-projects.org/~benny/xfce/file-locations.html. .IP If two profiles contain the same config file, the one from the profile with the highest precedence is used. .IP Xfce versions prior to 4.2. don't support multiple config sets. .IP \(bu 3 .B ROX (through CHOICESPATH): .IP Each profile directory has one subdirectory for each app for which it provides settings. When a configuration value is needed the profile directories are searched in order, first profile that contains the file supplies it. .IP NOTE: Programs _may_ merge the files the different profiles. If the merging encounters conflicting values the one from the highest order profile is used. .IP See http://rox.sourceforge.net/choices.html for a more detailed description. .IP \(bu 3 .B GNUSTEP (through GNUSTEP_PATHLIST) .IP Profiles in GNUSTEP parlance are called domains, and by default GNUSTEP will look in 4 domains (the location of which is indicated by the GNUSTEP_USER_ROOT, GNUSTEP_LOCAL_ROOT, GNUSTEP_NETWORK_ROOT, and GNUSTEP_SYSTEM_ROOT variables). Though it is possible to specify extra domains to use through the GNUSTEP_PATHLIST variable, it isn't often done as configuration files are currently only searched for in the user domain. .IP For more information on GNUSTEP domains see http://www.gnustep.org/resources/documentation/User/GNUstep/filesystem.html .IP \(bu 3 .B UDE (through UDEdir): .IP UDE searches for configuration files in the following directories (first find is used): .IP 1. $HOME/.ude/config .IP 2. $UDEdir/config (or in absence of $UDEdir in the install dir which is /usr/share/ude on debian) .IP 3. If the configuration file is still not found, UWM takes the filename as it is (usually dereferencing any environment variables first) .IP \(bu 3 .B GNOME (using GConf 'Configuration Sources'): .IP Two gconf path files are generated for each user on login: one with all the sources from activated profiles that have a higher precedence then the gconf-user profile (which is in default.listing), and one containing the sources from activated profiles with a lower precedence then the gconf-user profiles. Generated path files are put in /var/cache/desktop-profiles. .IP Each configuration source is structured like a simple hierarchical file system as follows: .IP - Directories correspond to applications that use the GConf repository, except for the ' schemas' directory which contains files describing all of the preference keys. .IP - Subdirectories correspond to categories of preferences. .IP - Files list the preference keys in the directory, and contain information about the keys. .IP - Configuration Sources are searched in order for each value, first source that has the value (or is writeable in case of storing values) is used. .IP -> See the GNOME administration manual for a detailed explanation .SH FILES /etc/desktop-profiles/desktop-profiles.listing - Details the default settings for the various environments. By default the system-wide settings provided by the packager are given no precedence, which means they will be loaded after all profiles with a precedence specified (which should be true for all profiles you create). .PP /etc/X11/Xsession.d/20desktop-profiles_activateDesktopProfiles - Xsesssion.d script that activates the profiles .PP /etc/default/desktop-profiles - File containing default settings for the scripts in this package. .SH AUTHOR This manual page was written by Bart Cornelis . .SH SEE ALSO list-desktop-profiles(1), update-profile-cache(1), profile-manager(1), dh_installlisting(1), path2listing(1) desktop-profiles-git/path2listing0000644000000000000000000002434712346127117014370 0ustar #!/bin/sh # This script is ment to allow you to setup gconf to manage confiuration # sources through desktop-profiles. # # It will read your a path file (the global gconf one by default) and will: # - generate the necessary metadata to manage all profiles through # desktop-profiles # - adapt the global path file to manage all configuration sources with # desktop-profiles (unless told not to) # # (c) 2005 Bart Cornelis ######################################################################### ROOT_PATH_FILE=/etc/gconf/2/path CUSTOM_LISTINGS=/etc/desktop-profiles/desktop-profiles_path2listing.listing DEFAULT_LISTINGS=/etc/desktop-profiles/desktop-profiles.listing # default distance to leave between 2 successive priority sources # we're leaving some distance to allow the easy insertion of later profiles SOURCE_DISTANCE=50; # we're processing the global path file by default # -> so unless asked not to we'll want to replace it GLOBAL_PATH_FILE=true; REPLACE_PATH_FILE=true; print_help () { cat < /dev/null); then # check if recursing makes sense (don't recurse when user-controlled or # dependend on current environment (which might be influenced by user) if (echo "$CONFIG_SOURCE" | grep -e "\$(HOME)" -e "\$(USER)" -e "\$(ENV_.*)" > /dev/null); then echo "$CONFIG_SOURCE"; else list_sources_in_path_file $(echo "$CONFIG_SOURCE" | sed "s/^include[[:space:]]*//"); fi; # process regular config sources else echo $CONFIG_SOURCE; fi; done; fi; } # $1 is the confiuration source that makes up the new profile # $2 is the precedence value # $3 is the file where it should be added into add_as_profile () { if (test -r "$3"); then mandatory_number="$(expr $(cat "$3" | grep '^mandatory' | wc -l) + 1)"; default_number="$(expr $(cat "$3" | grep '^default' | wc -l) + 1)"; else mandatory_number=1; default_number=1; fi; if (test 0 -lt "$2"); then echo "mandatory_$mandatory_number;GCONF;$1;$2;;" >> "$3"; elif (test 0 -gt "$2");then echo "default_$default_number;GCONF;$1;$2;;" >> "$3"; else echo "gconf-user-settings;GCONF;$1;$2;;Default location of user settings" >> $3; fi; } # $1 is the file to backup # $2 is the reason make_backup_of () { if (test -e "$1"); then # tell user what we're doing echo "$1 already exists, and this script wil $2 it." echo "-> a backup of named $1.$(date --iso-8601=seconds) will be created." echo ; # make backup of current version mv "$1" "$1.$(date --iso-8601=seconds)"; fi; } ##################### # Parse command line ##################### while test $# -ge 1; do case $1 in -d | --distance) # takes positive integer as distance (between configuration sources) if (test $# -lt 2) || !(echo "$2" | grep -E '^[0-9]+$' > /dev/null); then print_help; exit; else # valid distance -> set it SOURCE_DISTANCE="$2"; fi; shift 2; ;; # takes path file to be converted as argument -f | --file) #validate argument, should be a readable path file if (test $# -lt 2) || !(test -r $2); then print_help; exit; else #valid filename -> add to list of files to convert ROOT_PATH_FILE="$2"; if (test "$ROOT_PATH_FILE" != /etc/gconf/2/path) || \ (test "$ROOT_PATH_FILE" != /etc/gconf/1/path); then GLOBAL_PATH_FILE=false; fi; fi; shift 2; ;; # takes name of file that will contain the metada for the # converted configuration sources -o | --output-file) #check for argument if (test $# -lt 2); then print_help; exit; else #Change name of metadata file accordingly CUSTOM_LISTINGS="$2"; fi; shift 2; ;; # takes boolean value --no-replace-file) REPLACE_PATH_FILE=false; shift; ;; -h| --help | *) print_help; exit; ;; esac; done; ###################################### # Check if we need to do anything, # and communicate that with the admin ###################################### # Check if ROOT_PATH_FILE is equal to ideal path file state if (diff $ROOT_PATH_FILE /usr/share/desktop-profiles/path 2>&1 > /dev/null); then #equal -> nothing to do echo "$ROOT_PATH_FILE file is already converted to desktop-profiles:"; echo " -> nothing to do"; echo " -> exiting"; exit; # check for precense of current desktop-profiles hooks # if so warn that the precedence might not be correct # they're different -> so we need to convert elif (grep 'include *\$(ENV_MANDATORY_PATH)' "$ROOT_PATH_FILE" 2>&1 > /dev/null) || (grep 'include *\$(ENV_DEFAULTS_PATH)' "$ROOT_PATH_FILE" 2>&1 > /dev/null); then true;#FIXME; # check for precense of old desktop-profiles hooks # if so warn that the precedence might not be correct # they're different -> so we need to convert elif (grep 'include /var/cache/desktop-profiles/\$(USER)_mandatory.path' "$ROOT_PATH_FILE" 2>&1 > /dev/null) || (grep 'include /var/cache/desktop-profiles/\$(USER)_defaults.path' "$ROOT_PATH_FILE" 2>&1 > /dev/null); then true;#FIXME; else echo "Metadata for all configuration sources contained in $ROOT_PATH_FILE"; echo "(wether contained directly, or indirectly through includes) will be" echo "generated and put in $CUSTOM_LISTINGS." echo; fi; ################################ # Deal with generating metadata ################################ USER_SOURCE_RANK=$(list_sources_in_path_file $ROOT_PATH_FILE | nl | \ grep 'xml:readwrite:\$(HOME)/.gconf' | sed "s/^[[:space:]]*//g" | cut --fields 1); # check if file, we'll be messing with already exists, if so create backup make_backup_of "$CUSTOM_LISTINGS" regenerate # iterate over all configuration sources, listed directly or indirectly by the # $ROOT_PATH_FILE (by default = /etc/gconf/2/path) list_sources_in_path_file $ROOT_PATH_FILE | nl | sed "s/^[[:space:]]*//g" | \ while read ITEM; do # the '- USER_SOURCE_RANK * SOURCE_DISTANCE' at the end is to ensure that # the user-source ends up with precedence 0, yielding all mandatory sources # with a positive precedence, and all default sources with a negative one PRECEDENCE="$(expr $(echo "$ITEM" | cut --fields 1) \* $SOURCE_DISTANCE - $USER_SOURCE_RANK \* $SOURCE_DISTANCE)"; CONFIG_SOURCE="$(echo "$ITEM" | cut --fields 2)"; # add a profile-metadata entry for this configuration source add_as_profile "$CONFIG_SOURCE" "$PRECEDENCE" "$CUSTOM_LISTINGS"; done; ###################################### # Deal with changing global path file ###################################### if (test $REPLACE_PATH_FILE = true); then # make backup-copy of $ROOT_PATH_FILE, before changing it if (test -e "$ROOT_PATH_FILE"); then # tell user what we're doing echo "The global path file will now be replaced with one assuming all " echo "configuration sources are managed by desktop-profiles." echo "-> a backup named $ROOT_PATH_FILE.$(date --iso-8601=seconds) will be created." echo ; # make backup of current version mv "$ROOT_PATH_FILE" "$ROOT_PATH_FILE.$(date --iso-8601=seconds)"; fi; # actually replace global path file cp /usr/share/desktop-profiles/path "$ROOT_PATH_FILE"; fi; desktop-profiles-git/README0000644000000000000000000001333612346127117012711 0ustar GENERAL DESCRIPTION =-=-=-=-=-=-=-=-=-= See the desktop-profiles(7) man page for a description of how this package works, and what it does. KNOWN BUGS =-=-=-=-=-= - The profile-manager.kmdr script (i.e. the gui for configuring the metadata files) doesn't work correctly if the profile description contains a single quote, it doesn't show the details, and will mess up the metadata file when changing it - 'ssh -X' bug (##344030): Profiles aren't set when logging in and running programs with 'ssh -X', this is because the Xsession.d script isn't run. A general shell-independ solution seems to be impossible (neither ssh itself nor PAM provides a way to source shell scripts, if you have any ideas please contact me). Shell-variant specific solutions are possible by having the system-wide on-logon script of each shell run the profile activation script when an 'ssh-X' login is detected. This package currently documents the necessary bits of code for the following shells: bash, dash, ksh, pdksh, mksh, csh, tcsh, zsh, zoidberg, fish and psh. Where possible the fix is applied automatically (this needs a modularized on-logon script), otherwise the admin needs to add the required code by hand. For bourne-compatible shells (bash, dash, ksh, pdksh, mksh, posh) the system-wide on-logon script is /etc/profile. The file /usr/share/doc/desktop-profiles/examples/profile-snippet contains the code that needs to be added to it in order to fix this bug. For the zsh shell the system-wide on-logon script is /etc/zsh/zlogin. The file /usr/share/doc/desktop-profiles/examples/zlogin-snippet contains the code-snippet that needs to be added to it in order to fix this bug. Users of the csh, fish, psh (>=1.8-6), and tcsh (>=6.14.00-5) and zoidberg (>= 0.96-1) shells don't need to do anything as the system-wide on-logon script of these shells is modularized, and thus the required code-snippet is dropped into place on package installation. PERFORMANCE =-=-=-=-=-= For those wondering about performance, I did some benchmarking of the Xsession.d script yielding the following results[NOTE]: - needed execution time of the script when dynamicaly checking which profiles should be activated is linear in respect to the number of profiles (i.e. O(n) with n = #profiles), tested up to a 100 profiles. * dynamic activation with /bin/sh pointing to dash (averaged over 10 runs) out-of-the-box 20 30 40 50 60 pentium2 350 Mhz: 0.594 0.980 1.168 1.369 1.557 1.751 celeron M 1.4 Ghz: 0.100 0.140 0.170 0.212 0.248 0.284 centrino duo 1.83 GHz: 0.080 0.121 0.150 0.188 0.220 0.254 * dynamic activation with /bin/sh pointing to bash (averaged over 10 runs) out-of-the-box 20 30 40 50 60 pentium2 350 Mhz: 0.983 1.534 1.878 2.236 2.585 2.944 celeron M 1.4 Ghz: 0.163 0.241 0.316 0.387 0.460 0.530 centrino duo 1.83 GHz: 0.153 0.222 0.290 0.359 0.429 0.494 -> performance when /bin/sh points to dash about is 40-45% faster as when it points to bash. - needed execution time in the simple case with an up-to-date cache is constant and so small as to be negligable even on old systems: * with up-to-date cache /bin/sh -> dash /bin/sh -> bash pentium2 350 Mhz: 0.010 0.092 celeron M 1.4 Ghz: 0 (to small to measure) 0.010 centrino duo 1.83 Ghz: 0 (to small to measure) 0.010 - Here's some more info about the machines I ran the test on: pentium2 350 Mhz -> 128 MB RAM, Quantum Fireball Ex4.3A HD celeron 1.4 Ghz -> Acer Travelmate 2312LM, 256 MB RAM, HTS726060M9AT00 HD centrino duo 1.83 Ghz -> HP nx9420, 512 MB RAM, FUJITSU MHV2100B HD NOTE: For those that want to run the performance tests on their own systems the testscript and metadata-sets I used can be found in the tests.tgz file in /usr/share/doc/desktop-profiles. The test script in there needs to be run as a user with write priviliges to the directory /etc/desktop-profiles and will test performance with both dash (if present) and bash and up-to 100 profiles. GCONF PROFILES =-=-=-=-=-=-=-= The default gconf systemwide path file provided by the gconf2 package only includes the minimal changes necessary for using desktop-profiles. That is it will only add in the configuration sources managed by desktop-profiles, it won't put all configuration sources under desktop-profiles control. To facilitate those that want to manage all their gconf configuration sources with desktop-profiles this package provides a conversion script (/usr/sbin/path2listing) that will parse your current systemwide pathfile, generate the necessary metadata for all your currently used configuration sources (yes it will recurse into included path files), and change the systemwide gconf path file to reflect that all configuration sources will now be managed by desktop-profiles. Running the conversion script doesn't result in any user-visible changes (if it does there's a bug), still the script will make a backup of the current path file before changing it so you can always go back to not managing the gconf configuration sources with desktop-profiles by simply restoring the path file backup. GRAPHICAL TOOLS TO USE WHEN BUILDING PROFILES =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= - kiosktool (KDE): Point&Click tool for the creation of KDE-profiles (regardless of wether the kiosk, i.e. lockdown, features are used) . Available from the testing and unstable archives. - Pessulus (GNOME): Enables the system administrator to set mandatory settings in GConf, which apply to all users, restricting what they can do. Available from the testing and unstable archives. - Sabayon (GNOME): Point&Click tool for the creation of GNOME-profiles. Available from testing and unstable archives. desktop-profiles-git/po/0002755000000000000000000000000012650774404012450 5ustar desktop-profiles-git/po/eu.po0000644000000000000000000002536412650773613013432 0ustar # translation of profile-manager.po to librezale.org # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # Piarres Beobide , 2005. # msgid "" msgstr "" "Project-Id-Version: profile-manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-28 23:07+0200\n" "PO-Revision-Date: 2005-10-03 10:18+0100\n" "Last-Translator: Piarres Beobide Egaa \n" "Language-Team: librezale.org \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.10.2\n" #: _from_rc.cc:1 msgid "Desktop-Profile Manager" msgstr "Idazmahaia Profil Kudeatzailea" #: _from_rc.cc:2 msgid "Drag vertically to hide/unhide the filter section" msgstr "Gotik behera mugitu iragazki atala bistarazi/ezkutatzeko" #: _from_rc.cc:3 msgid "Only show profiles when:" msgstr "Kasu honetan bakarrik bistaratu profilak:" #: _from_rc.cc:4 msgid "&kind matches" msgstr "Aurkittako &motak" #: _from_rc.cc:5 msgid "" "When checked only profiles whose 2nd (=kind) field matches the given regular " "expression are shown" msgstr "" "Aukerartzean 2. eremuan (=mota) emandako espresio erregularra aurkitzen den " "profilak bistaraziko dira" #: _from_rc.cc:6 msgid "re&quirement matches" msgstr "aurkitako be&harrak" #: _from_rc.cc:7 msgid "" "When checked only profiles whose 5th (=requirements) field matches the given " "regular expression are shown" msgstr "" "Aukerartzean 5. eremuan (=beharrak) emandako espresio erregularra aurkitzen " "den profilak bistaraziko dira" #: _from_rc.cc:8 msgid "&precedence" msgstr "&lehentasuna" #: _from_rc.cc:9 msgid "" "When checked only profiles whose precedence value satifies the given " "comparison are shown" msgstr "" "Aukeratzean lehentasun balioan emandako parekatzea betetzen duten profilak " "bistarazuko dira" # shouldn't be translated, # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:10 msgid ">" msgstr ">" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:11 msgid ">=" msgstr ">=" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:12 msgid "<" msgstr "<" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:13 msgid "<=" msgstr "<=" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:14 msgid "<>" msgstr "<>" #: _from_rc.cc:15 _from_rc.cc:16 _from_rc.cc:21 _from_rc.cc:22 _from_rc.cc:23 msgid "Takes a regular expression" msgstr "Espresio erregular bat behar du" #: _from_rc.cc:17 msgid "Takes a numerical value (may be negative)" msgstr "Zenbakizko balio bat izan behar du (negatiboa izan daiteke)" #: _from_rc.cc:18 msgid "req&uirements are met for" msgstr "beharrak aurkiturik honentzat:" #: _from_rc.cc:19 msgid "" "When checked only profiles whose requirements are met for the selected user " "are shown" msgstr "" "Aukerartzean hautatutako erabiltzaileak beharrak beterik dituzten profilak " "bistaraziko dira" #: _from_rc.cc:20 msgid "list of user accounts on this system" msgstr "Sistema honetako erabiltzaile zerrenda" #: _from_rc.cc:24 msgid "Sort profile list on" msgstr "Ordenatu zerrenda gaiturik" #: _from_rc.cc:25 _from_rc.cc:32 msgid "Shown profiles are sorted on the contents of the selected field" msgstr "" "Bsitarazitako profila hautatutako eremuaren eduakiaren arabera ordenaturik " "daude" #: _from_rc.cc:26 msgid "name" msgstr "izena" #: _from_rc.cc:27 msgid "kind" msgstr "Mota" #: _from_rc.cc:28 msgid "location" msgstr "kokalekua" #: _from_rc.cc:29 msgid "precedence" msgstr "lehentasuna" #: _from_rc.cc:30 msgid "requirements" msgstr "beharrak" #: _from_rc.cc:31 msgid "description" msgstr "azalpena" #: _from_rc.cc:33 msgid "&name matches" msgstr "Aurkitutako &izenak" #: _from_rc.cc:34 msgid "" "When checked only profiles whose 1st (=name) field matches the given regular " "expression are shown" msgstr "" "Aukerartzean 1. eremuan (=izena) emandako espresio erregularra aurkitzen den " "profilak bistaraziko dira" #: _from_rc.cc:35 msgid "&description matches" msgstr "aurkitutako &azalpenak" #: _from_rc.cc:36 msgid "" "When checked only profiles whose 6th (=description) field matches the given " "regular expression are shown" msgstr "" "Aukerartzean 6. eremuan (=azalpena) emandako espresio erregularra aurkitzen " "den profilak bistaraziko dira" #: _from_rc.cc:37 msgid "location &matches" msgstr "aurkitutako &kokalekuak" #: _from_rc.cc:38 msgid "" "When checked only profiles whose 3rd (=location) field matches the given " "regular expression are shown" msgstr "" "Aukerartzean 3. eremuan (=kokalekua) emandako espresio erregularra aurkitzen " "den profilak bistaraziko dira" #: _from_rc.cc:39 msgid "List of profiles found in processed .listing files" msgstr "Analizatutako .listing fitxategietan aurkitutako profilzerrenda" #: _from_rc.cc:40 msgid "Profile Details" msgstr "Profil Xehetasunak" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:41 msgid "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" msgstr "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" #: _from_rc.cc:42 msgid "Activation requirements:" msgstr "Gaitze eskakizunak:" #: _from_rc.cc:43 msgid "" "list of activation requirements (contained in the 5th field) of selected " "profile" msgstr "" "Hautatutako profilaren gaitze beharren (5, eremuan ezartzen direnak) zerrenda" #: _from_rc.cc:44 msgid "Remo&ve selected" msgstr "Eza&batu aukeratutakoak" #: _from_rc.cc:45 msgid "Removes selected activation requirement from the list" msgstr "Ezabatu zerrendatik aukeratutako gaitze eskakizunak" #: _from_rc.cc:46 msgid "New activation requirement:" msgstr "Gaitze berri eskakizuna:" #: _from_rc.cc:47 msgid "When the user is" msgstr "Erabiltzailea" #: _from_rc.cc:48 msgid "a member of" msgstr "honen partaide denea: " #: _from_rc.cc:49 msgid "not member of " msgstr "ez denean honen partaide: " #: _from_rc.cc:50 msgid "" "Your choice here determines whether the new requirement concerns membership " "or non-membership" msgstr "" "Zure aukerak behar berriek partaide edo ez partaideei nola eragiten dien " "ezartzen du" #: _from_rc.cc:51 msgid "" "Choose the group for which (non-)membership is needed to activate this " "profile" msgstr "Profile hau gaitzeko partaidetza beharrezkoa (ez) den taldea hautatu" #: _from_rc.cc:52 msgid "&Add" msgstr "&Gehitu" #: _from_rc.cc:53 msgid "" "Only activate profile for users that are (not) a member of the selected group" msgstr "" "Profiila bakarrik aukeratutako taldeko partaide (ez) diren erabiltzaileekin " "erabili" #: _from_rc.cc:54 msgid "When" msgstr "Noiz" #: _from_rc.cc:55 msgid "Enter any shell command" msgstr "Sartu edozein shell komando" #: _from_rc.cc:56 msgid "executes successfully" msgstr "arrakastatsuki abiarazirik" #: _from_rc.cc:57 msgid "Add" msgstr "Gehitu" #: _from_rc.cc:58 msgid "" "Make successful completion of given shell command a requirement for " "activation of this profile" msgstr "" "Emandako shell komandoaren beharren osotze bat egin profile hau gaitzeko" #: _from_rc.cc:59 msgid "Deactivate profile completel&y" msgstr "Profila guztiz ezgailtu (&y)" #: _from_rc.cc:60 msgid "Adds an unsatisfiable requirement (not in any group)" msgstr "betegabeko eskaera bat gehitzen du (ez dago talde batetan)" #: _from_rc.cc:61 msgid "Listed in" msgstr "Hemen zerrendaturik: " # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:62 msgid "*.listing" msgstr "*.listing" #: _from_rc.cc:63 msgid "Append profile description to" msgstr "Erantsi profile azalpena honi: " #: _from_rc.cc:64 msgid ".listing file where the profile is defined" msgstr "Profila ezartzen den .listing fitxategia " #: _from_rc.cc:65 msgid "&Is new" msgstr "berr&ia da" #: _from_rc.cc:66 msgid "Check if shown details (will) describe a new profile" msgstr "Egiaztatu ikusten diren xehetasunek profile berria azaltzen dutela" #: _from_rc.cc:67 msgid "Delete pr&ofile" msgstr "Pr&ofila Ezabatu" #: _from_rc.cc:68 msgid "Delete profile whose details are shown" msgstr "Ezabatu xehetasunak ikusten diren profila" #: _from_rc.cc:69 msgid "Add new profile" msgstr "Gehitu profil berria" #: _from_rc.cc:70 msgid "Add/Update profile whose details are shown" msgstr "Gehitu/Eguneratu xehetasunak ikusten diren profila" #: _from_rc.cc:71 msgid "&Cancel Changes" msgstr "Aldatetak Utzi (&C)" #: _from_rc.cc:72 msgid "Forget changes made to shown profile details" msgstr "Bistan diren profile xehetasunetan egindako aldaketak ahaztu" #: _from_rc.cc:73 msgid "1st field (=name) of selected profile" msgstr "Aukeratutako profilaren 1.eremua (=izena)" #: _from_rc.cc:74 msgid "Name:" msgstr "Izena:" #: _from_rc.cc:75 msgid "Precedence:" msgstr "Lehentasuna" #: _from_rc.cc:76 msgid "Kind:" msgstr "Mota:" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:77 msgid "XDG_CONFIG" msgstr "XDG_CONFIG" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:78 msgid "XDG_DATA" msgstr "XDG_DATA" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:79 msgid "KDE" msgstr "KDE" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:80 msgid "GCONF" msgstr "GCONF" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:81 msgid "GNUSTEP" msgstr "GNUSTEP" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:82 msgid "ROX" msgstr "ROX" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:83 msgid "UDE" msgstr "UDE" #: _from_rc.cc:84 msgid "2nd field (=kind) of selected profile" msgstr "Aukeratutako profilaren 2.eremua (=mota)" #: _from_rc.cc:85 msgid "4th field (=precedence value) of selected profile" msgstr "Aukeratutako profilaren 4. eremua (=aurreko balioa)" #: _from_rc.cc:86 msgid "Location(s):" msgstr "Kokalekua(k):" #: _from_rc.cc:87 msgid "Description:" msgstr "Azalpena:" #: _from_rc.cc:88 msgid "3rd field of selected profile" msgstr "aukeratutako profilearean 3. eremua" #: _from_rc.cc:89 msgid "6th field (=description) of selected profile" msgstr "Aukeratutako profilaren 6. eremua (=azalpena)" msgid "Save Changes" msgstr "Aldaketak Gorde" desktop-profiles-git/po/ca.po0000644000000000000000000002355712650773612013405 0ustar # Catalan translation for desktop-profiles. # This file is distributed under the same license as the package. # Guillem Jover , 2005, 2007. # msgid "" msgstr "" "Project-Id-Version: desktop-profiles 1.4.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-28 23:07+0200\n" "PO-Revision-Date: 2007-04-28 23:35+0300\n" "Last-Translator: Guillem Jover \n" "Language-Team: Catalan \n" "Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: _from_rc.cc:1 msgid "Desktop-Profile Manager" msgstr "Gestor de perfils d'escriptori" #: _from_rc.cc:2 msgid "Drag vertically to hide/unhide the filter section" msgstr "Arrossegueu verticalment per amagar/mostrar la secció de filtres" #: _from_rc.cc:3 msgid "Only show profiles when:" msgstr "Mostra els perfils només quan:" #: _from_rc.cc:4 msgid "&kind matches" msgstr "coincidències de &tipus" #: _from_rc.cc:5 msgid "" "When checked only profiles whose 2nd (=kind) field matches the given regular " "expression are shown" msgstr "" #: _from_rc.cc:6 msgid "re&quirement matches" msgstr "coincidències de re&queriments" #: _from_rc.cc:7 msgid "" "When checked only profiles whose 5th (=requirements) field matches the given " "regular expression are shown" msgstr "" #: _from_rc.cc:8 msgid "&precedence" msgstr "&precedència" #: _from_rc.cc:9 msgid "" "When checked only profiles whose precedence value satifies the given " "comparison are shown" msgstr "" # shouldn't be translated, # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:10 msgid ">" msgstr ">" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:11 msgid ">=" msgstr ">=" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:12 msgid "<" msgstr "<" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:13 msgid "<=" msgstr "<=" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:14 msgid "<>" msgstr "<>" #: _from_rc.cc:15 _from_rc.cc:16 _from_rc.cc:21 _from_rc.cc:22 _from_rc.cc:23 msgid "Takes a regular expression" msgstr "Pren una expressió regular" #: _from_rc.cc:17 msgid "Takes a numerical value (may be negative)" msgstr "Pren un valor numèric (pot ser negatiu)" #: _from_rc.cc:18 msgid "req&uirements are met for" msgstr "els req&ueriments es compleixen per a" #: _from_rc.cc:19 msgid "" "When checked only profiles whose requirements are met for the selected user " "are shown" msgstr "" #: _from_rc.cc:20 msgid "list of user accounts on this system" msgstr "llista dels comptes d'usuaris al sistema" #: _from_rc.cc:24 msgid "Sort profile list on" msgstr "Ordena la llista de perfils per" #: _from_rc.cc:25 _from_rc.cc:32 msgid "Shown profiles are sorted on the contents of the selected field" msgstr "Els perfils mostrats estan ordenats " #: _from_rc.cc:26 msgid "name" msgstr "nom" #: _from_rc.cc:27 msgid "kind" msgstr "tipus" #: _from_rc.cc:28 msgid "location" msgstr "localització" #: _from_rc.cc:29 msgid "precedence" msgstr "precedència" #: _from_rc.cc:30 msgid "requirements" msgstr "requeriments" #: _from_rc.cc:31 msgid "description" msgstr "descripció" #: _from_rc.cc:33 msgid "&name matches" msgstr "coincidències de &nom" #: _from_rc.cc:34 msgid "" "When checked only profiles whose 1st (=name) field matches the given regular " "expression are shown" msgstr "" #: _from_rc.cc:35 msgid "&description matches" msgstr "coincidències de &descripció" #: _from_rc.cc:36 msgid "" "When checked only profiles whose 6th (=description) field matches the given " "regular expression are shown" msgstr "" #: _from_rc.cc:37 msgid "location &matches" msgstr "coincidències de &posició" #: _from_rc.cc:38 msgid "" "When checked only profiles whose 3rd (=location) field matches the given " "regular expression are shown" msgstr "" #: _from_rc.cc:39 msgid "List of profiles found in processed .listing files" msgstr "Llista dels perfils trobats en els fitxers .listing processats" #: _from_rc.cc:40 msgid "Profile Details" msgstr "Detalls de perfil" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:41 msgid "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" msgstr "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" #: _from_rc.cc:42 msgid "Activation requirements:" msgstr "Requeriments d'activació:" #: _from_rc.cc:43 msgid "" "list of activation requirements (contained in the 5th field) of selected " "profile" msgstr "" "llista de requeriments d'activació (continguts en el cinquè camp) del perfil " "seleccionat" #: _from_rc.cc:44 msgid "Remo&ve selected" msgstr "Es&borrar els seleccionats" #: _from_rc.cc:45 msgid "Removes selected activation requirement from the list" msgstr "Esborra els requeriments d'activació seleccionats de la llista" #: _from_rc.cc:46 msgid "New activation requirement:" msgstr "Nous requeriments d'activació:" #: _from_rc.cc:47 msgid "When the user is" msgstr "Quan l'usuari és" #: _from_rc.cc:48 msgid "a member of" msgstr "un membre de" #: _from_rc.cc:49 msgid "not member of " msgstr "no membre de " #: _from_rc.cc:50 msgid "" "Your choice here determines whether the new requirement concerns membership " "or non-membership" msgstr "" #: _from_rc.cc:51 msgid "" "Choose the group for which (non-)membership is needed to activate this " "profile" msgstr "" "Trieu el grup per al que (no) ser membre és necessari per a activar aquest " "perfil" #: _from_rc.cc:52 msgid "&Add" msgstr "&Afegeix" #: _from_rc.cc:53 msgid "" "Only activate profile for users that are (not) a member of the selected group" msgstr "" "Activa el perfil només dels usuaris que (no) són membres del grup seleccionat" #: _from_rc.cc:54 msgid "When" msgstr "Quan" #: _from_rc.cc:55 msgid "Enter any shell command" msgstr "Introduïu qualsevol ordre d'intèrpret d'ordres" #: _from_rc.cc:56 msgid "executes successfully" msgstr "s'executa correctament" #: _from_rc.cc:57 msgid "Add" msgstr "Afegeix" #: _from_rc.cc:58 msgid "" "Make successful completion of given shell command a requirement for " "activation of this profile" msgstr "" #: _from_rc.cc:59 msgid "Deactivate profile completel&y" msgstr "Desactiva el perfil completamen&t" #: _from_rc.cc:60 msgid "Adds an unsatisfiable requirement (not in any group)" msgstr "Afegeix un requeriment que no es pot satisfer (no està en cap grup)" #: _from_rc.cc:61 msgid "Listed in" msgstr "Llistat a" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:62 msgid "*.listing" msgstr "*.listing" #: _from_rc.cc:63 msgid "Append profile description to" msgstr "Afegeix la descripció del perfil a" #: _from_rc.cc:64 msgid ".listing file where the profile is defined" msgstr "fitxer .listing on el perfil està definit" #: _from_rc.cc:65 msgid "&Is new" msgstr "És &nou" #: _from_rc.cc:66 msgid "Check if shown details (will) describe a new profile" msgstr "Comprova si els detalls mostrats descriuen/ran un nou perfil" #: _from_rc.cc:67 msgid "Delete pr&ofile" msgstr "Es&borra perfil" #: _from_rc.cc:68 msgid "Delete profile whose details are shown" msgstr "Esborra el perfil per al que s'estan mostrant els detalls" #: _from_rc.cc:69 msgid "Add new profile" msgstr "Afegeix nous perfils" #: _from_rc.cc:70 msgid "Add/Update profile whose details are shown" msgstr "Afegeix/Actualitza el perfil per al que s'estan mostrant els detalls" #: _from_rc.cc:71 msgid "&Cancel Changes" msgstr "&Cancela canvis" #: _from_rc.cc:72 msgid "Forget changes made to shown profile details" msgstr "Oblida els canvis fets als detalls dels perfils mostrats" #: _from_rc.cc:73 msgid "1st field (=name) of selected profile" msgstr "Primer camp (=nom) del perfil seleccionat" #: _from_rc.cc:74 msgid "Name:" msgstr "Nom:" #: _from_rc.cc:75 msgid "Precedence:" msgstr "Precedència:" #: _from_rc.cc:76 msgid "Kind:" msgstr "Tipus:" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:77 msgid "XDG_CONFIG" msgstr "XDG_CONFIG" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:78 msgid "XDG_DATA" msgstr "XDG_DATA" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:79 msgid "KDE" msgstr "KDE" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:80 msgid "GCONF" msgstr "GCONF" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:81 msgid "GNUSTEP" msgstr "GNUSTEP" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:82 msgid "ROX" msgstr "ROX" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:83 msgid "UDE" msgstr "UDE" #: _from_rc.cc:84 msgid "2nd field (=kind) of selected profile" msgstr "Segon camp (=tipus) del perfil seleccionat" #: _from_rc.cc:85 msgid "4th field (=precedence value) of selected profile" msgstr "Quart camp (=valor de precedència) del perfil seleccionat" #: _from_rc.cc:86 msgid "Location(s):" msgstr "Localització/ns:" #: _from_rc.cc:87 msgid "Description:" msgstr "Descripció:" #: _from_rc.cc:88 msgid "3rd field of selected profile" msgstr "Tercer camp del perfil seleccionat" #: _from_rc.cc:89 msgid "6th field (=description) of selected profile" msgstr "Sisè camp (=descripció) del perfil seleccionat" msgid "Save Changes" msgstr "Desa els canvis" desktop-profiles-git/po/vi.po0000644000000000000000000002473112650773613013434 0ustar # Vietnamese translation for profile-manager. # Copyright © 2005 Free Software Foundation, Inc. # Clytie Siddall , 2005. # msgid "" msgstr "" "Project-Id-Version: profile-manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-28 23:07+0200\n" "PO-Revision-Date: 2005-06-16 14:21+0930\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \n" "Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0\n" #: _from_rc.cc:1 msgid "Desktop-Profile Manager" msgstr "Bộ quản lý tiểu sử sơ lược màn hình nền" #: _from_rc.cc:2 msgid "Drag vertically to hide/unhide the filter section" msgstr "Hãy kéo theo chiều đứng, để ẩn/hiển thị phần lọc." #: _from_rc.cc:3 msgid "Only show profiles when:" msgstr "Chỉ hiển thị tiểu sử sơ lược khi:" #: _from_rc.cc:4 msgid "&kind matches" msgstr "khớp &loại" #: _from_rc.cc:5 msgid "" "When checked only profiles whose 2nd (=kind) field matches the given regular " "expression are shown" msgstr "" "Khi chọn thì sẽ hiển thị chỉ tiểu sử sơ lược có trường thứ hai (=loại) khớp " "biểu thức chính quy đã cho." #: _from_rc.cc:6 msgid "re&quirement matches" msgstr "khớp tiêu &chuẩn" #: _from_rc.cc:7 msgid "" "When checked only profiles whose 5th (=requirements) field matches the given " "regular expression are shown" msgstr "" "Khi chọn thì sẽ hiển thị chỉ tiểu sử sơ lược có trường thứ năm (=tiêu chuẩn) " "khớp biểu thức chính quy đã cho." #: _from_rc.cc:8 msgid "&precedence" msgstr "ưu tiên" #: _from_rc.cc:9 msgid "" "When checked only profiles whose precedence value satifies the given " "comparison are shown" msgstr "" "Khi chọn thì sẽ hiển thị chỉ tiểu sử sơ lược có độ • ưu tiên • khớp biểu " "thức chính quy đã cho." #: _from_rc.cc:10 msgid ">" msgstr ">" #: _from_rc.cc:11 msgid ">=" msgstr "≥" #: _from_rc.cc:12 msgid "<" msgstr "<" #: _from_rc.cc:13 msgid "<=" msgstr "≤" #: _from_rc.cc:14 msgid "<>" msgstr "<>" #: _from_rc.cc:15 _from_rc.cc:16 _from_rc.cc:21 _from_rc.cc:22 _from_rc.cc:23 msgid "Takes a regular expression" msgstr "Nhận một biểu thức chính quy" #: _from_rc.cc:17 msgid "Takes a numerical value (may be negative)" msgstr "Nhận một giá trị thuộc số (có lẽ âm)" #: _from_rc.cc:18 msgid "req&uirements are met for" msgstr "mọi tiêu chuẩn đều thỏa cho" #: _from_rc.cc:19 msgid "" "When checked only profiles whose requirements are met for the selected user " "are shown" msgstr "" "Khi chọn thì sẽ hiển thị chỉ tiểu sử sơ lược có mọi tiêu chuẩn đều thỏa cho " "người dùng đã chọn." #: _from_rc.cc:20 msgid "list of user accounts on this system" msgstr "danh sách các tài khoản người dùng trong hệ thống này" #: _from_rc.cc:24 msgid "Sort profile list on" msgstr "Sắp xếp danh sách tiểu sử sơ lược theo" #: _from_rc.cc:25 _from_rc.cc:32 msgid "Shown profiles are sorted on the contents of the selected field" msgstr "" "Hiển thị các tiểu sử sơ lược được sắp xếp theo nội dung của trường đã chọn." #: _from_rc.cc:26 msgid "name" msgstr "tên" #: _from_rc.cc:27 msgid "kind" msgstr "loại" #: _from_rc.cc:28 msgid "location" msgstr "ví trị" #: _from_rc.cc:29 msgid "precedence" msgstr "ưu tiên" #: _from_rc.cc:30 msgid "requirements" msgstr "tiêu chuẩn" #: _from_rc.cc:31 msgid "description" msgstr "mô tả" #: _from_rc.cc:33 msgid "&name matches" msgstr "khớp &tên" #: _from_rc.cc:34 msgid "" "When checked only profiles whose 1st (=name) field matches the given regular " "expression are shown" msgstr "" "Khi chọn thì sẽ hiển thị chỉ tiểu sử sơ lược có trường thứ nhất (=tên) khớp " "biểu thức chính quy đã cho." #: _from_rc.cc:35 msgid "&description matches" msgstr "khớp &mô tả" #: _from_rc.cc:36 msgid "" "When checked only profiles whose 6th (=description) field matches the given " "regular expression are shown" msgstr "" "Khi chọn thì sẽ hiển thị chỉ tiểu sử sơ lược có trường thứ sáu (=mô tả) khớp " "biểu thức chính quy đã cho." #: _from_rc.cc:37 msgid "location &matches" msgstr "khớp &ví trị" #: _from_rc.cc:38 msgid "" "When checked only profiles whose 3rd (=location) field matches the given " "regular expression are shown" msgstr "" "Khi chọn thì sẽ hiển thị chỉ tiểu sử sơ lược có trường thứ ba (=ví trị) khớp " "biểu thức chính quy đã cho." #: _from_rc.cc:39 msgid "List of profiles found in processed .listing files" msgstr "" "Danh sách cãc tiểu sử sơ lược được tìm trong tập tin «.listing» được xử lý" #: _from_rc.cc:40 msgid "Profile Details" msgstr "Chi tiết tiểu sử sơ lược" #: _from_rc.cc:41 msgid "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" msgstr "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" #: _from_rc.cc:42 msgid "Activation requirements:" msgstr "Tiêu chuẩn hoạt hóa:" #: _from_rc.cc:43 msgid "" "list of activation requirements (contained in the 5th field) of selected " "profile" msgstr "" "danh sách các tiểu chuẩn hoạt hóa (có trong trường thứ năm) cho tiểu sử sơ " "lược" #: _from_rc.cc:44 msgid "Remo&ve selected" msgstr "Loại bỏ đã &chọn" #: _from_rc.cc:45 msgid "Removes selected activation requirement from the list" msgstr "Loại bỏ tiêu chuẩn hoạt hóa đã chọn ra danh sách ấy." #: _from_rc.cc:46 msgid "New activation requirement:" msgstr "Tiêu chuẩn hoạt hóa mới:" #: _from_rc.cc:47 msgid "When the user is" msgstr "Khi người dùng" #: _from_rc.cc:48 msgid "a member of" msgstr "là một thành viên của" #: _from_rc.cc:49 msgid "not member of " msgstr "không phải là một thành viên của" #: _from_rc.cc:50 msgid "" "Your choice here determines whether the new requirement concerns membership " "or non-membership" msgstr "" "Tùy chọn này quyết định nếu tiêu chuẩn mới liên quan đến tư cách thành viên " "hay tư cách không thành viên." #: _from_rc.cc:51 msgid "" "Choose the group for which (non-)membership is needed to activate this " "profile" msgstr "" "Hãy chọn nhóm cần đến người dùng có/không phải là thành viên để hoạt hóa " "tiểu sử sơ lược này." #: _from_rc.cc:52 msgid "&Add" msgstr "Th&êm" #: _from_rc.cc:53 msgid "" "Only activate profile for users that are (not) a member of the selected group" msgstr "" "Hoạt hóa tiểu sử sơ lược chỉ cho người dùng có/không phải là thành viên của " "nhóm được chọn." #: _from_rc.cc:54 msgid "When" msgstr "Khi" #: _from_rc.cc:55 msgid "Enter any shell command" msgstr "Hãy nhập bất cứ lệnh hệ vỏ nào" #: _from_rc.cc:56 msgid "executes successfully" msgstr "chạy được" #: _from_rc.cc:57 msgid "Add" msgstr "Thêm" #: _from_rc.cc:58 msgid "" "Make successful completion of given shell command a requirement for " "activation of this profile" msgstr "Hoạt hóa tiểu sử sơ lược này chỉ khi đã chạy được lệnh hệ vỏ đã cho." #: _from_rc.cc:59 msgid "Deactivate profile completel&y" msgstr "Bất hoạt &hoàn thành tiểu sử sơ lược" #: _from_rc.cc:60 msgid "Adds an unsatisfiable requirement (not in any group)" msgstr "Thêm một tiểu chuẩn không thể thỏa (không phải trong nhóm nào)" #: _from_rc.cc:61 msgid "Listed in" msgstr "Được liệt kê trong" #: _from_rc.cc:62 msgid "*.listing" msgstr "*.listing" #: _from_rc.cc:63 msgid "Append profile description to" msgstr "Thêm mô tả tiểu sử sơ lược vào" #: _from_rc.cc:64 msgid ".listing file where the profile is defined" msgstr "tập tin «.listing» mà tiểu sử sơ lược được định nghĩa" #: _from_rc.cc:65 msgid "&Is new" msgstr "&Là mới" #: _from_rc.cc:66 msgid "Check if shown details (will) describe a new profile" msgstr "Kiểm trà chi tiết được hiển thị có/sẽ diễn tả một tiểu sử sơ lược mới" #: _from_rc.cc:67 msgid "Delete pr&ofile" msgstr "Xóa bỏ tiểu sử s&ơ lược" #: _from_rc.cc:68 msgid "Delete profile whose details are shown" msgstr "Xóa bỏ tiểu sử sơ lưọc có chi tiết được hiển thị" #: _from_rc.cc:69 msgid "Add new profile" msgstr "Thêm tiểu sử sơ lược mới" #: _from_rc.cc:70 msgid "Add/Update profile whose details are shown" msgstr "Thêm / Cập nhật tiểu sử sơ lưọc có chi tiết được hiển thị" #: _from_rc.cc:71 msgid "&Cancel Changes" msgstr "&Thôi các thay đổi" #: _from_rc.cc:72 msgid "Forget changes made to shown profile details" msgstr "Bỏ các thay đổi trong chi tiết của tiểu sử sơ lưọc được hiển thị" #: _from_rc.cc:73 msgid "1st field (=name) of selected profile" msgstr "Trường thứ nhất (=tên) của tiểu sử sơ lưọc được chọn" #: _from_rc.cc:74 msgid "Name:" msgstr "Tên:" #: _from_rc.cc:75 msgid "Precedence:" msgstr "Ưu tiên:" #: _from_rc.cc:76 msgid "Kind:" msgstr "Loại:" #: _from_rc.cc:77 msgid "XDG_CONFIG" msgstr "XDG_CONFIG" #: _from_rc.cc:78 msgid "XDG_DATA" msgstr "XDG_DATA" #: _from_rc.cc:79 msgid "KDE" msgstr "KDE" #: _from_rc.cc:80 msgid "GCONF" msgstr "GCONF" #: _from_rc.cc:81 msgid "GNUSTEP" msgstr "GNUSTEP" #: _from_rc.cc:82 msgid "ROX" msgstr "ROX" #: _from_rc.cc:83 msgid "UDE" msgstr "UDE" #: _from_rc.cc:84 msgid "2nd field (=kind) of selected profile" msgstr "Trường thứ hai (=loại) của tiểu sử sơ lược được chọn" #: _from_rc.cc:85 msgid "4th field (=precedence value) of selected profile" msgstr "Trường thứ tư (=ưu tiên) của tiểu sử sơ lược được chọn" #: _from_rc.cc:86 msgid "Location(s):" msgstr "Ví trị:" #: _from_rc.cc:87 msgid "Description:" msgstr "Mô tả:" #: _from_rc.cc:88 msgid "3rd field of selected profile" msgstr "Trường thứ ba của tiểu sử sơ lược được chọn" #: _from_rc.cc:89 msgid "6th field (=description) of selected profile" msgstr "Trường thứ sáu (=mô tả) của tiểu sử sơ lược được chọn" msgid "Save Changes" msgstr "Lưu thay đổi" #~ msgid "pre&cedence" #~ msgstr "&ưu tiên" desktop-profiles-git/po/it.po0000644000000000000000000002261712650773613013433 0ustar msgid "" msgstr "" "Project-Id-Version: desktop-profiles\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-28 23:07+0200\n" "PO-Revision-Date: 2005-09-28 23:06+0100\n" "Last-Translator: Marco Presi \n" "Language-Team: debian-l10n-italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #: _from_rc.cc:1 msgid "Desktop-Profile Manager" msgstr "Desktop-Profile Manager" #: _from_rc.cc:2 msgid "Drag vertically to hide/unhide the filter section" msgstr "Trascina verticalmente per nascondere/mostrare la sezione dei filtri" #: _from_rc.cc:3 msgid "Only show profiles when:" msgstr "Mostra i profili solo quando" #: _from_rc.cc:4 msgid "&kind matches" msgstr "il tipo corrisponde" #: _from_rc.cc:5 msgid "" "When checked only profiles whose 2nd (=kind) field matches the given regular " "expression are shown" msgstr "" "Se selezionato, verranno mostrati solo i profili il cui secondo campo " "(=tipo) corrisponde all'espressione regolare" #: _from_rc.cc:6 msgid "re&quirement matches" msgstr "Corrisponde ai re&quisiti" #: _from_rc.cc:7 msgid "" "When checked only profiles whose 5th (=requirements) field matches the given " "regular expression are shown" msgstr "" "Se selezionato, verranno mostrati solo i profili in cui il quinto campo " "(=requisiti) corrisponde all'espessione regolare" #: _from_rc.cc:8 msgid "&precedence" msgstr "&precedenza" #: _from_rc.cc:9 msgid "" "When checked only profiles whose precedence value satifies the given " "comparison are shown" msgstr "" "Se selezionato, verranno mostrati solo i profili in cui il valore di " "precedenza soddisfa il confronto" #: _from_rc.cc:10 msgid ">" msgstr ">" #: _from_rc.cc:11 msgid ">=" msgstr ">=" #: _from_rc.cc:12 msgid "<" msgstr "<" #: _from_rc.cc:13 msgid "<=" msgstr "<=" #: _from_rc.cc:14 msgid "<>" msgstr "<>" #: _from_rc.cc:15 _from_rc.cc:16 _from_rc.cc:21 _from_rc.cc:22 _from_rc.cc:23 msgid "Takes a regular expression" msgstr "Accetta un'espressione regolare" #: _from_rc.cc:17 msgid "Takes a numerical value (may be negative)" msgstr "Accetta un valore numerico (anche negativo)" #: _from_rc.cc:18 msgid "req&uirements are met for" msgstr "re&quisiti soddisfatti per" #: _from_rc.cc:19 msgid "" "When checked only profiles whose requirements are met for the selected user " "are shown" msgstr "" "Se selezionato, verranno mostrati solo i profili in cui i requisiti sono " "soddisfatti per l'utente selezionato" #: _from_rc.cc:20 msgid "list of user accounts on this system" msgstr "lista di utenti su questo sistema" #: _from_rc.cc:24 msgid "Sort profile list on" msgstr "Ordina la lista dei profili in base a" #: _from_rc.cc:25 _from_rc.cc:32 msgid "Shown profiles are sorted on the contents of the selected field" msgstr "" "I profili mostrati sono ordinati in base ai contenuti dei campi selezionati" #: _from_rc.cc:26 msgid "name" msgstr "nome" #: _from_rc.cc:27 msgid "kind" msgstr "tipo" #: _from_rc.cc:28 msgid "location" msgstr "luogo" #: _from_rc.cc:29 msgid "precedence" msgstr "precedenza" #: _from_rc.cc:30 msgid "requirements" msgstr "requisiti" #: _from_rc.cc:31 msgid "description" msgstr "descrizione" #: _from_rc.cc:33 msgid "&name matches" msgstr "il &nome corrisponde" #: _from_rc.cc:34 msgid "" "When checked only profiles whose 1st (=name) field matches the given regular " "expression are shown" msgstr "" "Se selezionato, verranno mostrati solo i profili il cui primo campo (=nome) " "corrisponde all'espressione regolare" #: _from_rc.cc:35 msgid "&description matches" msgstr "la &descrizione corrisponde" #: _from_rc.cc:36 msgid "" "When checked only profiles whose 6th (=description) field matches the given " "regular expression are shown" msgstr "" "Se selezioanto, verranno mostrati solo i profili in cui il sesto campo " "(=descrizione) corrisponde all'espressione regolare" #: _from_rc.cc:37 msgid "location &matches" msgstr "il &luogo corrisponde" #: _from_rc.cc:38 msgid "" "When checked only profiles whose 3rd (=location) field matches the given " "regular expression are shown" msgstr "" "Se selezionato, verranno mostrati solo i profili in cui il terzo campo " "(=luogo) corrisponde all'espressione regolare" #: _from_rc.cc:39 msgid "List of profiles found in processed .listing files" msgstr "Lista dei profili ottenuta processando il file .listing" #: _from_rc.cc:40 msgid "Profile Details" msgstr "Dettagli dei profili" #: _from_rc.cc:41 msgid "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" msgstr "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" #: _from_rc.cc:42 msgid "Activation requirements:" msgstr "Requisiti di attivazione" #: _from_rc.cc:43 msgid "" "list of activation requirements (contained in the 5th field) of selected " "profile" msgstr "" "lista dei requisiti di attivazione (contenuti nel quinto campo) del profilo " "selezionato" #: _from_rc.cc:44 msgid "Remo&ve selected" msgstr "Rimuove la &selezione" #: _from_rc.cc:45 msgid "Removes selected activation requirement from the list" msgstr "Rimuove il requisito di attivazione selezionato dalla lista" #: _from_rc.cc:46 msgid "New activation requirement:" msgstr "Nuovo requisito di attivazione" #: _from_rc.cc:47 msgid "When the user is" msgstr "Quano l'utente" #: _from_rc.cc:48 msgid "a member of" msgstr " un membro di" #: _from_rc.cc:49 msgid "not member of " msgstr "non membro di" #: _from_rc.cc:50 msgid "" "Your choice here determines whether the new requirement concerns membership " "or non-membership" msgstr "" "La tua scelta determina se il nuovo requisito rigurda l'appartenenza o la " "non appartenenza ad un gruppo" #: _from_rc.cc:51 msgid "" "Choose the group for which (non-)membership is needed to activate this " "profile" msgstr "" "Scegli il gruppo per il quale la (non) appartenza al gruppo richiesta per " "attivare questo profilo" #: _from_rc.cc:52 msgid "&Add" msgstr "&Aggiungi" #: _from_rc.cc:53 msgid "" "Only activate profile for users that are (not) a member of the selected group" msgstr "" "Attiva il profilo solo per gli utenti che sono (o non sono) membri del " "gruppo selezionato" #: _from_rc.cc:54 msgid "When" msgstr "Quando" #: _from_rc.cc:55 msgid "Enter any shell command" msgstr "Inserisci un comando da shell" #: _from_rc.cc:56 msgid "executes successfully" msgstr "esegue con successo" #: _from_rc.cc:57 msgid "Add" msgstr "Aggiungi" #: _from_rc.cc:58 msgid "" "Make successful completion of given shell command a requirement for " "activation of this profile" msgstr "" "Fai in modo che l'attivazione del profilo abbia come requisito il " "completamento per i comandi della shell" #: _from_rc.cc:59 msgid "Deactivate profile completel&y" msgstr "Disatti&vare completamente il profilo" #: _from_rc.cc:60 msgid "Adds an unsatisfiable requirement (not in any group)" msgstr "Aggiunge un requisito che non possibile fornire (non in ogni gruppo)" #: _from_rc.cc:61 msgid "Listed in" msgstr "Elencati in" #: _from_rc.cc:62 msgid "*.listing" msgstr "*.listing" #: _from_rc.cc:63 msgid "Append profile description to" msgstr "Aggiungi la descrizione del profilo al" #: _from_rc.cc:64 msgid ".listing file where the profile is defined" msgstr "file .listing in cui il profilo definito" #: _from_rc.cc:65 msgid "&Is new" msgstr "&E' nuovo" #: _from_rc.cc:66 msgid "Check if shown details (will) describe a new profile" msgstr "Controlla se i dettagli mostrati descriveranno un profilo" #: _from_rc.cc:67 msgid "Delete pr&ofile" msgstr "Rimuovi un pr&ofilo" #: _from_rc.cc:68 msgid "Delete profile whose details are shown" msgstr "Rimuovi i profili i cui dettagli sono mostrati" #: _from_rc.cc:69 msgid "Add new profile" msgstr "Aggiungi un nuovo profilo" #: _from_rc.cc:70 msgid "Add/Update profile whose details are shown" msgstr "Aggiungi/Aggiorna i profili i cui dettagli sono mostrati" #: _from_rc.cc:71 msgid "&Cancel Changes" msgstr "&Cancella le modifiche" #: _from_rc.cc:72 msgid "Forget changes made to shown profile details" msgstr "Dimentica i cambiamenti fatti per mostrare i dettagli del profilo" #: _from_rc.cc:73 msgid "1st field (=name) of selected profile" msgstr "Primo campo (=nome) del profilo scelto" #: _from_rc.cc:74 msgid "Name:" msgstr "Nome" #: _from_rc.cc:75 msgid "Precedence:" msgstr "Precedenza" #: _from_rc.cc:76 msgid "Kind:" msgstr "Tipo:" #: _from_rc.cc:77 msgid "XDG_CONFIG" msgstr "XDG_CONFIG" #: _from_rc.cc:78 msgid "XDG_DATA" msgstr "XDG_DATA" #: _from_rc.cc:79 msgid "KDE" msgstr "KDE" #: _from_rc.cc:80 msgid "GCONF" msgstr "GCONF" #: _from_rc.cc:81 msgid "GNUSTEP" msgstr "GNUSTEP" #: _from_rc.cc:82 msgid "ROX" msgstr "ROX" #: _from_rc.cc:83 msgid "UDE" msgstr "UDE" #: _from_rc.cc:84 msgid "2nd field (=kind) of selected profile" msgstr "Secondo campo (=tipo) del profilo scelto" #: _from_rc.cc:85 msgid "4th field (=precedence value) of selected profile" msgstr "Quarto campo (=valore di precedenza) del profilo scelto" #: _from_rc.cc:86 msgid "Location(s):" msgstr "Posizioni" #: _from_rc.cc:87 msgid "Description:" msgstr "Descrizione" #: _from_rc.cc:88 msgid "3rd field of selected profile" msgstr "Terzo campo del profilo scelto" #: _from_rc.cc:89 msgid "6th field (=description) of selected profile" msgstr "Sesto campo (=descrizione) del profilo scelto" msgid "Save Changes" msgstr "Salva le modifiche" #~ msgid "pre&cedence" #~ msgstr "precedenza" desktop-profiles-git/po/sv.po0000644000000000000000000002474012650773613013446 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: profile-manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-28 23:07+0200\n" "PO-Revision-Date: 2005-11-05 19:53+0100\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Swedish\n" "X-Poedit-Country: SWEDEN\n" "X-Poedit-SourceCharset: iso-8859-1\n" #: _from_rc.cc:1 msgid "Desktop-Profile Manager" msgstr "Hantera skrivbordsprofiler" #: _from_rc.cc:2 msgid "Drag vertically to hide/unhide the filter section" msgstr "Dra vertikalt fr att gmma/ta fram filtersektionen" #: _from_rc.cc:3 msgid "Only show profiles when:" msgstr "Visa bara profiler nr:" #: _from_rc.cc:4 msgid "&kind matches" msgstr "sort matchar" #: _from_rc.cc:5 msgid "" "When checked only profiles whose 2nd (=kind) field matches the given regular " "expression are shown" msgstr "" "Nr vald kommer profiler vars 2:a (=sort) flt matchar det angivna regulra " "uttrycket bara att visas" #: _from_rc.cc:6 msgid "re&quirement matches" msgstr "krav matchar" #: _from_rc.cc:7 msgid "" "When checked only profiles whose 5th (=requirements) field matches the given " "regular expression are shown" msgstr "" "Nr vald kommer profiler vars 5:e (=krav) flt matchar det angivna regulra " "uttrycket bara att visas" #: _from_rc.cc:8 msgid "&precedence" msgstr "inledande" #: _from_rc.cc:9 msgid "" "When checked only profiles whose precedence value satifies the given " "comparison are shown" msgstr "" "Nr vald kommer profiler vars inledande vrde tillfredsstller den angivna " "jmfrelsen bara att visas" # shouldn't be translated, # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:10 msgid ">" msgstr ">" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:11 msgid ">=" msgstr ">=" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:12 msgid "<" msgstr "<" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:13 msgid "<=" msgstr "<=" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:14 msgid "<>" msgstr "<>" #: _from_rc.cc:15 _from_rc.cc:16 _from_rc.cc:21 _from_rc.cc:22 _from_rc.cc:23 msgid "Takes a regular expression" msgstr "Tar ett regulrt uttryck" #: _from_rc.cc:17 msgid "Takes a numerical value (may be negative)" msgstr "Tar ett numeriskt vrde (kan vara negativt)" #: _from_rc.cc:18 msgid "req&uirements are met for" msgstr "krav mts fr" #: _from_rc.cc:19 msgid "" "When checked only profiles whose requirements are met for the selected user " "are shown" msgstr "" "Nr vald kommer profiler vars krav mts fr den valda anvndaren bara att " "visas" #: _from_rc.cc:20 msgid "list of user accounts on this system" msgstr "lista av anvndarkonton p detta system" #: _from_rc.cc:24 msgid "Sort profile list on" msgstr "Sortera profillistan efter" #: _from_rc.cc:25 _from_rc.cc:32 msgid "Shown profiles are sorted on the contents of the selected field" msgstr "Visade profiler r sorterade efter innehll av det valda fltet" #: _from_rc.cc:26 msgid "name" msgstr "namn" #: _from_rc.cc:27 msgid "kind" msgstr "sort" #: _from_rc.cc:28 msgid "location" msgstr "plats" #: _from_rc.cc:29 msgid "precedence" msgstr "inledning" #: _from_rc.cc:30 msgid "requirements" msgstr "krav" #: _from_rc.cc:31 msgid "description" msgstr "beskrivning" #: _from_rc.cc:33 msgid "&name matches" msgstr "&namn matchar" #: _from_rc.cc:34 msgid "" "When checked only profiles whose 1st (=name) field matches the given regular " "expression are shown" msgstr "" "Nr vald kommer profiler vars 1:a (=namn) flt matchar det regulra " "uttrycket bara att visas" #: _from_rc.cc:35 msgid "&description matches" msgstr "beskrivning matchar" #: _from_rc.cc:36 msgid "" "When checked only profiles whose 6th (=description) field matches the given " "regular expression are shown" msgstr "" "Nr vald kommer profiler vars 6:e (=beskrivning) flt matchar det angivna " "regulra uttrycket bara att visas" #: _from_rc.cc:37 msgid "location &matches" msgstr "platsen st&mmer" #: _from_rc.cc:38 msgid "" "When checked only profiles whose 3rd (=location) field matches the given " "regular expression are shown" msgstr "" "Nr vald kommer profiler vars 3:e (=plats) flt matchar det angivna regulra " "uttrycket bara att visas" #: _from_rc.cc:39 msgid "List of profiles found in processed .listing files" msgstr "Lista profiler funna i behandlade .listing-filer" #: _from_rc.cc:40 msgid "Profile Details" msgstr "Profildetaljer" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:41 msgid "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" msgstr "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" #: _from_rc.cc:42 msgid "Activation requirements:" msgstr "Aktiveringskrav:" #: _from_rc.cc:43 msgid "" "list of activation requirements (contained in the 5th field) of selected " "profile" msgstr "lista av aktiveringskrav (innehll i det 5:e fltet) av vald profil" #: _from_rc.cc:44 msgid "Remo&ve selected" msgstr "Ta bort &vald" #: _from_rc.cc:45 msgid "Removes selected activation requirement from the list" msgstr "Tar bort det valda aktiveringskravet frn listan" #: _from_rc.cc:46 msgid "New activation requirement:" msgstr "Nytt aktiveringskrav:" #: _from_rc.cc:47 msgid "When the user is" msgstr "Nr anvndaren r" #: _from_rc.cc:48 msgid "a member of" msgstr "medlem av" #: _from_rc.cc:49 msgid "not member of " msgstr "inte medlem av" #: _from_rc.cc:50 msgid "" "Your choice here determines whether the new requirement concerns membership " "or non-membership" msgstr "" "Ditt val hr bestmmer om det nya kravet gller fr medlemskap eller icke-" "medlemskap" #: _from_rc.cc:51 msgid "" "Choose the group for which (non-)membership is needed to activate this " "profile" msgstr "" "Vlj grupp fr vilken (icke-)medlemskap behvs fr att aktivera denna profil" #: _from_rc.cc:52 msgid "&Add" msgstr "Lgg till" #: _from_rc.cc:53 msgid "" "Only activate profile for users that are (not) a member of the selected group" msgstr "" "Bara aktivera profil fr anvndare som (inte) r medlem av den valda gruppen" #: _from_rc.cc:54 msgid "When" msgstr "Nr" #: _from_rc.cc:55 msgid "Enter any shell command" msgstr "Ange ett skalkommando" #: _from_rc.cc:56 msgid "executes successfully" msgstr "exekvering lyckades" #: _from_rc.cc:57 msgid "Add" msgstr "Lgg till" #: _from_rc.cc:58 msgid "" "Make successful completion of given shell command a requirement for " "activation of this profile" msgstr "" "Gr lyckad genomfrning av angivet skalkommando ett krav fr aktivering av " "denna profil" #: _from_rc.cc:59 msgid "Deactivate profile completel&y" msgstr "Avaktiverar profilen totalt" #: _from_rc.cc:60 msgid "Adds an unsatisfiable requirement (not in any group)" msgstr "Lgger till ett otillfredsstllt krav (inte i ngon grupp)" #: _from_rc.cc:61 msgid "Listed in" msgstr "Listad i" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:62 msgid "*.listing" msgstr "*.listing" #: _from_rc.cc:63 msgid "Append profile description to" msgstr "Lgg till profilbeskrivning till" #: _from_rc.cc:64 msgid ".listing file where the profile is defined" msgstr ".listing fil dr profilen r definierad" #: _from_rc.cc:65 msgid "&Is new" msgstr "r ny" #: _from_rc.cc:66 msgid "Check if shown details (will) describe a new profile" msgstr "Kontrollera om visade detaljer (kommer att) beskriva en ny profil" #: _from_rc.cc:67 msgid "Delete pr&ofile" msgstr "Ta bort pr&ofil" #: _from_rc.cc:68 msgid "Delete profile whose details are shown" msgstr "Ta bort profil vars detaljer visas" #: _from_rc.cc:69 msgid "Add new profile" msgstr "Lgg till ny profil" #: _from_rc.cc:70 msgid "Add/Update profile whose details are shown" msgstr "Lgg till/Uppdatera profil vars detaljer visas" #: _from_rc.cc:71 msgid "&Cancel Changes" msgstr "Avbryt ndringar" #: _from_rc.cc:72 msgid "Forget changes made to shown profile details" msgstr "Kasta ndringar gjorda fr visade profildetaljer" #: _from_rc.cc:73 msgid "1st field (=name) of selected profile" msgstr "1:a fltet (=namn) av vald profil" #: _from_rc.cc:74 msgid "Name:" msgstr "Namn:" #: _from_rc.cc:75 msgid "Precedence:" msgstr "Inledande:" #: _from_rc.cc:76 msgid "Kind:" msgstr "Sort:" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:77 msgid "XDG_CONFIG" msgstr "XDG_CONFIG" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:78 msgid "XDG_DATA" msgstr "XDG_DATA" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:79 msgid "KDE" msgstr "KDE" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:80 msgid "GCONF" msgstr "GCONF" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:81 msgid "GNUSTEP" msgstr "GNUSTEP" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:82 msgid "ROX" msgstr "ROX" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:83 msgid "UDE" msgstr "UDE" #: _from_rc.cc:84 msgid "2nd field (=kind) of selected profile" msgstr "2:a fltet (=sort) av vald profil" #: _from_rc.cc:85 msgid "4th field (=precedence value) of selected profile" msgstr "4:e fltet (=inledande vrd) av vald profil" #: _from_rc.cc:86 msgid "Location(s):" msgstr "Plats(er):" #: _from_rc.cc:87 msgid "Description:" msgstr "Beskrivning:" #: _from_rc.cc:88 msgid "3rd field of selected profile" msgstr "3:e fltet av vald profil" #: _from_rc.cc:89 msgid "6th field (=description) of selected profile" msgstr "6:e fltet (=beskrivning) av vald profil" msgid "Save Changes" msgstr "Spara ndringar" desktop-profiles-git/po/nl.po0000644000000000000000000002323112650773613013421 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: desktop-profiles\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-28 23:07+0200\n" "PO-Revision-Date: 2005-09-28 23:06+0100\n" "Last-Translator: Bart Cornelis \n" "Language-Team: debian-l10n-dutch \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #: _from_rc.cc:1 msgid "Desktop-Profile Manager" msgstr "Desktop-profiel Beheersprogramma" #: _from_rc.cc:2 msgid "Drag vertically to hide/unhide the filter section" msgstr "" "Omhoog/omlaag slepen om de filter-sectie te verbergen/te voorschijn te tonen." #: _from_rc.cc:3 msgid "Only show profiles when:" msgstr "Profielen enkel tonen als:" #: _from_rc.cc:4 msgid "&kind matches" msgstr "&soort overeenkomt met" #: _from_rc.cc:5 msgid "" "When checked only profiles whose 2nd (=kind) field matches the given regular " "expression are shown" msgstr "" "Wanneer aangevinkt worden enkel die profielen wiens soort (2e veld) voldoet " "aan de gegeven reguliere expressie weergegeven" #: _from_rc.cc:6 msgid "re&quirement matches" msgstr "ver&eisten overeenkomen met" #: _from_rc.cc:7 msgid "" "When checked only profiles whose 5th (=requirements) field matches the given " "regular expression are shown" msgstr "" "Wanneer aangevinkt worden enkel die profielen wiens vereisten (5e veld) " "voldoen aan de gegeven reguliere expressie weergegeven" #: _from_rc.cc:8 msgid "&precedence" msgstr "&prioriteit" #: _from_rc.cc:9 msgid "" "When checked only profiles whose precedence value satifies the given " "comparison are shown" msgstr "" "Wanneer aangevinkt worden enkel die profielen wiens prioriteit (4e veld) " "voldoet aan de gegeven reguliere expressie weergegeven" #: _from_rc.cc:10 msgid ">" msgstr ">" #: _from_rc.cc:11 msgid ">=" msgstr ">=" #: _from_rc.cc:12 msgid "<" msgstr "<" #: _from_rc.cc:13 msgid "<=" msgstr "<=" #: _from_rc.cc:14 msgid "<>" msgstr "<>" #: _from_rc.cc:15 _from_rc.cc:16 _from_rc.cc:21 _from_rc.cc:22 _from_rc.cc:23 msgid "Takes a regular expression" msgstr "Dit veld aanvaard reguliere expressies" #: _from_rc.cc:17 msgid "Takes a numerical value (may be negative)" msgstr "Dit veld aanvaard nummers (negatief mag)" #: _from_rc.cc:18 msgid "req&uirements are met for" msgstr "vereisten in orde voor" #: _from_rc.cc:19 msgid "" "When checked only profiles whose requirements are met for the selected user " "are shown" msgstr "" "Wanneer aangevinkt worden enkel die profielen wiens vereisten voldaan worden " "voor de geselecteerde gebruiker weergegeven" #: _from_rc.cc:20 msgid "list of user accounts on this system" msgstr "lijst op dit systeem gevonden gebruikers" #: _from_rc.cc:24 msgid "Sort profile list on" msgstr "Profielen sorteren op" #: _from_rc.cc:25 _from_rc.cc:32 msgid "Shown profiles are sorted on the contents of the selected field" msgstr "De getoonde profielen worden gesorteerd op het geselecteerde veld" #: _from_rc.cc:26 msgid "name" msgstr "naam" #: _from_rc.cc:27 msgid "kind" msgstr "soort" #: _from_rc.cc:28 msgid "location" msgstr "locatie" #: _from_rc.cc:29 msgid "precedence" msgstr "prioriteit" #: _from_rc.cc:30 msgid "requirements" msgstr "vereisten" #: _from_rc.cc:31 msgid "description" msgstr "beschrijving" #: _from_rc.cc:33 msgid "&name matches" msgstr "&naam overeenkomt met" #: _from_rc.cc:34 msgid "" "When checked only profiles whose 1st (=name) field matches the given regular " "expression are shown" msgstr "" "Wanneer aangevinkt worden enkel die profielen wiens naam (1e veld) voldoet " "aan de gegeven reguliere expressie weergegeven" #: _from_rc.cc:35 msgid "&description matches" msgstr "&beschrijving overeenkomt met " #: _from_rc.cc:36 msgid "" "When checked only profiles whose 6th (=description) field matches the given " "regular expression are shown" msgstr "" "Wanneer aangevinkt worden enkel die profielen wiens beschrijving (6e veld) " "voldoet aan de gegeven reguliere expressie weergegeven" #: _from_rc.cc:37 msgid "location &matches" msgstr "&locatie overeenkomt met" #: _from_rc.cc:38 msgid "" "When checked only profiles whose 3rd (=location) field matches the given " "regular expression are shown" msgstr "" "Wanneer aangevinkt worden enkel die profielen wiens locatie (3e veld) " "voldoet aan de gegeven reguliere expressie weergegeven" #: _from_rc.cc:39 msgid "List of profiles found in processed .listing files" msgstr "Lijst van gevonden profielen" #: _from_rc.cc:40 msgid "Profile Details" msgstr "Profieldetails" #: _from_rc.cc:41 msgid "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" msgstr "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" #: _from_rc.cc:42 msgid "Activation requirements:" msgstr "Vereisten voor activatie:" #: _from_rc.cc:43 msgid "" "list of activation requirements (contained in the 5th field) of selected " "profile" msgstr "" "lijst met vereisten voor activatie (wordt opgenomen in het 5e veld) van het " "geselecteerde profiel" #: _from_rc.cc:44 msgid "Remo&ve selected" msgstr "Geselecteerd vereiste &verwijderen" #: _from_rc.cc:45 msgid "Removes selected activation requirement from the list" msgstr "Geselecteerde vereiste uit de lijst verwijderen" #: _from_rc.cc:46 msgid "New activation requirement:" msgstr "Nieuwe activatie-vereiste" #: _from_rc.cc:47 msgid "When the user is" msgstr "Wanneer de gebruiker" #: _from_rc.cc:48 msgid "a member of" msgstr "lid is van" #: _from_rc.cc:49 msgid "not member of " msgstr "geen lid is van" #: _from_rc.cc:50 msgid "" "Your choice here determines whether the new requirement concerns membership " "or non-membership" msgstr "" "Uw keuze hier geeft aan of de nieuwe vereiste het lid zijn van of net het " "niet lid zijn van betreft" #: _from_rc.cc:51 msgid "" "Choose the group for which (non-)membership is needed to activate this " "profile" msgstr "" "Kies de groep waarvoor (niet) lid zijn nodig is om dit profiel te activeren" #: _from_rc.cc:52 msgid "&Add" msgstr "Toevoegen" #: _from_rc.cc:53 msgid "" "Only activate profile for users that are (not) a member of the selected group" msgstr "" "Profiel enkel activeren voor gebruikers die (geen) lid zin van de " "geselecteerde groep" #: _from_rc.cc:54 msgid "When" msgstr "Als" #: _from_rc.cc:55 msgid "Enter any shell command" msgstr "Voer om het even wel shell-commando in" #: _from_rc.cc:56 msgid "executes successfully" msgstr "succesvol beeindigd" #: _from_rc.cc:57 msgid "Add" msgstr "+" #: _from_rc.cc:58 msgid "" "Make successful completion of given shell command a requirement for " "activation of this profile" msgstr "" "Maakt de succesvolle beeinding van het gegeven shell-commando een vereiste " "voor activatie van dit profiel." #: _from_rc.cc:59 msgid "Deactivate profile completel&y" msgstr "Profiel volledig &deactiveren" #: _from_rc.cc:60 msgid "Adds an unsatisfiable requirement (not in any group)" msgstr "" "Voegt een niet tegemoet te komende vereiste toe (gebruiker behoort tot geen " "enkele groep)" #: _from_rc.cc:61 msgid "Listed in" msgstr "Komt uit " #: _from_rc.cc:62 msgid "*.listing" msgstr "*.listing" #: _from_rc.cc:63 msgid "Append profile description to" msgstr "Profielbeschrijving toevoegen aan" #: _from_rc.cc:64 msgid ".listing file where the profile is defined" msgstr "(.listing)-bestand waar de metadata van dit profiel in zit" #: _from_rc.cc:65 msgid "&Is new" msgstr "&Is nieuw" #: _from_rc.cc:66 msgid "Check if shown details (will) describe a new profile" msgstr "" "Vink dit aan wanneer de getoonde details een nieuw profiel (zullen) " "beschrijven" #: _from_rc.cc:67 msgid "Delete pr&ofile" msgstr "&Profiel Verwijderen" #: _from_rc.cc:68 msgid "Delete profile whose details are shown" msgstr "Verwijdert het weergegeven profiel" #: _from_rc.cc:69 msgid "Add new profile" msgstr "Nieuw Profiel &Toevoegen" #: _from_rc.cc:70 msgid "Add/Update profile whose details are shown" msgstr "Weergegeven profiel toevoegen/bijwerken" #: _from_rc.cc:71 msgid "&Cancel Changes" msgstr "&Aanpassingen Annuleren" #: _from_rc.cc:72 msgid "Forget changes made to shown profile details" msgstr "Vergeet gemaakte aanpassingen voor het getoonde profiel" #: _from_rc.cc:73 msgid "1st field (=name) of selected profile" msgstr "1e veld (=naam) van het geselecteerde profiel" #: _from_rc.cc:74 msgid "Name:" msgstr "Naam:" #: _from_rc.cc:75 msgid "Precedence:" msgstr "Prioriteit:" #: _from_rc.cc:76 msgid "Kind:" msgstr "Soort:" #: _from_rc.cc:77 msgid "XDG_CONFIG" msgstr "XDG_CONFIG" #: _from_rc.cc:78 msgid "XDG_DATA" msgstr "XDG_DATA" #: _from_rc.cc:79 msgid "KDE" msgstr "KDE" #: _from_rc.cc:80 msgid "GCONF" msgstr "GCONF" #: _from_rc.cc:81 msgid "GNUSTEP" msgstr "GNUSTEP" #: _from_rc.cc:82 msgid "ROX" msgstr "ROX" #: _from_rc.cc:83 msgid "UDE" msgstr "UDE" #: _from_rc.cc:84 msgid "2nd field (=kind) of selected profile" msgstr "2de veld (=soort) van het geselecteerde profiel" #: _from_rc.cc:85 msgid "4th field (=precedence value) of selected profile" msgstr "4e veld (=prioriteit) van het geselecteerde profiel" #: _from_rc.cc:86 msgid "Location(s):" msgstr "Locatie(s)" #: _from_rc.cc:87 msgid "Description:" msgstr "Beschrijving:" #: _from_rc.cc:88 msgid "3rd field of selected profile" msgstr "3e veld van het geselecteerde profiel" #: _from_rc.cc:89 msgid "6th field (=description) of selected profile" msgstr "6e veld (=beschrijving) van het geselecteerde profiel" msgid "Save Changes" msgstr "&Aanpassingen Opslaan" #~ msgid "pre&cedence" #~ msgstr "prioriteit" desktop-profiles-git/po/pt_BR.po0000644000000000000000000002574612650773613014033 0ustar # translation of desktop-profiles. # Copyright (C) 2006 THE desktop-profiles'S COPYRIGHT HOLDER # This file is distributed under the same license as the desktop-profiles # package. # Felipe Augusto van de Wiel (faw) , 2006 # # msgid "" msgstr "" "Project-Id-Version: desktop-profiles VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-28 23:07+0200\n" "PO-Revision-Date: 2006-01-15 02:18-0200\n" "Last-Translator: Felipe Augusto van de Wiel (faw) \n" "Language-Team: l10n portuguese \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "pt_BR utf-8\n" #: _from_rc.cc:1 msgid "Desktop-Profile Manager" msgstr "Gerenciador de Perfis de Desktop (\"Desktop-Profile\")" #: _from_rc.cc:2 msgid "Drag vertically to hide/unhide the filter section" msgstr "Arraste verticalmente para ocultar/exibir a seção de filtros" #: _from_rc.cc:3 msgid "Only show profiles when:" msgstr "Exibir filtros somente quando:" #: _from_rc.cc:4 msgid "&kind matches" msgstr "tipo corresponde (&k)" #: _from_rc.cc:5 msgid "" "When checked only profiles whose 2nd (=kind) field matches the given regular " "expression are shown" msgstr "" "Quando marcado, apenas perfis cujo 2o campo (=tipo) correspondem à expressão " "regular dada são exibidos" #: _from_rc.cc:6 msgid "re&quirement matches" msgstr "re&quisito corresponde" #: _from_rc.cc:7 msgid "" "When checked only profiles whose 5th (=requirements) field matches the given " "regular expression are shown" msgstr "" "Quando marcado, apenas perfis cujo quinto (=requisitos) campo corresponderem " "à expressão regular dada serão exibidos" #: _from_rc.cc:8 msgid "&precedence" msgstr "&precedência" #: _from_rc.cc:9 msgid "" "When checked only profiles whose precedence value satifies the given " "comparison are shown" msgstr "" "Quando marcado, apenas perfis cujo valor precedência satisfaz a comparação " "dada são exibidos" # shouldn't be translated, # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:10 msgid ">" msgstr ">" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:11 msgid ">=" msgstr ">=" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:12 msgid "<" msgstr "<" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:13 msgid "<=" msgstr "<=" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:14 msgid "<>" msgstr "<>" #: _from_rc.cc:15 _from_rc.cc:16 _from_rc.cc:21 _from_rc.cc:22 _from_rc.cc:23 msgid "Takes a regular expression" msgstr "Recebe uma expressão regular" #: _from_rc.cc:17 msgid "Takes a numerical value (may be negative)" msgstr "Recebe um valor numérico (pode ser negativo)" #: _from_rc.cc:18 msgid "req&uirements are met for" msgstr "req&uerimentos são comparados para" #: _from_rc.cc:19 msgid "" "When checked only profiles whose requirements are met for the selected user " "are shown" msgstr "" "Quando marcado, apenas perfis cujos \"requisitos\" correspondem ao usuário " "selecionado são exibidos" #: _from_rc.cc:20 msgid "list of user accounts on this system" msgstr "lista de contas de usuários neste sistema" #: _from_rc.cc:24 msgid "Sort profile list on" msgstr "Ordenar a lista de perfis" #: _from_rc.cc:25 _from_rc.cc:32 msgid "Shown profiles are sorted on the contents of the selected field" msgstr "Exibir perfis ordenados pelo conteúdo do campo selecionado" #: _from_rc.cc:26 msgid "name" msgstr "nome" #: _from_rc.cc:27 msgid "kind" msgstr "tipo" #: _from_rc.cc:28 msgid "location" msgstr "localização" #: _from_rc.cc:29 msgid "precedence" msgstr "precedência" #: _from_rc.cc:30 msgid "requirements" msgstr "requisitos" #: _from_rc.cc:31 msgid "description" msgstr "descrição" #: _from_rc.cc:33 msgid "&name matches" msgstr "&nome corresponde" #: _from_rc.cc:34 msgid "" "When checked only profiles whose 1st (=name) field matches the given regular " "expression are shown" msgstr "" "Quando marcado, apenas perfis cujo primeiro campo (=nome) corresponde à " "expressão regular dada serão exibidos" #: _from_rc.cc:35 msgid "&description matches" msgstr "&descrição corresponde" #: _from_rc.cc:36 msgid "" "When checked only profiles whose 6th (=description) field matches the given " "regular expression are shown" msgstr "" "Quando marcado, apenas perfis cujo sexto campo (=descrição) corresponde à " "expressão regular dada são exibidos" #: _from_rc.cc:37 msgid "location &matches" msgstr "localização &" #: _from_rc.cc:38 msgid "" "When checked only profiles whose 3rd (=location) field matches the given " "regular expression are shown" msgstr "" "Quando marcado, apenas perfis cujo terceiro campo (=localização) corresponde " "à expressão regular dada são exibidos" #: _from_rc.cc:39 msgid "List of profiles found in processed .listing files" msgstr "Lista dos perfis encontrados no processamento dos arquivos .listing" #: _from_rc.cc:40 msgid "Profile Details" msgstr "Detalhes do Perfil" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:41 msgid "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" msgstr "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" #: _from_rc.cc:42 msgid "Activation requirements:" msgstr "Requisitos de ativação:" #: _from_rc.cc:43 msgid "" "list of activation requirements (contained in the 5th field) of selected " "profile" msgstr "" "lista dos requisitos de ativação (contido no quinto campo) do perfil " "selecionado" #: _from_rc.cc:44 msgid "Remo&ve selected" msgstr "Remo&ver selecionados" #: _from_rc.cc:45 msgid "Removes selected activation requirement from the list" msgstr "Remove da lista os requisitos de ativação selecionados" #: _from_rc.cc:46 msgid "New activation requirement:" msgstr "Novo requisito de ativação:" #: _from_rc.cc:47 msgid "When the user is" msgstr "Quando o usuário é" #: _from_rc.cc:48 msgid "a member of" msgstr "um membro de" #: _from_rc.cc:49 msgid "not member of " msgstr "não membro de" #: _from_rc.cc:50 msgid "" "Your choice here determines whether the new requirement concerns membership " "or non-membership" msgstr "" "Sua escolha aqui determina quando um novo requisito se aplica a membros ou " "não membros" #: _from_rc.cc:51 msgid "" "Choose the group for which (non-)membership is needed to activate this " "profile" msgstr "" "Escolha o grupo para o qual é necessário ser (ou não) membro para ativar " "este perfil" #: _from_rc.cc:52 msgid "&Add" msgstr "&Adicionar" #: _from_rc.cc:53 msgid "" "Only activate profile for users that are (not) a member of the selected group" msgstr "" "Ativar somente perfis para usuário que são (ou não) um membro do grupo " "selecionado" #: _from_rc.cc:54 msgid "When" msgstr "Quando" #: _from_rc.cc:55 msgid "Enter any shell command" msgstr "Entre qualquer comando de shell" #: _from_rc.cc:56 msgid "executes successfully" msgstr "executado com sucesso" #: _from_rc.cc:57 msgid "Add" msgstr "Adicionar" #: _from_rc.cc:58 msgid "" "Make successful completion of given shell command a requirement for " "activation of this profile" msgstr "" "Faz com que \"completar com sucesso o comando de shell dado\" seja um " "requisito para a ativação deste perfil" #: _from_rc.cc:59 msgid "Deactivate profile completel&y" msgstr "Desativar o perfil completamente" #: _from_rc.cc:60 msgid "Adds an unsatisfiable requirement (not in any group)" msgstr "Adiciona um requisito que não pode ser satisfeito (em nenhum grupo)" #: _from_rc.cc:61 msgid "Listed in" msgstr "Listado em" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:62 msgid "*.listing" msgstr "*.listing" #: _from_rc.cc:63 msgid "Append profile description to" msgstr "Adiciona a descrição do perfil para" #: _from_rc.cc:64 msgid ".listing file where the profile is defined" msgstr "arquivo .listing onde o perfil é definido" #: _from_rc.cc:65 msgid "&Is new" msgstr "É novo (&I)" #: _from_rc.cc:66 msgid "Check if shown details (will) describe a new profile" msgstr "Verifica se detalhes exibidos descrevem o novo perfil" #: _from_rc.cc:67 msgid "Delete pr&ofile" msgstr "Apagar perfil (&o)" #: _from_rc.cc:68 msgid "Delete profile whose details are shown" msgstr "Apaga o perfil cujos detalhes estão sendo exibidos" #: _from_rc.cc:69 msgid "Add new profile" msgstr "Adiciona novo perfil" #: _from_rc.cc:70 msgid "Add/Update profile whose details are shown" msgstr "Adiciona/Atualiza perfil cujos detalhes estão sendo exibidos" #: _from_rc.cc:71 msgid "&Cancel Changes" msgstr "&Cancela Mudanças" #: _from_rc.cc:72 msgid "Forget changes made to shown profile details" msgstr "Esqueça mudanças feitas para exibir os detalhes do perfil" #: _from_rc.cc:73 msgid "1st field (=name) of selected profile" msgstr "1o campo (=nome) do perfil selecionado" #: _from_rc.cc:74 msgid "Name:" msgstr "Nome:" #: _from_rc.cc:75 msgid "Precedence:" msgstr "Precedência:" #: _from_rc.cc:76 msgid "Kind:" msgstr "Tipo:" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:77 msgid "XDG_CONFIG" msgstr "XDG_CONFIG" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:78 msgid "XDG_DATA" msgstr "XDG_DATA" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:79 msgid "KDE" msgstr "KDE" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:80 msgid "GCONF" msgstr "GCONF" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:81 msgid "GNUSTEP" msgstr "GNUSTEP" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:82 msgid "ROX" msgstr "ROX" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:83 msgid "UDE" msgstr "UDE" #: _from_rc.cc:84 msgid "2nd field (=kind) of selected profile" msgstr "2o campo (=tipo) do perfil selecionado" #: _from_rc.cc:85 msgid "4th field (=precedence value) of selected profile" msgstr "4o campo (=valor de precedência) do perfil selecionado" #: _from_rc.cc:86 msgid "Location(s):" msgstr "Localização(ões):" #: _from_rc.cc:87 msgid "Description:" msgstr "Descrição:" #: _from_rc.cc:88 msgid "3rd field of selected profile" msgstr "3o campo do perfil selecionado" #: _from_rc.cc:89 msgid "6th field (=description) of selected profile" msgstr "6o campo (=descrição) do perfil selecionado" msgid "Save Changes" msgstr "Salva Alterações" desktop-profiles-git/po/profile-manager.pot0000644000000000000000000001771312346127117016246 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-28 23:07+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: _from_rc.cc:1 msgid "Desktop-Profile Manager" msgstr "" #: _from_rc.cc:2 msgid "Drag vertically to hide/unhide the filter section" msgstr "" #: _from_rc.cc:3 msgid "Only show profiles when:" msgstr "" #: _from_rc.cc:4 msgid "&kind matches" msgstr "" #: _from_rc.cc:5 msgid "" "When checked only profiles whose 2nd (=kind) field matches the given regular " "expression are shown" msgstr "" #: _from_rc.cc:6 msgid "re&quirement matches" msgstr "" #: _from_rc.cc:7 msgid "" "When checked only profiles whose 5th (=requirements) field matches the given " "regular expression are shown" msgstr "" #: _from_rc.cc:8 msgid "&precedence" msgstr "" #: _from_rc.cc:9 msgid "" "When checked only profiles whose precedence value satifies the given " "comparison are shown" msgstr "" # shouldn't be translated, # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:10 msgid ">" msgstr ">" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:11 msgid ">=" msgstr ">=" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:12 msgid "<" msgstr "<" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:13 msgid "<=" msgstr "<=" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:14 msgid "<>" msgstr "<>" #: _from_rc.cc:15 _from_rc.cc:16 _from_rc.cc:21 _from_rc.cc:22 _from_rc.cc:23 msgid "Takes a regular expression" msgstr "" #: _from_rc.cc:17 msgid "Takes a numerical value (may be negative)" msgstr "" #: _from_rc.cc:18 msgid "req&uirements are met for" msgstr "" #: _from_rc.cc:19 msgid "" "When checked only profiles whose requirements are met for the selected user " "are shown" msgstr "" #: _from_rc.cc:20 msgid "list of user accounts on this system" msgstr "" #: _from_rc.cc:24 msgid "Sort profile list on" msgstr "" #: _from_rc.cc:25 _from_rc.cc:32 msgid "Shown profiles are sorted on the contents of the selected field" msgstr "" #: _from_rc.cc:26 msgid "name" msgstr "" #: _from_rc.cc:27 msgid "kind" msgstr "" #: _from_rc.cc:28 msgid "location" msgstr "" #: _from_rc.cc:29 msgid "precedence" msgstr "" #: _from_rc.cc:30 msgid "requirements" msgstr "" #: _from_rc.cc:31 msgid "description" msgstr "" #: _from_rc.cc:33 msgid "&name matches" msgstr "" #: _from_rc.cc:34 msgid "" "When checked only profiles whose 1st (=name) field matches the given regular " "expression are shown" msgstr "" #: _from_rc.cc:35 msgid "&description matches" msgstr "" #: _from_rc.cc:36 msgid "" "When checked only profiles whose 6th (=description) field matches the given " "regular expression are shown" msgstr "" #: _from_rc.cc:37 msgid "location &matches" msgstr "" #: _from_rc.cc:38 msgid "" "When checked only profiles whose 3rd (=location) field matches the given " "regular expression are shown" msgstr "" #: _from_rc.cc:39 msgid "List of profiles found in processed .listing files" msgstr "" #: _from_rc.cc:40 msgid "Profile Details" msgstr "" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:41 msgid "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" msgstr "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" #: _from_rc.cc:42 msgid "Activation requirements:" msgstr "" #: _from_rc.cc:43 msgid "" "list of activation requirements (contained in the 5th field) of selected " "profile" msgstr "" #: _from_rc.cc:44 msgid "Remo&ve selected" msgstr "" #: _from_rc.cc:45 msgid "Removes selected activation requirement from the list" msgstr "" #: _from_rc.cc:46 msgid "New activation requirement:" msgstr "" #: _from_rc.cc:47 msgid "When the user is" msgstr "" #: _from_rc.cc:48 msgid "a member of" msgstr "" #: _from_rc.cc:49 msgid "not member of " msgstr "" #: _from_rc.cc:50 msgid "" "Your choice here determines whether the new requirement concerns membership " "or non-membership" msgstr "" #: _from_rc.cc:51 msgid "" "Choose the group for which (non-)membership is needed to activate this " "profile" msgstr "" #: _from_rc.cc:52 msgid "&Add" msgstr "" #: _from_rc.cc:53 msgid "" "Only activate profile for users that are (not) a member of the selected group" msgstr "" #: _from_rc.cc:54 msgid "When" msgstr "" #: _from_rc.cc:55 msgid "Enter any shell command" msgstr "" #: _from_rc.cc:56 msgid "executes successfully" msgstr "" #: _from_rc.cc:57 msgid "Add" msgstr "" #: _from_rc.cc:58 msgid "" "Make successful completion of given shell command a requirement for " "activation of this profile" msgstr "" #: _from_rc.cc:59 msgid "Deactivate profile completel&y" msgstr "" #: _from_rc.cc:60 msgid "Adds an unsatisfiable requirement (not in any group)" msgstr "" #: _from_rc.cc:61 msgid "Listed in" msgstr "" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:62 msgid "*.listing" msgstr "*.listing" #: _from_rc.cc:63 msgid "Append profile description to" msgstr "" #: _from_rc.cc:64 msgid ".listing file where the profile is defined" msgstr "" #: _from_rc.cc:65 msgid "&Is new" msgstr "" #: _from_rc.cc:66 msgid "Check if shown details (will) describe a new profile" msgstr "" #: _from_rc.cc:67 msgid "Delete pr&ofile" msgstr "" #: _from_rc.cc:68 msgid "Delete profile whose details are shown" msgstr "" #: _from_rc.cc:69 msgid "Add new profile" msgstr "" #: _from_rc.cc:70 msgid "Add/Update profile whose details are shown" msgstr "" #: _from_rc.cc:71 msgid "&Cancel Changes" msgstr "" #: _from_rc.cc:72 msgid "Forget changes made to shown profile details" msgstr "" #: _from_rc.cc:73 msgid "1st field (=name) of selected profile" msgstr "" #: _from_rc.cc:74 msgid "Name:" msgstr "" #: _from_rc.cc:75 msgid "Precedence:" msgstr "" #: _from_rc.cc:76 msgid "Kind:" msgstr "" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:77 msgid "XDG_CONFIG" msgstr "XDG_CONFIG" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:78 msgid "XDG_DATA" msgstr "XDG_DATA" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:79 msgid "KDE" msgstr "KDE" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:80 msgid "GCONF" msgstr "GCONF" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:81 msgid "GNUSTEP" msgstr "GNUSTEP" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:82 msgid "ROX" msgstr "ROX" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:83 msgid "UDE" msgstr "UDE" #: _from_rc.cc:84 msgid "2nd field (=kind) of selected profile" msgstr "" #: _from_rc.cc:85 msgid "4th field (=precedence value) of selected profile" msgstr "" #: _from_rc.cc:86 msgid "Location(s):" msgstr "" #: _from_rc.cc:87 msgid "Description:" msgstr "" #: _from_rc.cc:88 msgid "3rd field of selected profile" msgstr "" #: _from_rc.cc:89 msgid "6th field (=description) of selected profile" msgstr "" msgid "Save Changes" msgstr "" desktop-profiles-git/po/fr.po0000644000000000000000000002376312650773613013431 0ustar # French translation of profile-desktop-manager. # Copyright (C) 2005 THE profile-desktop-manager'S COPYRIGHT HOLDER # This file is distributed under the same license as the profile-desktop-manager package. # Jean-Luc Coulon (f5ibh) , 2005. # # msgid "" msgstr "" "Project-Id-Version: profile-desktop-manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-28 23:07+0200\n" "PO-Revision-Date: 2005-09-28 23:06+0100\n" "Last-Translator: Bart Cornelis \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #: _from_rc.cc:1 msgid "Desktop-Profile Manager" msgstr "Gestionnaire de profils de bureau" #: _from_rc.cc:2 msgid "Drag vertically to hide/unhide the filter section" msgstr "Glisser verticalement pour cacher/afficher la section du filtre" #: _from_rc.cc:3 msgid "Only show profiles when:" msgstr "N'afficher les profils que lorsque:" #: _from_rc.cc:4 msgid "&kind matches" msgstr "Le t&ype correspond " #: _from_rc.cc:5 msgid "" "When checked only profiles whose 2nd (=kind) field matches the given regular " "expression are shown" msgstr "" "Lorsque cette option est choisie, seuls les profils dont le second champ " "(=type) correspond l'expression rationnelle sont affichs" #: _from_rc.cc:6 msgid "re&quirement matches" msgstr "L'exi&gence correspond " #: _from_rc.cc:7 msgid "" "When checked only profiles whose 5th (=requirements) field matches the given " "regular expression are shown" msgstr "" "Lorsque cette option est choisie, seuls les profils dont le cinquime champ " "(=exigences) correspond l'expression rationnelle sont affichs" #: _from_rc.cc:8 msgid "&precedence" msgstr "&priorit" #: _from_rc.cc:9 msgid "" "When checked only profiles whose precedence value satifies the given " "comparison are shown" msgstr "" "Lorsque cette option est choisie, seuls les profils dont la valeur de " "priorit satisfait l'opration de comparaison donne sont affichs" #: _from_rc.cc:10 msgid ">" msgstr ">" #: _from_rc.cc:11 msgid ">=" msgstr ">=" #: _from_rc.cc:12 msgid "<" msgstr "<" #: _from_rc.cc:13 msgid "<=" msgstr "<=" #: _from_rc.cc:14 msgid "<>" msgstr "<>" #: _from_rc.cc:15 _from_rc.cc:16 _from_rc.cc:21 _from_rc.cc:22 _from_rc.cc:23 msgid "Takes a regular expression" msgstr "Prend une expression rationnelle" #: _from_rc.cc:17 msgid "Takes a numerical value (may be negative)" msgstr "Prend une valeur numrique (qui peut tre ngative)" #: _from_rc.cc:18 msgid "req&uirements are met for" msgstr "Les exigen&ces sont satisfaites pour" #: _from_rc.cc:19 msgid "" "When checked only profiles whose requirements are met for the selected user " "are shown" msgstr "" "Lorsque cette option est choisie, seuls les profils dont les exigences sont " "satisfaites pour l'utilisateur slectionn sont affiches" #: _from_rc.cc:20 msgid "list of user accounts on this system" msgstr "liste des comptes d'utilisateurs sur ce systme" #: _from_rc.cc:24 msgid "Sort profile list on" msgstr "Trier la liste de profils selon" #: _from_rc.cc:25 _from_rc.cc:32 msgid "Shown profiles are sorted on the contents of the selected field" msgstr "Les profils affichs sont tris selon le contenu du champ choisi" #: _from_rc.cc:26 msgid "name" msgstr "nom" #: _from_rc.cc:27 msgid "kind" msgstr "type" #: _from_rc.cc:28 msgid "location" msgstr "emplacement" #: _from_rc.cc:29 msgid "precedence" msgstr "priorit" #: _from_rc.cc:30 msgid "requirements" msgstr "exigences" #: _from_rc.cc:31 msgid "description" msgstr "description" #: _from_rc.cc:33 msgid "&name matches" msgstr "Le &nom correspond " #: _from_rc.cc:34 msgid "" "When checked only profiles whose 1st (=name) field matches the given regular " "expression are shown" msgstr "" "Lorsque cette option est choisie, seuls les profils dont le premier champ " "(=nom) correspond l'expression rationnelle sont affichs" #: _from_rc.cc:35 msgid "&description matches" msgstr "La &description correspond " #: _from_rc.cc:36 msgid "" "When checked only profiles whose 6th (=description) field matches the given " "regular expression are shown" msgstr "" "Lorsque cette option est choisie, seuls les profils dont le sixime champ " "(=description) correspond l'expression rationnelle sont affichs" #: _from_rc.cc:37 msgid "location &matches" msgstr "L'emplace&ment correspond " #: _from_rc.cc:38 msgid "" "When checked only profiles whose 3rd (=location) field matches the given " "regular expression are shown" msgstr "" "Lorsque cette option est choisie, seuls les profils dont le troisime champ " "(=emplacement) correspond l'expression rationnelle sont affichs" #: _from_rc.cc:39 msgid "List of profiles found in processed .listing files" msgstr "Liste des profils trouvs lors du traitement des fichiers .listing" #: _from_rc.cc:40 msgid "Profile Details" msgstr "Dtails du profil" #: _from_rc.cc:41 msgid "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" msgstr "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" #: _from_rc.cc:42 msgid "Activation requirements:" msgstr "Exigences d'activation:" #: _from_rc.cc:43 msgid "" "list of activation requirements (contained in the 5th field) of selected " "profile" msgstr "" "liste des exigences d'activation (contenue dans le cinquime champ) pour le " "profil choisi" #: _from_rc.cc:44 msgid "Remo&ve selected" msgstr "Supprimer &slectionn" #: _from_rc.cc:45 msgid "Removes selected activation requirement from the list" msgstr "Supprimer de la liste les exigences d'activation choisies" #: _from_rc.cc:46 msgid "New activation requirement:" msgstr "Nouvelles exigences d'activation:" #: _from_rc.cc:47 msgid "When the user is" msgstr "Lorsque l'utilisateur" #: _from_rc.cc:48 msgid "a member of" msgstr "est membre du groupe" #: _from_rc.cc:49 msgid "not member of " msgstr "n'est pas membre du groupe" #: _from_rc.cc:50 msgid "" "Your choice here determines whether the new requirement concerns membership " "or non-membership" msgstr "" "Le choix fait ici dtermine si la nouvelle exigence concerne l'appartenance " "ou la non-appartenance" #: _from_rc.cc:51 msgid "" "Choose the group for which (non-)membership is needed to activate this " "profile" msgstr "" "Veuillez choisir le groupe pour lequel l'appartenance (ou la non-" "appartenance) est ncessaire pour activer ce profil" #: _from_rc.cc:52 msgid "&Add" msgstr "&Ajouter" #: _from_rc.cc:53 msgid "" "Only activate profile for users that are (not) a member of the selected group" msgstr "" "N'activer que les profils des utilisateurs membres (respectivement non-" "membres) du groupe choisi" #: _from_rc.cc:54 msgid "When" msgstr "Lorsque" #: _from_rc.cc:55 msgid "Enter any shell command" msgstr "Veuillez entrer une commande de l'interprteur" #: _from_rc.cc:56 msgid "executes successfully" msgstr "s'est droule avec succs" #: _from_rc.cc:57 msgid "Add" msgstr "Ajouter" #: _from_rc.cc:58 msgid "" "Make successful completion of given shell command a requirement for " "activation of this profile" msgstr "" "Rendre ncessaire, pour activer ce profil, l'excution avec succs de la " "commande de l'interprteur indique" #: _from_rc.cc:59 msgid "Deactivate profile completel&y" msgstr "Dsacti&ver compltement ce profil" #: _from_rc.cc:60 msgid "Adds an unsatisfiable requirement (not in any group)" msgstr "Ajoute une exigence impossible (ne se trouve dans aucun groupe)" #: _from_rc.cc:61 msgid "Listed in" msgstr "Cit dans" #: _from_rc.cc:62 msgid "*.listing" msgstr "*.listing" #: _from_rc.cc:63 msgid "Append profile description to" msgstr "Ajouter la description du profil " #: _from_rc.cc:64 msgid ".listing file where the profile is defined" msgstr "Fichier .listing o le profil se trouve dfini" #: _from_rc.cc:65 msgid "&Is new" msgstr "Est nouvea&u" #: _from_rc.cc:66 msgid "Check if shown details (will) describe a new profile" msgstr "" "Vrifier si les dtails affichs dcrivent ou dcriront le nouveau profil" #: _from_rc.cc:67 msgid "Delete pr&ofile" msgstr "Effacer le pr&ofil" #: _from_rc.cc:68 msgid "Delete profile whose details are shown" msgstr "Effacer le profil dont les dtails sont affichs" #: _from_rc.cc:69 msgid "Add new profile" msgstr "A&jouter un nouveau profil" #: _from_rc.cc:70 msgid "Add/Update profile whose details are shown" msgstr "Ajouter ou mettre jour le profil dont les dtails sont affichs" #: _from_rc.cc:71 msgid "&Cancel Changes" msgstr "A&bandonner les modifications" #: _from_rc.cc:72 msgid "Forget changes made to shown profile details" msgstr "" "Oublier les modifications faites au profil dont les dtails sont affichs" #: _from_rc.cc:73 msgid "1st field (=name) of selected profile" msgstr "Premier champ (=nom) du profil choisi" #: _from_rc.cc:74 msgid "Name:" msgstr "Nom:" #: _from_rc.cc:75 msgid "Precedence:" msgstr "Priorit:" #: _from_rc.cc:76 msgid "Kind:" msgstr "Type:" #: _from_rc.cc:77 msgid "XDG_CONFIG" msgstr "XDG_CONFIG" #: _from_rc.cc:78 msgid "XDG_DATA" msgstr "XDG_DATA" #: _from_rc.cc:79 msgid "KDE" msgstr "KDE" #: _from_rc.cc:80 msgid "GCONF" msgstr "GCONF" #: _from_rc.cc:81 msgid "GNUSTEP" msgstr "GNUSTEP" #: _from_rc.cc:82 msgid "ROX" msgstr "ROX" #: _from_rc.cc:83 msgid "UDE" msgstr "UDE" #: _from_rc.cc:84 msgid "2nd field (=kind) of selected profile" msgstr "Deuxime champ (=type) du profil choisi" #: _from_rc.cc:85 msgid "4th field (=precedence value) of selected profile" msgstr "Quatrime champ (=valeur de priorit) du profil choisi" #: _from_rc.cc:86 msgid "Location(s):" msgstr "Emplacement(s):" #: _from_rc.cc:87 msgid "Description:" msgstr "Description:" #: _from_rc.cc:88 msgid "3rd field of selected profile" msgstr "Troisime champ du profil choisi" #: _from_rc.cc:89 msgid "6th field (=description) of selected profile" msgstr "Sixime champ (=description) du profil choisi" msgid "Save Changes" msgstr "Enregistrer les modifications" #~ msgid "pre&cedence" #~ msgstr "Pri&orit" desktop-profiles-git/po/pt.po0000644000000000000000000002573412650773613013445 0ustar # Portuguese translation of profile-manager's debconf messages. # 2005, Rui Branco > # # 2005-10-10 - Rui Branco # msgid "" msgstr "" "Project-Id-Version: profile-manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-28 23:07+0200\n" "PO-Revision-Date: 2005-10-10 22:13+0100\n" "Last-Translator: Rui Branco \n" "Language-Team: Portuguese \n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: _from_rc.cc:1 msgid "Desktop-Profile Manager" msgstr "Desktop-Profile Manager" #: _from_rc.cc:2 msgid "Drag vertically to hide/unhide the filter section" msgstr "Arraste na vertical para esconder/ver a selecção de filtros" #: _from_rc.cc:3 msgid "Only show profiles when:" msgstr "Visualizar apenas os perfis quando:" #: _from_rc.cc:4 msgid "&kind matches" msgstr "&kind (tipo) coincide" #: _from_rc.cc:5 msgid "" "When checked only profiles whose 2nd (=kind) field matches the given regular " "expression are shown" msgstr "" "Quando seleccionado, apenas os perfis em que o 2º campo (tipo)corresponde à " "expressão regular dada são visualizados" #: _from_rc.cc:6 msgid "re&quirement matches" msgstr "re&quisito corresponde" #: _from_rc.cc:7 msgid "" "When checked only profiles whose 5th (=requirements) field matches the given " "regular expression are shown" msgstr "" "Quando seleccionado, apenas os perfis em que o 5º campo (=requisitos) " "corresponde à expressão regular dada são visualizados." #: _from_rc.cc:8 msgid "&precedence" msgstr "&precedência" #: _from_rc.cc:9 msgid "" "When checked only profiles whose precedence value satifies the given " "comparison are shown" msgstr "" "Quando seleccionado, apenas os perfis em que o valor de precedência satisfaz " "a comparação dada são visualizados." # shouldn't be translated, # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:10 msgid ">" msgstr ">" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:11 msgid ">=" msgstr ">=" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:12 msgid "<" msgstr "<" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:13 msgid "<=" msgstr "<=" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:14 msgid "<>" msgstr "<>" #: _from_rc.cc:15 _from_rc.cc:16 _from_rc.cc:21 _from_rc.cc:22 _from_rc.cc:23 msgid "Takes a regular expression" msgstr "Requer uma expressão regular" #: _from_rc.cc:17 msgid "Takes a numerical value (may be negative)" msgstr "Requer um valor numérico (pode ser negativo)" #: _from_rc.cc:18 msgid "req&uirements are met for" msgstr "req&uisitos satisfeitos para" #: _from_rc.cc:19 msgid "" "When checked only profiles whose requirements are met for the selected user " "are shown" msgstr "" "Quando seleccionado, apenas os perfis em que os requisitos são satisfeitos " "para o utilizador seleccionado são visualizados." #: _from_rc.cc:20 msgid "list of user accounts on this system" msgstr "lista de contas de utilizador deste sistema" #: _from_rc.cc:24 msgid "Sort profile list on" msgstr "Ordenar a lista de perfis por" #: _from_rc.cc:25 _from_rc.cc:32 msgid "Shown profiles are sorted on the contents of the selected field" msgstr "" "Os perfis visualizados estão dispostos pelo conteúdo do campo seleccionado" #: _from_rc.cc:26 msgid "name" msgstr "nome" #: _from_rc.cc:27 msgid "kind" msgstr "tipo" #: _from_rc.cc:28 msgid "location" msgstr "local" #: _from_rc.cc:29 msgid "precedence" msgstr "precedência" #: _from_rc.cc:30 msgid "requirements" msgstr "requisitos" #: _from_rc.cc:31 msgid "description" msgstr "descrição" #: _from_rc.cc:33 msgid "&name matches" msgstr "&nome coincide" #: _from_rc.cc:34 msgid "" "When checked only profiles whose 1st (=name) field matches the given regular " "expression are shown" msgstr "" "Quando seleccionado, apenas os perfis em que o 1º campo (=nome) corresponde " "à expressão regular dada são visualizados." #: _from_rc.cc:35 msgid "&description matches" msgstr "&descrição corresponde" #: _from_rc.cc:36 msgid "" "When checked only profiles whose 6th (=description) field matches the given " "regular expression are shown" msgstr "" "Quando seleccionado, apenas os perfis em que o 6º campo (=descrição) " "corresponde à expressão regular dada são visualizados." #: _from_rc.cc:37 msgid "location &matches" msgstr "local &matches (corresponde)" #: _from_rc.cc:38 msgid "" "When checked only profiles whose 3rd (=location) field matches the given " "regular expression are shown" msgstr "" "Quando seleccionado, apenas os perfis em que o 3º campo (=local) corresponde " "à expressão regular dada são visualizados." #: _from_rc.cc:39 msgid "List of profiles found in processed .listing files" msgstr "Lista de perfis encontrada nos ficheiros processados da lista" #: _from_rc.cc:40 msgid "Profile Details" msgstr "Detalhes do perfil" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:41 msgid "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" msgstr "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" #: _from_rc.cc:42 msgid "Activation requirements:" msgstr "Requisitos de activação:" #: _from_rc.cc:43 msgid "" "list of activation requirements (contained in the 5th field) of selected " "profile" msgstr "" "lista de requisitos para activação (contidos no 5º campo) do perfil " "seleccionado" #: _from_rc.cc:44 msgid "Remo&ve selected" msgstr "Remo&ver seleccionado" #: _from_rc.cc:45 msgid "Removes selected activation requirement from the list" msgstr "Remover o requisito de activação seleccionado da lista" #: _from_rc.cc:46 msgid "New activation requirement:" msgstr "Novo requisito de activação:" #: _from_rc.cc:47 msgid "When the user is" msgstr "Quando o utilizador é" #: _from_rc.cc:48 msgid "a member of" msgstr "um membro de" #: _from_rc.cc:49 msgid "not member of " msgstr "não é um membro de" #: _from_rc.cc:50 msgid "" "Your choice here determines whether the new requirement concerns membership " "or non-membership" msgstr "" "A sua escolha neste ponto determina se o novo requisito diz respeito a " "elementos do grupo ou não" #: _from_rc.cc:51 msgid "" "Choose the group for which (non-)membership is needed to activate this " "profile" msgstr "" "Escolha o grupo para o qual a existência de elementos pertencentes ao grupo " "(ou não) é necessária para activar este perfil" #: _from_rc.cc:52 msgid "&Add" msgstr "&Adicionar" #: _from_rc.cc:53 msgid "" "Only activate profile for users that are (not) a member of the selected group" msgstr "" "Activar apenas perfis para utilizadores que (não) sejam um membro do grupo " "seleccionado" #: _from_rc.cc:54 msgid "When" msgstr "Quando" #: _from_rc.cc:55 msgid "Enter any shell command" msgstr "Introduza qualquer comando de consola" #: _from_rc.cc:56 msgid "executes successfully" msgstr "efectuou com sucesso" #: _from_rc.cc:57 msgid "Add" msgstr "Adicionar" #: _from_rc.cc:58 msgid "" "Make successful completion of given shell command a requirement for " "activation of this profile" msgstr "" "Faz da finalização com sucesso de um comando de consola um requisito para " "activação deste perfil" #: _from_rc.cc:59 msgid "Deactivate profile completel&y" msgstr "Desactivar completel&y (completamente) o perfil" #: _from_rc.cc:60 msgid "Adds an unsatisfiable requirement (not in any group)" msgstr "Adiciona um requisito insatisfatório (não existente em nenhum grupo)" #: _from_rc.cc:61 msgid "Listed in" msgstr "Listado em" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:62 msgid "*.listing" msgstr "*.listing" #: _from_rc.cc:63 msgid "Append profile description to" msgstr "Adicionar descrição de perfil a" #: _from_rc.cc:64 msgid ".listing file where the profile is defined" msgstr "ficheiro .listing onde o perfil está definido" #: _from_rc.cc:65 msgid "&Is new" msgstr "&Is new" #: _from_rc.cc:66 msgid "Check if shown details (will) describe a new profile" msgstr "Verificar se os detalhes visualizados descrevem um novo perfil" #: _from_rc.cc:67 msgid "Delete pr&ofile" msgstr "Apagar pr&ofile (perfil)" #: _from_rc.cc:68 msgid "Delete profile whose details are shown" msgstr "Apagar perfil cujos detalhes são visualizados" #: _from_rc.cc:69 msgid "Add new profile" msgstr "Adicionar novo perfil" #: _from_rc.cc:70 msgid "Add/Update profile whose details are shown" msgstr "Adicionar/Actualizar perfil cujos detalhes são visualizados" #: _from_rc.cc:71 msgid "&Cancel Changes" msgstr "&Cancelar Alterações" #: _from_rc.cc:72 msgid "Forget changes made to shown profile details" msgstr "Ignorar alterações efectuadas para visualizar detalhes dos perfis" #: _from_rc.cc:73 msgid "1st field (=name) of selected profile" msgstr "1º campo (=nome) do perfil seleccionado" #: _from_rc.cc:74 msgid "Name:" msgstr "Nome:" #: _from_rc.cc:75 msgid "Precedence:" msgstr "Precedência:" #: _from_rc.cc:76 msgid "Kind:" msgstr "Tipo:" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:77 msgid "XDG_CONFIG" msgstr "XDG_CONFIG" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:78 msgid "XDG_DATA" msgstr "XDG_DATA" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:79 msgid "KDE" msgstr "KDE" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:80 msgid "GCONF" msgstr "GCONF" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:81 msgid "GNUSTEP" msgstr "GNUSTEP" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:82 msgid "ROX" msgstr "ROX" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:83 msgid "UDE" msgstr "UDE" #: _from_rc.cc:84 msgid "2nd field (=kind) of selected profile" msgstr "2º campo (=tipo) do perfil seleccionado" #: _from_rc.cc:85 msgid "4th field (=precedence value) of selected profile" msgstr "4º campo (=valor de precedência) do perfil seleccionado" #: _from_rc.cc:86 msgid "Location(s):" msgstr "Local:" #: _from_rc.cc:87 msgid "Description:" msgstr "Descrição:" #: _from_rc.cc:88 msgid "3rd field of selected profile" msgstr "3º campo do perfil seleccionado" #: _from_rc.cc:89 msgid "6th field (=description) of selected profile" msgstr "6º campo (=descrição) do perfil seleccionado" msgid "Save Changes" msgstr "Gravar Alterações" desktop-profiles-git/po/cs.po0000644000000000000000000002516512650773613013425 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: profile-manager\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-28 23:07+0200\n" "PO-Revision-Date: 2005-10-07 19:55+0200\n" "Last-Translator: Miroslav Kure \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: _from_rc.cc:1 msgid "Desktop-Profile Manager" msgstr "Správce desktopových profilů" #: _from_rc.cc:2 msgid "Drag vertically to hide/unhide the filter section" msgstr "Vertikálním tažením zobrazíte/skryjete filtrovací sekci" #: _from_rc.cc:3 msgid "Only show profiles when:" msgstr "Zobrazit profily pouze pokud:" #: _from_rc.cc:4 msgid "&kind matches" msgstr "se shoduje typ" #: _from_rc.cc:5 msgid "" "When checked only profiles whose 2nd (=kind) field matches the given regular " "expression are shown" msgstr "" "Při zaškrtnutí se zobrazí pouze profily, jejichž 2. pole (typ) se shoduje s " "daným regulárním výrazem" #: _from_rc.cc:6 msgid "re&quirement matches" msgstr "se shoduje požadavek" #: _from_rc.cc:7 msgid "" "When checked only profiles whose 5th (=requirements) field matches the given " "regular expression are shown" msgstr "" "Při zaškrtnutí se zobrazí pouze profily, jejichž 5. pole (požadavky) se " "shoduje s daným regulárním výrazem" #: _from_rc.cc:8 msgid "&precedence" msgstr "&priorita" #: _from_rc.cc:9 msgid "" "When checked only profiles whose precedence value satifies the given " "comparison are shown" msgstr "" "Při zaškrtnutí se zobrazí pouze profily, jejichž priorita vyhovuje danému " "porovnání" # shouldn't be translated, # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:10 msgid ">" msgstr ">" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:11 msgid ">=" msgstr ">=" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:12 msgid "<" msgstr "<" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:13 msgid "<=" msgstr "<=" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:14 msgid "<>" msgstr "<>" #: _from_rc.cc:15 _from_rc.cc:16 _from_rc.cc:21 _from_rc.cc:22 _from_rc.cc:23 msgid "Takes a regular expression" msgstr "Akceptuje regulární výraz" #: _from_rc.cc:17 msgid "Takes a numerical value (may be negative)" msgstr "Akceptuje číselnou hodnotu (může být záporná)" #: _from_rc.cc:18 msgid "req&uirements are met for" msgstr "jsou podmínky splněny pro" #: _from_rc.cc:19 msgid "" "When checked only profiles whose requirements are met for the selected user " "are shown" msgstr "" "Při zaškrtnutí se zobrazí pouze profily, jejichž požadavky jsou splněny pro " "vybraného uživatele" #: _from_rc.cc:20 msgid "list of user accounts on this system" msgstr "Seznam uživatelských účtů na tomto systému" #: _from_rc.cc:24 msgid "Sort profile list on" msgstr "Třídit profily podle" #: _from_rc.cc:25 _from_rc.cc:32 msgid "Shown profiles are sorted on the contents of the selected field" msgstr "Zobrazené profily jsou setřízeny podle obsahu zvoleného pole" #: _from_rc.cc:26 msgid "name" msgstr "jméno" #: _from_rc.cc:27 msgid "kind" msgstr "typ" #: _from_rc.cc:28 msgid "location" msgstr "umístění" #: _from_rc.cc:29 msgid "precedence" msgstr "priorita" #: _from_rc.cc:30 msgid "requirements" msgstr "požadavky" #: _from_rc.cc:31 msgid "description" msgstr "popis" #: _from_rc.cc:33 msgid "&name matches" msgstr "se shoduje jmé&no" #: _from_rc.cc:34 msgid "" "When checked only profiles whose 1st (=name) field matches the given regular " "expression are shown" msgstr "" "Při zaškrtnutí se zobrazí pouze profily, jejichž 1. pole (název) se shoduje " "s daným regulárním výrazem" #: _from_rc.cc:35 msgid "&description matches" msgstr "se sho&duje popis" #: _from_rc.cc:36 msgid "" "When checked only profiles whose 6th (=description) field matches the given " "regular expression are shown" msgstr "" "Při zaškrtnutí se zobrazí pouze profily, jejichž 6. pole (popis) se shoduje " "s daným regulárním výrazem" #: _from_rc.cc:37 msgid "location &matches" msgstr "se shoduje u&místění" #: _from_rc.cc:38 msgid "" "When checked only profiles whose 3rd (=location) field matches the given " "regular expression are shown" msgstr "" "Při zaškrtnutí se zobrazí pouze profily, jejichž 3. pole (umístění) se " "shoduje s daným regulárním výrazem" #: _from_rc.cc:39 msgid "List of profiles found in processed .listing files" msgstr "Seznam profilů nalezených v souborech .listing" #: _from_rc.cc:40 msgid "Profile Details" msgstr "Podrobnosti o profilu" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:41 msgid "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" msgstr "" "@if(isEmpty())\n" "@listFileCurrent.setEnabled()\n" "@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)" #: _from_rc.cc:42 msgid "Activation requirements:" msgstr "Požadavky na aktivaci:" #: _from_rc.cc:43 msgid "" "list of activation requirements (contained in the 5th field) of selected " "profile" msgstr "Seznam požadavků pro aktivaci vybraného profilu (uloženy v 5. poli)" #: _from_rc.cc:44 msgid "Remo&ve selected" msgstr "Odstranit &vybraný" #: _from_rc.cc:45 msgid "Removes selected activation requirement from the list" msgstr "Ze seznamu odstraní vybraný požadavek na aktivaci" #: _from_rc.cc:46 msgid "New activation requirement:" msgstr "Nový požadavek na aktivaci:" #: _from_rc.cc:47 msgid "When the user is" msgstr "Když uživatel" #: _from_rc.cc:48 msgid "a member of" msgstr "je členem" #: _from_rc.cc:49 msgid "not member of " msgstr "není členem" #: _from_rc.cc:50 msgid "" "Your choice here determines whether the new requirement concerns membership " "or non-membership" msgstr "" "Tato volba určuje, zda se nový požadavek týká členství nebo nečlenství ve " "skupině" #: _from_rc.cc:51 msgid "" "Choose the group for which (non-)membership is needed to activate this " "profile" msgstr "" "Vyberte skupinu, jejímž (ne)členem musí být uživatel, aby se tento profil " "aktivoval" #: _from_rc.cc:52 msgid "&Add" msgstr "Přid&at" #: _from_rc.cc:53 msgid "" "Only activate profile for users that are (not) a member of the selected group" msgstr "" "Aktivuje profil pouze pro uživatele, kteří jsou (ne)členy vybrané skupiny" #: _from_rc.cc:54 msgid "When" msgstr "Když" #: _from_rc.cc:55 msgid "Enter any shell command" msgstr "Zadejte libovolný shellový příkaz" #: _from_rc.cc:56 msgid "executes successfully" msgstr "skončí úspěšně" #: _from_rc.cc:57 msgid "Add" msgstr "Přidat" #: _from_rc.cc:58 msgid "" "Make successful completion of given shell command a requirement for " "activation of this profile" msgstr "" "Nastaví, že pro aktivaci profilu je nutné úspěšné dokončení zadaného příkazu." #: _from_rc.cc:59 msgid "Deactivate profile completel&y" msgstr "Úplně deaktivovat profil" #: _from_rc.cc:60 msgid "Adds an unsatisfiable requirement (not in any group)" msgstr "Přidá nesplnitelný požadavek (není v žádné skupině)" #: _from_rc.cc:61 msgid "Listed in" msgstr "Zadán v" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:62 msgid "*.listing" msgstr "*.listing" #: _from_rc.cc:63 msgid "Append profile description to" msgstr "Přidat popis profilu k" #: _from_rc.cc:64 msgid ".listing file where the profile is defined" msgstr "Soubor .listing, ve kterém je profil definován" #: _from_rc.cc:65 msgid "&Is new" msgstr "Je nový" #: _from_rc.cc:66 msgid "Check if shown details (will) describe a new profile" msgstr "Zaškrtněte, pokud zobrazené detaily popisují nový profil" #: _from_rc.cc:67 msgid "Delete pr&ofile" msgstr "Smazat pr&ofil" #: _from_rc.cc:68 msgid "Delete profile whose details are shown" msgstr "Smaže profil, jehož podrobnosti jsou zobrazeny" #: _from_rc.cc:69 msgid "Add new profile" msgstr "Přidat nový profil" #: _from_rc.cc:70 msgid "Add/Update profile whose details are shown" msgstr "Přidá/aktualizuje profil, jehož podrobnosti jsou zobrazeny" #: _from_rc.cc:71 msgid "&Cancel Changes" msgstr "Zrušit změny" #: _from_rc.cc:72 msgid "Forget changes made to shown profile details" msgstr "Zapomene změny v zobrazeném profilu" #: _from_rc.cc:73 msgid "1st field (=name) of selected profile" msgstr "1. pole vybraného profilu (jméno)" #: _from_rc.cc:74 msgid "Name:" msgstr "Jméno:" #: _from_rc.cc:75 msgid "Precedence:" msgstr "Priorita:" #: _from_rc.cc:76 msgid "Kind:" msgstr "Typ:" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:77 msgid "XDG_CONFIG" msgstr "XDG_CONFIG" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:78 msgid "XDG_DATA" msgstr "XDG_DATA" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:79 msgid "KDE" msgstr "KDE" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:80 msgid "GCONF" msgstr "GCONF" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:81 msgid "GNUSTEP" msgstr "GNUSTEP" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:82 msgid "ROX" msgstr "ROX" # shouldn't be translated # only here because .pot generation tool isn't smart enough to exclude it #: _from_rc.cc:83 msgid "UDE" msgstr "UDE" #: _from_rc.cc:84 msgid "2nd field (=kind) of selected profile" msgstr "2. pole vybraného profilu (typ)" #: _from_rc.cc:85 msgid "4th field (=precedence value) of selected profile" msgstr "4. pole vybraného profilu (priorita)" #: _from_rc.cc:86 msgid "Location(s):" msgstr "Umístění:" #: _from_rc.cc:87 msgid "Description:" msgstr "Popis:" #: _from_rc.cc:88 msgid "3rd field of selected profile" msgstr "3. pole vybraného profilu" #: _from_rc.cc:89 msgid "6th field (=description) of selected profile" msgstr "6. pole vybraného profilu (popis)" msgid "Save Changes" msgstr "Uložit změny" desktop-profiles-git/postinst-desktop-profiles0000644000000000000000000000020612346127117017117 0ustar if( ( test "$1" = "configure" ) && ( test -x "$(which update-profile-cache 2>/dev/null)" ) ); then update-profile-cache; fi; desktop-profiles-git/Makefile0000644000000000000000000000422212650774250013467 0ustar #!/usr/bin/make -f DESTDIR = PREFIX = /usr BUILD_DATE = $(shell dpkg-parsechangelog --show-field Date) build: documentation l10n check documentation: dh_installlisting.1 dh_installlisting.1: dh_installlisting pod2man dh_installlisting > dh_installlisting.1 pot: po/profile-manager.pot kmdr2po profile-manager.kmdr mkdir -p po/ msgmerge po/profile-manager.pot profile-manager.po > po/profile-manager.pot.new mv po/profile-manager.pot.new po/profile-manager.pot && rm profile-manager.po # @i18n strings aren't picked up by kdmr2po at the moment echo >> po/profile-manager.pot echo 'msgid "Save Changes"' >> po/profile-manager.pot echo 'msgstr ""' >> po/profile-manager.pot # Add language-targets as they're added # install-l10n will be called from debian rules l10n: po/ca.mo po/cs.mo po/eu.mo po/fr.mo po/it.mo po/nl.mo po/pt.mo po/pt_BR.mo po/sv.mo po/vi.mo install-l10n: install-ca.mo install-cs.mo install-eu.mo install-fr.mo install-it.mo install-nl.mo install-pt.mo install-pt_BR.mo install-sv.mo install-vi.mo update-l10n: update-ca.mo update-cs.po update-eu.po update-fr.po update-it.po update-nl.po update-pt.po update-pt_BR.po update-sv.po update-vi.po po/%.mo: po/%.po update-%.po msgfmt -o $@ $< install-%.mo: po/%.mo install -d $(DESTDIR)${PREFIX}/share/locale/$*/LC_MESSAGES/ install --mode 644 $< $(DESTDIR)${PREFIX}/share/locale/$*/LC_MESSAGES/profile-manager.mo update-%.po: po/%.po po/profile-manager.pot cd po && intltool-update -g profile-manager -d $* install: install-l10n ./dh_installlisting zip-tests: find tests -not -type d -print0 | \ LC_ALL="C" sort --zero-terminated | \ GZIP="-9n" tar --mode=go=rX,u+rw,a-s --create --gzip --null --files-from=- \ --file=tests.tgz --mtime="$(BUILD_DATE)" \ --owner=root --group=root --numeric-owner i18n-status: for d in po debian/po; do \ for f in $$d/*.po; do \ printf "%s " $$f; msgfmt --output /dev/null --statistics $$f; \ done; \ done check: zip-tests clean: if(ls po/*.mo 2> /dev/null > /dev/null); then rm po/*.mo; fi; if(test -e tests.tgz); then rm tests.tgz; fi distclean: clean realclean: distclean if(test -e dh_installlisting.1); then rm dh_installlisting.1; fi; desktop-profiles-git/path2listing.10000644000000000000000000000444412346127117014523 0ustar .TH PATH2LISTING 1 "May 07, 2005" "desktop-profiles" .SH NAME path2listing \- script facilitating the conversion to managing gconf configuration sources with desktop-profiles .SH SYNOPSIS path2listing [options] .SH DESCRIPTION This script takes a single gconf path file (the systemwide one, i.e. /etc/gconf/2/path, when not told otherwise) and reads through it in order to create an ordered list of known configuration sources (it will recurse into included path files when necessary). Using that ordered list it will then create a desktop-profiles_path2listing.listing file containing metadata for all known configuration sources, assigning a precedence value to each encountered configuration source so that: .IP a) the order of sources is the same .IP b) there is space between the precedence values of the various sources to allow for inclusion of additional profiles in the future. .IP c) all mandatory sources have a positive precedence value, and all non-mandatory sources have a negative precedence value .PP In addition to generating the desktop-profiles_path2listing.listing file, this script will also replace the converted path file by one that assumes that desktop-profiles manages all configuration sources (NOTE: a backup copy of all changed files is made, so you can always go back to the previous situation). .SH OPTIONS .PP \-d,\-\-distance .IP distance between the precedence values of each successive pair of configuration sources (defaults to 50), the idea being that you leave some space to insert future sources. .PP \-f, \-\-file .IP path file to convert (defaults to /etc/gconf/2/path) .PP \-h, \-\-help .IP display the help message .PP \-o, \-\-output-file .IP file to put the generated metadata in (defaults to /etc/desktop-profiles/desktop-profiles_path2listing.listing). If this file exists a backup copy will be made prior to overwriting it. .PP \-\-no-replace-file .IP don't replace the path file we're converted with one assuming desktop-profiles manages activation .SH FILES /etc/gconf/2/path - systemwide gconf path file, default path file to convert .PP /etc/desktop-profiles/desktop-profiles_path2listing.listing - default name for the file containing the generated metadata .SH AUTHOR This manual page was written by Bart Cornelis . .PP .SH SEE ALSO desktop-profiles(7) desktop-profiles-git/LICENCE0000644000000000000000000004312712346127117013017 0ustar GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 19yy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. desktop-profiles-git/path0000644000000000000000000000157512346127117012712 0ustar # # This gconf path file is meant to be used in conjunction with the # desktop-profiles package, # # Default gconf behaviour using this path file with desktop-profiles installed # is identical to the behaviour using the default path file from the gconf2 # pacakge, but allowing activation of additional configuration sources through # desktop-profiles # # See the desktop-profiles (7) man page for more information ############################################################################### # Look first at mandatory 'configuration sources' managed by desktop-profiles # (those with higher precedence then the user source) include $(ENV_MANDATORY_PATH) # Give users a default storage location, ~/.gconf xml:readwrite:$(HOME)/.gconf # Look for default 'configuration sources' managed by desktop-profiles # (those with lower precedence then the user source include $(ENV_DEFAULTS_PATH) desktop-profiles-git/desktop-profiles.csh0000755000000000000000000000143112346127117016016 0ustar #!/bin/csh # This fixes the desktop-profiles corner-case where a graphical client is # started through an ssh -X session (in which the Xsession.d scripts aren't # run, so we need to make sure the profiles are activated according to the # specified settings at login). set DESKTOP_PROFILES_SNIPPET="/usr/share/desktop-profiles/get_desktop-profiles_variables" if (-e $DESKTOP_PROFILES_SNIPPET) then # initialization set TEMP_FILE=`tempfile` # use bash to write the required environment settings to a tempfile # this file has a VARIABLE=VALUE format bash $DESKTOP_PROFILES_SNIPPET $TEMP_FILE # convert to csh format and source to set the required environment variables sed -i 's/^\(.*\)=\(.*\)$/setenv \1 \2/' $TEMP_FILE source $TEMP_FILE # cleanup rm $TEMP_FILE endif desktop-profiles-git/list-desktop-profiles.10000644000000000000000000001152712346127117016356 0ustar .TH LIST-DESKTOP-PROFILES 1 "November 11, 2004" "desktop-profiles" .SH NAME list-desktop-profiles \- list known profiles that meet given criteria .SH SYNOPSIS list-desktop-profiles [OPTION] .SH DESCRIPTION As the number of .listing files holding metadata grows, trying to find out which profiles are present/meet certain criteria becomes increasingly unpleasant. This script remedies that allowing you to just list your criteria, and outputting all profiles meeting those criteria. .PP By default it will just output the lines from the .listing files for each (matching) profile, but you can specifying a formatstring to fancy up the output. .PP .SH OPTIONS .PP \-n , \-\-name .IP Limit shown profiles to those for which the name (1st) field of the profile description needs matches the given regular expression. .PP \-k , \-\-kind .IP Limit shown profiles to those for which the kind (2nd) field of the profile description needs matches the given regular expression. .PP \-l , \-\-location .IP Limit shown profiles to those for which the location (3th) field of the profile description needs matches the given regular expression. .PP \-p , \-\-precedence .IP Limit shown profiles to those for which the precedence (4th) field of the profile description succeeds the given comparison. In the comparison you can Use 'gt' for 'greater then', 'lt' for 'less then', 'ge' for 'greater then or equal to', 'le' for 'less then or equal to', 'eq' for 'equal to', and 'ne' for 'not equal to'. (NOTE: empty precedence-field, is lowest possible precedence) .PP \-r , \-\-requirement .IP Limit shown profiles to those for which the requirements (5th) field of the profile description needs matches the given regular expression. .PP \-c , \-\-comment , \-\-description .IP Limit shown profiles to those for which the comment (6th) field of the profile description needs matches the given regular expression. .PP \-u , \-\-user .IP Limit shown profiles to those for which the given user meets the requirements. (NOTE: doesn't always give correct results! Results might be wrong when using shell command requirements that depend on the users environment. Or when 'group $USER' gives a different result as 'group' executed as $USER, which can happen when adding groups through pam_group). .PP \-d , \-\-directory .IP Also use .listing files found in the given directory. This option can be used multiple times to add more then 1 additional directory .PP \-e , \-\-entry-format .IP Show profile information according to the specified format spring (instead of just echoing the profile-line). The format string may use the following variables: NAME, LOCATION, PRECEDENCE, REQUIREMENTS, KIND, DESCRIPTION, FILE; the first 6 of these refer to the corresponding field, the last refers to the .listing file the profile is in. (e.g. '$FILE_$NAME - $DESCRIPTION'). Any characters that are interpreted specially by the shell should be escaped. .PP \-s |, \-\-sort-key |fieldnumber .IP Sort output on the requested field (fieldname is one of name, kind, location, precedence, requirements, or description; fieldnumbers run from 1-6). .SH EXAMPLES .PP list-desktop-profiles \-k KDE \-s precedence \-u user1 .IP List all kde-profiles that will be activated for user1 in order of precedence. .PP list-desktop-profiles \-k 'KDE\\|GCONF' .IP List all kde and gnome profiles. .PP list-desktop-profiles \-p 'gt 50' .IP List all profiles with a precedence value greater then 50. .SH ENVIRONMENT .PP NAME_FILTER, LOCATION_FILTER, PRECEDENCE_FILTER, REQUIREMENT_FILTER, KIND_FILTER, DESCRIPTION_FILTER .IP Can be used to specify the default regular expressions and comparisons. Default to empty. .PP OUR_USER .IP Set the user for which the requirements need to be met. Defaults to unset. .PP EXTRA_LISTINGS .IP Can be used to specify a (space separated) list of extra .listing files to include. Defaults to empty .PP FORMAT .IP Can be used to specify the default format string. By default it will output the profile-line from the .listing file. .PP SORT_KEY .IP Can be used to specify the default sort-key (= field number). Defaults to 1 .SH FILES /etc/desktop-profiles/*.listing - Files containing the metadata about installed profiles .PP /etc/default/desktop-profiles - File containing default settings for this script (by way of the environment variables above) .SH BUGS The '\-u ' is not guaranteed to work correctly for shell command requirements. Particulary this will give incorrect results if the shell command depends on some state of the user environment. .PP .SH AUTHOR This manual page was written by Bart Cornelis . .PP .SH SEE ALSO desktop-profiles(7), update-profile-cache(1), profiles-manager(1) desktop-profiles-git/dh_installlisting.10000644000000000000000000001171312346127117015623 0ustar .\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .ie \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} .el \{\ . de IX .. .\} .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "DH_INSTALLLISTING 1" .TH DH_INSTALLLISTING 1 "2006-12-13" "perl v5.14.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" dh_installlisting \- install .listing files to be used by desktop\-profiles package .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBdh_installlisting\fR [\fBdebhelper\ options\fR] [\fBfilename(s)\fR] .SH "DESCRIPTION" .IX Header "DESCRIPTION" dh_installlisting is a debhelper program that handles installing listing files used by the desktop-profiles package into the correct location in package builddirectories (\s-1NOTE:\s0 this command is provided by the desktop-profiles package, so don't forget to build-depends on it). It also updates the cache of profile assignments (when it exists) to reflect the added metadata. .PP If a file named debian/package.listing exists (or debian/listing in case of the main package) it is installed in etc/desktop\-profiles. In addition any files given as argument will be installed in etc/desktop\-profiles as package_file.listing. The format of .listing files is described in \&\fIdesktop\-profiles\fR\|(7). .PP A dependancy on desktop-profiles will be added to misc:Depends by using this script. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIdebhelper\fR\|(7) \&\fIdesktop\-profiles\fR\|(7) \&\fIupdate\-profile\-cache\fR\|(1) .SH "AUTHOR" .IX Header "AUTHOR" Bart Cornelis (cobaco) desktop-profiles-git/update-profile-cache0000755000000000000000000001036412346127117015736 0ustar #!/bin/sh # # This script checks whether generating a cache of the wanted profile # assignment makes sense, and if so (re)generate the cache if it's out of date # # Supported CACHE_TYPES: # - static: used when profiles are either activated machine-wide or not at all # - none: used when we either don't want or don't support a cache # TODO: caching in the non-static case ############################################################################### ################# # initialization ################# # get user preferences if (test -r /etc/default/desktop-profiles); then . /etc/default/desktop-profiles; fi; #failsave in case default file is deleted LISTINGS_DIRS=${LISTINGS_DIRS:-'/etc/desktop-profiles'} CACHE_DIR=${CACHE_DIR:-'/var/cache/desktop-profiles'} CACHE_FILE="$CACHE_DIR/activated_profiles" ############################################## # Check wether generating a cache makes sense ############################################## # if is true when there's at least 1 non-deactivated profile with a # group or command requirment # (a group or command requirement means at least 1 character in the # requirement that's neither whitespace nor '!') if( test $(list-desktop-profiles -e '$REQUIREMENTS' -r '[^[:space:]!]' | \ grep -v '^![[:space:]]\|[[:space:]]!$\|[[:space:]]![[:space:]]\|^!$' | \ wc -l) -ne 0); then CACHE_TYPE=none; else CACHE_TYPE=static fi; ########################################### # generate $CACHE_FILE if that makes sense ########################################### if (test "$CACHE_TYPE" = static); then #if: # - cache doesn't exist yet or # - last modification time of any metadata file is newer then the cache if !(test -e "$CACHE_FILE") || !(test $(ls -t -1 /etc/desktop-profiles/*.listing \ /etc/default/desktop-profiles \ "$CACHE_FILE" 2> /dev/null | \ head -1) = "$CACHE_FILE"); then # delete old cache (otherwise activateDesktopProfiles reuses it) rm -f "$CACHE_FILE"; # make sure we only use the metadata files KDEDIRS='';XDG_CONFIG_DIRS='';XDG_DATA_DIRS='';CHOICESPATH=''; GNUSTEP_PATHLIST='';UDEdir=''; # generate profile settings . /etc/X11/Xsession.d/20desktop-profiles_activateDesktopProfiles; # move generated path files to cache dir, and set env vars accordingly if (test -e "$MANDATORY_PATH" ); then # sanity check mkdir -p "$CACHE_DIR"; #do it with cat+rm instead of mv to ensure correct permissions cat "$MANDATORY_PATH" > "$CACHE_DIR/mandatory_path"; rm -f "$MANDATORY_PATH"; MANDATORY_PATH="$CACHE_DIR/mandatory_path"; fi; if (test -e "$DEFAULTS_PATH" ); then #sanity check mkdir -p "$CACHE_DIR"; #do it with cat+rm instead of mv to ensure correct permissions cat "$DEFAULTS_PATH" > "$CACHE_DIR/defaults.path"; rm -f "$DEFAULTS_PATH"; DEFAULTS_PATH="$CACHE_DIR/defaults.path"; fi; # save profile settings to $CACHE_FILE mkdir -p "$CACHE_DIR"; env | grep 'KDEDIRS\|XDG_CONFIG_DIRS\|XDG_DATA_DIRS\|CHOICESPATH\|UDEdir\|GNUSTEP_PATHLIST\|MANDATORY_PATH\|DEFAULTS_PATH' > "$CACHE_FILE"; # Add markers for env variables according to personality type # markers will be filled in at X-start case "$PERSONALITY" in rude) sed -i -e 's/^\(KDEDIRS=.*\)$/\1:$KDEDIRS/' \ -e 's/^\(XDG_CONFIG_DIRS=.*\)$/\1:$XDG_CONFIG_DIRS/' \ -e 's/^\(XDG_DATA_DIRS=.*\)$/\1:$XDG_DATA_DIRS/' \ -e 's/^\(CHOICESPATH=.*\)$/\1:$CHOICESPATH/' \ -e 's/^\(GNUSTEP_PATHLIST=.*\)$/\1:$GNUSTEP_PATHLIST/' \ -e 's/^\(UDEdir=.*\)$/\1:$UDEdir/' \ "$CACHE_FILE"; ;; sheep | autocrat) #no markers to add ;; polite | *) sed -i -e 's/^\(KDEDIRS=\)\(.*\)$/\1$KDEDIRS:\2/' \ -e 's/^\(XDG_CONFIG_DIRS=\)\(.*\)$/\1$XDG_CONFIG_DIRS:\2/' \ -e 's/^\(XDG_DATA_DIRS=\)\(.*\)$/\1$XDG_DATA_DIRS:\2/' \ -e 's/^\(CHOICESPATH=\)\(.*\)$/\1$CHOICESPATH:\2/' \ -e 's/^\(GNUSTEP_PATHLIST=\)\(.*\)$/\1$GNUSTEP_PATHLIST:\2/' \ -e 's/^\(UDEdir=\)\(.*\)$/\1$UDEdir:\2/' \ "$CACHE_FILE"; ;; esac; fi; # end static cache generation else # we don't want to use the cache so make sure no old one is left behind rm -f "$CACHE_FILE"; fi; desktop-profiles-git/desktop-profiles_pshrc.pl0000755000000000000000000000201212346127117017047 0ustar #!/usr/bin/perl # This fixes the desktop-profiles corner-case where a graphical client is # started through an 'ssh -X' session in which the Xsession.d scripts are # not run, so we need to make sure the profiles are activated according to # the specified settings at login). $DESKTOP_PROFILES_SNIPPET = '/usr/share/desktop-profiles/get_desktop-profiles_variables'; if ( -e $DESKTOP_PROFILES_SNIPPET ) { $TEMP_FILE = `tempfile`; # get rid of extranous newline, which messed things up later { $TEMP_FILE =~ s/\n// } # use bash to write the required environment settings to a tempfile # this file has a 'VARIABLE=VALUE' format `bash $DESKTOP_PROFILES_SNIPPET $TEMP_FILE`; # source to set the required environment variables # needs to become: $ENV{'VARIABLE'} = 'VALUE'; { open(input, $TEMP_FILE); while($env_var = ) { # needs to become: $ENV{'VARIABLE'} = 'VALUE'; $env_var =~ s/^(.*)=(.*)$/\\\\$ENV{'\1'} = '\2'/ ; eval $env_var; } } # cleanup `rm $TEMP_FILE`; } desktop-profiles-git/zlogin-snippet0000755000000000000000000000177212346127117014742 0ustar #!/bin/zsh # # This fixes the desktop-profiles corner-case where a graphical client is # started through an ssh -X session (in which the Xsession.d scripts aren't # run, so we need to make sure the profiles are activated according to the # specified settings at login). ############################################################################# # testing SSH_CLIENT as the woody ssh doesn't set SSH_CONNECTION # also testing SSH_CONNECTION as the current ssh manpage no longer mentions # SSH_CLIENT, so it appears that variable is being phased out. if ( (test -n "${SSH_CLIENT}") || (test -n "${SSH_CONNECTION}") ) && \ (test -n "${DISPLAY}"); then # zsh needs the shwordsplit option set otherwise activateDesktopProfiles # script wil error out if (setopt | grep shwordsplit); then source /etc/X11/Xsession.d/20desktop-profiles_activateDesktopProfiles; else setopt shwordsplit; source /etc/X11/Xsession.d/20desktop-profiles_activateDesktopProfiles; unsetopt shwordsplit; fi; fi; desktop-profiles-git/tests/0002755000000000000000000000000012346127117013167 5ustar desktop-profiles-git/tests/1_per_file/0002755000000000000000000000000012346127117015174 5ustar desktop-profiles-git/tests/1_per_file/test20.listing0000644000000000000000000000007712346127117017712 0ustar # testing file 1_per_file_20;KDE;/1_per_file_20;;;just testing desktop-profiles-git/tests/1_per_file/test78.listing0000644000000000000000000000007712346127117017727 0ustar # testing file 1_per_file_78;KDE;/1_per_file_78;;;just testing desktop-profiles-git/tests/1_per_file/test61.listing0000644000000000000000000000007712346127117017717 0ustar # testing file 1_per_file_61;KDE;/1_per_file_61;;;just testing desktop-profiles-git/tests/1_per_file/test65.listing0000644000000000000000000000007712346127117017723 0ustar # testing file 1_per_file_65;KDE;/1_per_file_65;;;just testing desktop-profiles-git/tests/1_per_file/test92.listing0000644000000000000000000000007712346127117017723 0ustar # testing file 1_per_file_92;KDE;/1_per_file_92;;;just testing desktop-profiles-git/tests/1_per_file/test94.listing0000644000000000000000000000007712346127117017725 0ustar # testing file 1_per_file_94;KDE;/1_per_file_94;;;just testing desktop-profiles-git/tests/1_per_file/test66.listing0000644000000000000000000000007712346127117017724 0ustar # testing file 1_per_file_66;KDE;/1_per_file_66;;;just testing desktop-profiles-git/tests/1_per_file/test13.listing0000644000000000000000000000007712346127117017714 0ustar # testing file 1_per_file_13;KDE;/1_per_file_13;;;just testing desktop-profiles-git/tests/1_per_file/test40.listing0000644000000000000000000000007712346127117017714 0ustar # testing file 1_per_file_40;KDE;/1_per_file_40;;;just testing desktop-profiles-git/tests/1_per_file/test15.listing0000644000000000000000000000007712346127117017716 0ustar # testing file 1_per_file_15;KDE;/1_per_file_15;;;just testing desktop-profiles-git/tests/1_per_file/test67.listing0000644000000000000000000000007712346127117017725 0ustar # testing file 1_per_file_67;KDE;/1_per_file_67;;;just testing desktop-profiles-git/tests/1_per_file/test79.listing0000644000000000000000000000007712346127117017730 0ustar # testing file 1_per_file_79;KDE;/1_per_file_79;;;just testing desktop-profiles-git/tests/1_per_file/test95.listing0000644000000000000000000000007712346127117017726 0ustar # testing file 1_per_file_95;KDE;/1_per_file_95;;;just testing desktop-profiles-git/tests/1_per_file/test04.listing0000644000000000000000000000007512346127117017712 0ustar # testing file 1_per_file_4;KDE;/1_per_file_4;;;just testing desktop-profiles-git/tests/1_per_file/test57.listing0000644000000000000000000000007712346127117017724 0ustar # testing file 1_per_file_57;KDE;/1_per_file_57;;;just testing desktop-profiles-git/tests/1_per_file/test22.listing0000644000000000000000000000007712346127117017714 0ustar # testing file 1_per_file_22;KDE;/1_per_file_22;;;just testing desktop-profiles-git/tests/1_per_file/test30.listing0000644000000000000000000000007712346127117017713 0ustar # testing file 1_per_file_30;KDE;/1_per_file_30;;;just testing desktop-profiles-git/tests/1_per_file/test10.listing0000644000000000000000000000007712346127117017711 0ustar # testing file 1_per_file_10;KDE;/1_per_file_10;;;just testing desktop-profiles-git/tests/1_per_file/test29.listing0000644000000000000000000000007712346127117017723 0ustar # testing file 1_per_file_29;KDE;/1_per_file_29;;;just testing desktop-profiles-git/tests/1_per_file/test89.listing0000644000000000000000000000007712346127117017731 0ustar # testing file 1_per_file_89;KDE;/1_per_file_89;;;just testing desktop-profiles-git/tests/1_per_file/test52.listing0000644000000000000000000000007712346127117017717 0ustar # testing file 1_per_file_52;KDE;/1_per_file_52;;;just testing desktop-profiles-git/tests/1_per_file/test91.listing0000644000000000000000000000007712346127117017722 0ustar # testing file 1_per_file_91;KDE;/1_per_file_91;;;just testing desktop-profiles-git/tests/1_per_file/test82.listing0000644000000000000000000000007712346127117017722 0ustar # testing file 1_per_file_82;KDE;/1_per_file_82;;;just testing desktop-profiles-git/tests/1_per_file/test54.listing0000644000000000000000000000007712346127117017721 0ustar # testing file 1_per_file_54;KDE;/1_per_file_54;;;just testing desktop-profiles-git/tests/1_per_file/test96.listing0000644000000000000000000000007712346127117017727 0ustar # testing file 1_per_file_96;KDE;/1_per_file_96;;;just testing desktop-profiles-git/tests/1_per_file/test58.listing0000644000000000000000000000007712346127117017725 0ustar # testing file 1_per_file_58;KDE;/1_per_file_58;;;just testing desktop-profiles-git/tests/1_per_file/test56.listing0000644000000000000000000000007712346127117017723 0ustar # testing file 1_per_file_56;KDE;/1_per_file_56;;;just testing desktop-profiles-git/tests/1_per_file/test87.listing0000644000000000000000000000007712346127117017727 0ustar # testing file 1_per_file_87;KDE;/1_per_file_87;;;just testing desktop-profiles-git/tests/1_per_file/test93.listing0000644000000000000000000000007712346127117017724 0ustar # testing file 1_per_file_93;KDE;/1_per_file_93;;;just testing desktop-profiles-git/tests/1_per_file/test84.listing0000644000000000000000000000007712346127117017724 0ustar # testing file 1_per_file_84;KDE;/1_per_file_84;;;just testing desktop-profiles-git/tests/1_per_file/test62.listing0000644000000000000000000000007712346127117017720 0ustar # testing file 1_per_file_62;KDE;/1_per_file_62;;;just testing desktop-profiles-git/tests/1_per_file/test16.listing0000644000000000000000000000007712346127117017717 0ustar # testing file 1_per_file_16;KDE;/1_per_file_16;;;just testing desktop-profiles-git/tests/1_per_file/test48.listing0000644000000000000000000000007712346127117017724 0ustar # testing file 1_per_file_48;KDE;/1_per_file_48;;;just testing desktop-profiles-git/tests/1_per_file/test26.listing0000644000000000000000000000007712346127117017720 0ustar # testing file 1_per_file_26;KDE;/1_per_file_26;;;just testing desktop-profiles-git/tests/1_per_file/test05.listing0000644000000000000000000000007512346127117017713 0ustar # testing file 1_per_file_5;KDE;/1_per_file_5;;;just testing desktop-profiles-git/tests/1_per_file/test09.listing0000644000000000000000000000007512346127117017717 0ustar # testing file 1_per_file_9;KDE;/1_per_file_9;;;just testing desktop-profiles-git/tests/1_per_file/test01.listing0000644000000000000000000000007512346127117017707 0ustar # testing file 1_per_file_1;KDE;/1_per_file_1;;;just testing desktop-profiles-git/tests/1_per_file/test88.listing0000644000000000000000000000007712346127117017730 0ustar # testing file 1_per_file_88;KDE;/1_per_file_88;;;just testing desktop-profiles-git/tests/1_per_file/test75.listing0000644000000000000000000000007712346127117017724 0ustar # testing file 1_per_file_75;KDE;/1_per_file_75;;;just testing desktop-profiles-git/tests/1_per_file/test49.listing0000644000000000000000000000007712346127117017725 0ustar # testing file 1_per_file_49;KDE;/1_per_file_49;;;just testing desktop-profiles-git/tests/1_per_file/test08.listing0000644000000000000000000000007512346127117017716 0ustar # testing file 1_per_file_8;KDE;/1_per_file_8;;;just testing desktop-profiles-git/tests/1_per_file/test70.listing0000644000000000000000000000007712346127117017717 0ustar # testing file 1_per_file_70;KDE;/1_per_file_70;;;just testing desktop-profiles-git/tests/1_per_file/test71.listing0000644000000000000000000000007712346127117017720 0ustar # testing file 1_per_file_71;KDE;/1_per_file_71;;;just testing desktop-profiles-git/tests/1_per_file/test14.listing0000644000000000000000000000007712346127117017715 0ustar # testing file 1_per_file_14;KDE;/1_per_file_14;;;just testing desktop-profiles-git/tests/1_per_file/test45.listing0000644000000000000000000000007712346127117017721 0ustar # testing file 1_per_file_45;KDE;/1_per_file_45;;;just testing desktop-profiles-git/tests/1_per_file/test77.listing0000644000000000000000000000007712346127117017726 0ustar # testing file 1_per_file_77;KDE;/1_per_file_77;;;just testing desktop-profiles-git/tests/1_per_file/test36.listing0000644000000000000000000000007712346127117017721 0ustar # testing file 1_per_file_36;KDE;/1_per_file_36;;;just testing desktop-profiles-git/tests/1_per_file/test50.listing0000644000000000000000000000007712346127117017715 0ustar # testing file 1_per_file_50;KDE;/1_per_file_50;;;just testing desktop-profiles-git/tests/1_per_file/test51.listing0000644000000000000000000000007712346127117017716 0ustar # testing file 1_per_file_51;KDE;/1_per_file_51;;;just testing desktop-profiles-git/tests/1_per_file/test76.listing0000644000000000000000000000007712346127117017725 0ustar # testing file 1_per_file_76;KDE;/1_per_file_76;;;just testing desktop-profiles-git/tests/1_per_file/test37.listing0000644000000000000000000000007712346127117017722 0ustar # testing file 1_per_file_37;KDE;/1_per_file_37;;;just testing desktop-profiles-git/tests/1_per_file/test85.listing0000644000000000000000000000007712346127117017725 0ustar # testing file 1_per_file_85;KDE;/1_per_file_85;;;just testing desktop-profiles-git/tests/1_per_file/test39.listing0000644000000000000000000000007712346127117017724 0ustar # testing file 1_per_file_39;KDE;/1_per_file_39;;;just testing desktop-profiles-git/tests/1_per_file/test81.listing0000644000000000000000000000007712346127117017721 0ustar # testing file 1_per_file_81;KDE;/1_per_file_81;;;just testing desktop-profiles-git/tests/1_per_file/test99.listing0000644000000000000000000000007712346127117017732 0ustar # testing file 1_per_file_99;KDE;/1_per_file_99;;;just testing desktop-profiles-git/tests/1_per_file/test03.listing0000644000000000000000000000007512346127117017711 0ustar # testing file 1_per_file_3;KDE;/1_per_file_3;;;just testing desktop-profiles-git/tests/1_per_file/test34.listing0000644000000000000000000000007712346127117017717 0ustar # testing file 1_per_file_34;KDE;/1_per_file_34;;;just testing desktop-profiles-git/tests/1_per_file/test31.listing0000644000000000000000000000007712346127117017714 0ustar # testing file 1_per_file_31;KDE;/1_per_file_31;;;just testing desktop-profiles-git/tests/1_per_file/test44.listing0000644000000000000000000000007712346127117017720 0ustar # testing file 1_per_file_44;KDE;/1_per_file_44;;;just testing desktop-profiles-git/tests/1_per_file/test69.listing0000644000000000000000000000007712346127117017727 0ustar # testing file 1_per_file_69;KDE;/1_per_file_69;;;just testing desktop-profiles-git/tests/1_per_file/test43.listing0000644000000000000000000000007712346127117017717 0ustar # testing file 1_per_file_43;KDE;/1_per_file_43;;;just testing desktop-profiles-git/tests/1_per_file/test68.listing0000644000000000000000000000007712346127117017726 0ustar # testing file 1_per_file_68;KDE;/1_per_file_68;;;just testing desktop-profiles-git/tests/1_per_file/test33.listing0000644000000000000000000000007712346127117017716 0ustar # testing file 1_per_file_33;KDE;/1_per_file_33;;;just testing desktop-profiles-git/tests/1_per_file/test12.listing0000644000000000000000000000007712346127117017713 0ustar # testing file 1_per_file_12;KDE;/1_per_file_12;;;just testing desktop-profiles-git/tests/1_per_file/test19.listing0000644000000000000000000000007712346127117017722 0ustar # testing file 1_per_file_19;KDE;/1_per_file_19;;;just testing desktop-profiles-git/tests/1_per_file/test02.listing0000644000000000000000000000007512346127117017710 0ustar # testing file 1_per_file_2;KDE;/1_per_file_2;;;just testing desktop-profiles-git/tests/1_per_file/test80.listing0000644000000000000000000000007712346127117017720 0ustar # testing file 1_per_file_80;KDE;/1_per_file_80;;;just testing desktop-profiles-git/tests/1_per_file/test64.listing0000644000000000000000000000007712346127117017722 0ustar # testing file 1_per_file_64;KDE;/1_per_file_64;;;just testing desktop-profiles-git/tests/1_per_file/test97.listing0000644000000000000000000000007712346127117017730 0ustar # testing file 1_per_file_97;KDE;/1_per_file_97;;;just testing desktop-profiles-git/tests/1_per_file/test35.listing0000644000000000000000000000007712346127117017720 0ustar # testing file 1_per_file_35;KDE;/1_per_file_35;;;just testing desktop-profiles-git/tests/1_per_file/test90.listing0000644000000000000000000000007712346127117017721 0ustar # testing file 1_per_file_90;KDE;/1_per_file_90;;;just testing desktop-profiles-git/tests/1_per_file/test21.listing0000644000000000000000000000007712346127117017713 0ustar # testing file 1_per_file_21;KDE;/1_per_file_21;;;just testing desktop-profiles-git/tests/1_per_file/test59.listing0000644000000000000000000000007712346127117017726 0ustar # testing file 1_per_file_59;KDE;/1_per_file_59;;;just testing desktop-profiles-git/tests/1_per_file/test86.listing0000644000000000000000000000007712346127117017726 0ustar # testing file 1_per_file_86;KDE;/1_per_file_86;;;just testing desktop-profiles-git/tests/1_per_file/test27.listing0000644000000000000000000000007712346127117017721 0ustar # testing file 1_per_file_27;KDE;/1_per_file_27;;;just testing desktop-profiles-git/tests/1_per_file/test98.listing0000644000000000000000000000007712346127117017731 0ustar # testing file 1_per_file_98;KDE;/1_per_file_98;;;just testing desktop-profiles-git/tests/1_per_file/test28.listing0000644000000000000000000000007712346127117017722 0ustar # testing file 1_per_file_28;KDE;/1_per_file_28;;;just testing desktop-profiles-git/tests/1_per_file/test83.listing0000644000000000000000000000007712346127117017723 0ustar # testing file 1_per_file_83;KDE;/1_per_file_83;;;just testing desktop-profiles-git/tests/1_per_file/test73.listing0000644000000000000000000000007712346127117017722 0ustar # testing file 1_per_file_73;KDE;/1_per_file_73;;;just testing desktop-profiles-git/tests/1_per_file/test06.listing0000644000000000000000000000007512346127117017714 0ustar # testing file 1_per_file_6;KDE;/1_per_file_6;;;just testing desktop-profiles-git/tests/1_per_file/test24.listing0000644000000000000000000000007712346127117017716 0ustar # testing file 1_per_file_24;KDE;/1_per_file_24;;;just testing desktop-profiles-git/tests/1_per_file/test41.listing0000644000000000000000000000007712346127117017715 0ustar # testing file 1_per_file_41;KDE;/1_per_file_41;;;just testing desktop-profiles-git/tests/1_per_file/test17.listing0000644000000000000000000000007712346127117017720 0ustar # testing file 1_per_file_17;KDE;/1_per_file_17;;;just testing desktop-profiles-git/tests/1_per_file/test07.listing0000644000000000000000000000007512346127117017715 0ustar # testing file 1_per_file_7;KDE;/1_per_file_7;;;just testing desktop-profiles-git/tests/1_per_file/test32.listing0000644000000000000000000000007712346127117017715 0ustar # testing file 1_per_file_32;KDE;/1_per_file_32;;;just testing desktop-profiles-git/tests/1_per_file/test53.listing0000644000000000000000000000007712346127117017720 0ustar # testing file 1_per_file_53;KDE;/1_per_file_53;;;just testing desktop-profiles-git/tests/1_per_file/test38.listing0000644000000000000000000000007712346127117017723 0ustar # testing file 1_per_file_38;KDE;/1_per_file_38;;;just testing desktop-profiles-git/tests/1_per_file/test18.listing0000644000000000000000000000007712346127117017721 0ustar # testing file 1_per_file_18;KDE;/1_per_file_18;;;just testing desktop-profiles-git/tests/1_per_file/test42.listing0000644000000000000000000000007712346127117017716 0ustar # testing file 1_per_file_42;KDE;/1_per_file_42;;;just testing desktop-profiles-git/tests/1_per_file/test11.listing0000644000000000000000000000007712346127117017712 0ustar # testing file 1_per_file_11;KDE;/1_per_file_11;;;just testing desktop-profiles-git/tests/1_per_file/test55.listing0000644000000000000000000000007712346127117017722 0ustar # testing file 1_per_file_55;KDE;/1_per_file_55;;;just testing desktop-profiles-git/tests/1_per_file/test74.listing0000644000000000000000000000007712346127117017723 0ustar # testing file 1_per_file_74;KDE;/1_per_file_74;;;just testing desktop-profiles-git/tests/1_per_file/test47.listing0000644000000000000000000000007712346127117017723 0ustar # testing file 1_per_file_47;KDE;/1_per_file_47;;;just testing desktop-profiles-git/tests/1_per_file/test72.listing0000644000000000000000000000007712346127117017721 0ustar # testing file 1_per_file_72;KDE;/1_per_file_72;;;just testing desktop-profiles-git/tests/1_per_file/test25.listing0000644000000000000000000000007712346127117017717 0ustar # testing file 1_per_file_25;KDE;/1_per_file_25;;;just testing desktop-profiles-git/tests/1_per_file/test23.listing0000644000000000000000000000007712346127117017715 0ustar # testing file 1_per_file_23;KDE;/1_per_file_23;;;just testing desktop-profiles-git/tests/1_per_file/test46.listing0000644000000000000000000000007712346127117017722 0ustar # testing file 1_per_file_46;KDE;/1_per_file_46;;;just testing desktop-profiles-git/tests/1_per_file/test63.listing0000644000000000000000000000007712346127117017721 0ustar # testing file 1_per_file_63;KDE;/1_per_file_63;;;just testing desktop-profiles-git/tests/1_per_file/test60.listing0000644000000000000000000000007712346127117017716 0ustar # testing file 1_per_file_60;KDE;/1_per_file_60;;;just testing desktop-profiles-git/tests/performanceTest.sh0000755000000000000000000001036012346127117016665 0ustar #!/bin/dash # # needs /usr/bin/time to be present #################################### # $1 is the shell that'll execute the Xsession.d script # $2 is the number of passes in the test do_test_run () { # initialization listing_count=${listing_count:-`ls -1 /etc/desktop-profiles/*.listing | wc -l`}; profile_count=${profile_count:-`list-desktop-profiles | wc -l`}; total_real=0; total_user=0; total_system=0; echo " Real User System /Profile /.listing" >> $1_$RESULT_SUFFIX; # perform test for c in `seq 1 $2`; do performance=`/usr/bin/time --format "%e %U %S" $1 /etc/X11/Xsession.d/20desktop-profiles_activateDesktopProfiles 2>&1`; pass_real=`echo $performance | cut -d " " -f 1`; pass_user=`echo $performance | cut -d " " -f 2`; pass_system=`echo $performance | cut -d " " -f 3`; real_per_profile=$( (echo scale=4; echo ${pass_real} / ${profile_count}) | bc ); real_per_listing=$( (echo scale=4; echo ${pass_real} / ${listing_count}) | bc ); echo -n " Pass $c: $pass_real $pass_user $pass_system" >> $1_$RESULT_SUFFIX; echo " $real_per_profile $real_per_listing" >> $1_$RESULT_SUFFIX; total_real=`echo ${total_real} + ${pass_real} | bc`; total_user=`echo ${total_user} + ${pass_user} | bc`; total_system=`echo ${total_system} + ${pass_system} | bc`; done # output average real_per_profile=$( (echo scale=3; echo ${total_real} / ${profile_count}) | bc) echo -n "Average/$2:" >> $1_$RESULT_SUFFIX; echo -n " $( (echo "scale=3" ; echo "${total_real} / $2") | bc | sed 's/^\./0./')" >> $1_$RESULT_SUFFIX; echo -n " $( (echo "scale=3" ; echo "${total_user} / $2") | bc | sed 's/^\./0./')" >> $1_$RESULT_SUFFIX; echo -n " $( (echo "scale=3" ; echo "${total_system} / $2") | bc | sed 's/^\./0./')" >> $1_$RESULT_SUFFIX; echo -n " $( (echo scale=4; echo ${total_real} / ${profile_count} / $2) | bc)" >> $1_$RESULT_SUFFIX; echo -n " $( (echo scale=4; echo ${total_real} / ${listing_count} / $2) | bc)" >> $1_$RESULT_SUFFIX; echo " ($profile_count profiles in $listing_count metadata files)" >> $1_$RESULT_SUFFIX; echo >> $1_$RESULT_SUFFIX; } # $1 is the directory containing the metadatafiles making up the test set do_test_with () { # add note telling what where testing to resultfile for SHELL in $SHELL_LIST; do echo "Results for testset $1 with $SHELL: " >> ${SHELL}_$RESULT_SUFFIX; done; for LISTING in `ls $1`; do # add next listing, and recalculate #(profiles) and #(metadata files) cp $1/$LISTING /etc/desktop-profiles; listing_count=`ls -1 /etc/desktop-profiles/*.listing | wc -l`; profile_count=`list-desktop-profiles | wc -l`; for SHELL in $SHELL_LIST; do do_test_run $SHELL $PASS_LENGHT; done; done; for LISTING in `ls $1`; do rm /etc/desktop-profiles/$LISTING done; } ##################### # Start of execution ##################### PASS_LENGHT=10; TEST_SETS="10_per_file 1_per_file"; RESULT_SUFFIX="$(uname -n).results"; if (which dash > /dev/null); then SHELL_LIST="dash bash"; else echo "The dash shell isn't present -> skipping test with dash"; SHELL_LIST="bash"; fi; # sanity checks: # - check if time binary is present, shell builtin is not sufficient # - check if we can write to /etc/desktop-profiles so we can add in # our test metadata if !(test -e /usr/bin/time); then echo "You need to install the time package for this script to run"; exit 1; fi; if !(test -w /etc/desktop-profiles); then echo "Script can't write to /etc/desktop-profiles and is thus unable to add test data."; echo "-> Exiting, please run script as user with write priviliges to that directory."; exit 1; fi; # do baseline test for SHELL in $SHELL_LIST; do # initialize resultfile with info about the machine we're running on cat /proc/cpuinfo | grep "Hz\|model name" > ${SHELL}_$RESULT_SUFFIX; echo >> ${SHELL}_$RESULT_SUFFIX; # test base performance echo "Results for baseline test with $SHELL: " >> ${SHELL}_$RESULT_SUFFIX; do_test_run $SHELL $PASS_LENGHT; done; # do a testrun with each of the testsets for TEST_SET in $TEST_SETS; do do_test_with $TEST_SET; done; # create summary for SHELL in $SHELL_LIST; do cat ${SHELL}_$RESULT_SUFFIX | grep "Average\|Results" >> $RESULT_SUFFIX.summary; echo >> $RESULT_SUFFIX.summary; done; desktop-profiles-git/tests/10_per_file/0002755000000000000000000000000012346127117015254 5ustar desktop-profiles-git/tests/10_per_file/test9.listing0000644000000000000000000000106312346127117017715 0ustar # testing file 10_per_file_9.0;ROX;/10_per_file_9/0;;;just testing 10_per_file_9.1;KDE;/10_per_file_9/1;;;just testing 10_per_file_9.2;XDG_CONFIG;/10_per_file_9/2;;;just testing 10_per_file_9.3;XDG_DATA;/10_per_file_9/3;;;just testing 10_per_file_9.4;ROX;/10_per_file_9/4;;;just testing 10_per_file_9.5;GNUSTEP;/10_per_file_9/5;;;just testing 10_per_file_9.6;UDE;/10_per_file_9/6;;;just testing 10_per_file_9.7;KDE;/10_per_file_9/7;;;just testing 10_per_file_9.8;XDG_CONFIG;/10_per_file_9/8;;;just testing 10_per_file_9.9;XDG_DATA;/10_per_file_9/9;;;just testing desktop-profiles-git/tests/10_per_file/test5.listing0000644000000000000000000000106312346127117017711 0ustar # testing file 10_per_file_5.0;ROX;/10_per_file_5/0;;;just testing 10_per_file_5.1;KDE;/10_per_file_5/1;;;just testing 10_per_file_5.2;XDG_CONFIG;/10_per_file_5/2;;;just testing 10_per_file_5.3;XDG_DATA;/10_per_file_5/3;;;just testing 10_per_file_5.4;ROX;/10_per_file_5/4;;;just testing 10_per_file_5.5;GNUSTEP;/10_per_file_5/5;;;just testing 10_per_file_5.6;UDE;/10_per_file_5/6;;;just testing 10_per_file_5.7;KDE;/10_per_file_5/7;;;just testing 10_per_file_5.8;XDG_CONFIG;/10_per_file_5/8;;;just testing 10_per_file_5.9;XDG_DATA;/10_per_file_5/9;;;just testing desktop-profiles-git/tests/10_per_file/test1.listing0000644000000000000000000000106312346127117017705 0ustar # testing file 10_per_file_1.0;ROX;/10_per_file_1/0;;;just testing 10_per_file_1.1;KDE;/10_per_file_1/1;;;just testing 10_per_file_1.2;XDG_CONFIG;/10_per_file_1/2;;;just testing 10_per_file_1.3;XDG_DATA;/10_per_file_1/3;;;just testing 10_per_file_1.4;ROX;/10_per_file_1/4;;;just testing 10_per_file_1.5;GNUSTEP;/10_per_file_1/5;;;just testing 10_per_file_1.6;UDE;/10_per_file_1/6;;;just testing 10_per_file_1.7;KDE;/10_per_file_1/7;;;just testing 10_per_file_1.8;XDG_CONFIG;/10_per_file_1/8;;;just testing 10_per_file_1.9;XDG_DATA;/10_per_file_1/9;;;just testing desktop-profiles-git/tests/10_per_file/test2.listing0000644000000000000000000000106312346127117017706 0ustar # testing file 10_per_file_2.0;ROX;/10_per_file_2/0;;;just testing 10_per_file_2.1;KDE;/10_per_file_2/1;;;just testing 10_per_file_2.2;XDG_CONFIG;/10_per_file_2/2;;;just testing 10_per_file_2.3;XDG_DATA;/10_per_file_2/3;;;just testing 10_per_file_2.4;ROX;/10_per_file_2/4;;;just testing 10_per_file_2.5;GNUSTEP;/10_per_file_2/5;;;just testing 10_per_file_2.6;UDE;/10_per_file_2/6;;;just testing 10_per_file_2.7;KDE;/10_per_file_2/7;;;just testing 10_per_file_2.8;XDG_CONFIG;/10_per_file_2/8;;;just testing 10_per_file_2.9;XDG_DATA;/10_per_file_2/9;;;just testing desktop-profiles-git/tests/10_per_file/test7.listing0000644000000000000000000000106312346127117017713 0ustar # testing file 10_per_file_7.0;ROX;/10_per_file_7/0;;;just testing 10_per_file_7.1;KDE;/10_per_file_7/1;;;just testing 10_per_file_7.2;XDG_CONFIG;/10_per_file_7/2;;;just testing 10_per_file_7.3;XDG_DATA;/10_per_file_7/3;;;just testing 10_per_file_7.4;ROX;/10_per_file_7/4;;;just testing 10_per_file_7.5;GNUSTEP;/10_per_file_7/5;;;just testing 10_per_file_7.6;UDE;/10_per_file_7/6;;;just testing 10_per_file_7.7;KDE;/10_per_file_7/7;;;just testing 10_per_file_7.8;XDG_CONFIG;/10_per_file_7/8;;;just testing 10_per_file_7.9;XDG_DATA;/10_per_file_7/9;;;just testing desktop-profiles-git/tests/10_per_file/test8.listing0000644000000000000000000000106312346127117017714 0ustar # testing file 10_per_file_8.0;ROX;/10_per_file_8/0;;;just testing 10_per_file_8.1;KDE;/10_per_file_8/1;;;just testing 10_per_file_8.2;XDG_CONFIG;/10_per_file_8/2;;;just testing 10_per_file_8.3;XDG_DATA;/10_per_file_8/3;;;just testing 10_per_file_8.4;ROX;/10_per_file_8/4;;;just testing 10_per_file_8.5;GNUSTEP;/10_per_file_8/5;;;just testing 10_per_file_8.6;UDE;/10_per_file_8/6;;;just testing 10_per_file_8.7;KDE;/10_per_file_8/7;;;just testing 10_per_file_8.8;XDG_CONFIG;/10_per_file_8/8;;;just testing 10_per_file_8.9;XDG_DATA;/10_per_file_8/9;;;just testing desktop-profiles-git/tests/10_per_file/test6.listing0000644000000000000000000000106312346127117017712 0ustar # testing file 10_per_file_6.0;ROX;/10_per_file_6/0;;;just testing 10_per_file_6.1;KDE;/10_per_file_6/1;;;just testing 10_per_file_6.2;XDG_CONFIG;/10_per_file_6/2;;;just testing 10_per_file_6.3;XDG_DATA;/10_per_file_6/3;;;just testing 10_per_file_6.4;ROX;/10_per_file_6/4;;;just testing 10_per_file_6.5;GNUSTEP;/10_per_file_6/5;;;just testing 10_per_file_6.6;UDE;/10_per_file_6/6;;;just testing 10_per_file_6.7;KDE;/10_per_file_6/7;;;just testing 10_per_file_6.8;XDG_CONFIG;/10_per_file_6/8;;;just testing 10_per_file_6.9;XDG_DATA;/10_per_file_6/9;;;just testing desktop-profiles-git/tests/10_per_file/test3.listing0000644000000000000000000000106312346127117017707 0ustar # testing file 10_per_file_3.0;ROX;/10_per_file_3/0;;;just testing 10_per_file_3.1;KDE;/10_per_file_3/1;;;just testing 10_per_file_3.2;XDG_CONFIG;/10_per_file_3/2;;;just testing 10_per_file_3.3;XDG_DATA;/10_per_file_3/3;;;just testing 10_per_file_3.4;ROX;/10_per_file_3/4;;;just testing 10_per_file_3.5;GNUSTEP;/10_per_file_3/5;;;just testing 10_per_file_3.6;UDE;/10_per_file_3/6;;;just testing 10_per_file_3.7;KDE;/10_per_file_3/7;;;just testing 10_per_file_3.8;XDG_CONFIG;/10_per_file_3/8;;;just testing 10_per_file_3.9;XDG_DATA;/10_per_file_3/9;;;just testing desktop-profiles-git/tests/10_per_file/test4.listing0000644000000000000000000000106312346127117017710 0ustar # testing file 10_per_file_4.0;ROX;/10_per_file_4/0;;;just testing 10_per_file_4.1;KDE;/10_per_file_4/1;;;just testing 10_per_file_4.2;XDG_CONFIG;/10_per_file_4/2;;;just testing 10_per_file_4.3;XDG_DATA;/10_per_file_4/3;;;just testing 10_per_file_4.4;ROX;/10_per_file_4/4;;;just testing 10_per_file_4.5;GNUSTEP;/10_per_file_4/5;;;just testing 10_per_file_4.6;UDE;/10_per_file_4/6;;;just testing 10_per_file_4.7;KDE;/10_per_file_4/7;;;just testing 10_per_file_4.8;XDG_CONFIG;/10_per_file_4/8;;;just testing 10_per_file_4.9;XDG_DATA;/10_per_file_4/9;;;just testing desktop-profiles-git/profile-manager.kmdr0000644000000000000000000035263312346127117015766 0ustar listDesktopProfilesGUI This script provides a GUI for managing profiles as used by the desktop-profiles package. © 2004-2005 Bart Cornelis <cobaco AT skolelinux no> Bart Cornelis <cobaco AT skolelinux no> listDesktopProfilesGUI 0 0 791 722 5 7 0 0 32767 32767 800 600 Desktop-Profile Manager false unnamed 11 6 refreshList @setGlobal(tmp,@exec(tempfile)) @exec(list-desktop-profiles --entry-format '$FILE\;$NAME\;$KIND\;$LOCATION\;$PRECEDENCE\;$REQUIREMENTS\;$DESCRIPTION' @filters > @global(tmp)) @profilesAll.setText(@exec(cat @global(tmp))) @profiles.setText(@exec("cat @global(tmp) | cut --fields 2,7 --delimiter ';' | sed 's/;/ - /' ")); @exec(rm @global(tmp)) profilesAll 2 2 0 0 NoFocus @null Splitter2 5 7 0 0 Vertical Drag vertically to hide/unhide the filter section filters 5 7 0 0 Only show profiles when: @kindFilter @requirementFilter @precedenceFilter @nameFilter @descriptionFilter @locationFilter @userFilter @sortFilter @null unnamed 11 6 Layout55 unnamed 0 6 Layout54 unnamed 0 6 Layout53 unnamed 0 6 Layout42 unnamed 0 6 kindFilter 0 0 0 0 TabFocus &kind matches false @null --kind '@kindRegexp' When checked only profiles whose 2nd (=kind) field matches the given regular expression are shown Spacer2 Horizontal Preferred 45 20 requirementFilter 0 0 0 0 TabFocus re&quirement matches @null --requirement '@requirementRegexp' When checked only profiles whose 5th (=requirements) field matches the given regular expression are shown Layout39 unnamed 0 6 precedenceFilter 0 0 0 0 TabFocus &precedence @null @execBegin if test "" = '@precedenceRegexp'; then echo "@null"; elif test "@test" = '>'; then echo "--precedence 'gt @precedenceRegexp'"; elif test "@test" = '>='; then echo "--precedence 'ge @precedenceRegexp'"; elif test "@test" = '<'; then echo "--precedence 'lt @precedenceRegexp'"; elif test "@test" = '<='; then echo "--precedence 'le @precedenceRegexp'"; elif test "@test" = '='; then echo "--precedence 'eq @precedenceRegexp'"; elif test "@test" = '<>'; then echo "--precedence 'ne @precedenceRegexp'"; fi @execEnd When checked only profiles whose precedence value satifies the given comparison are shown > >= < <= <> test 5 0 0 0 0 @widgetText Layout52 unnamed 0 6 kindRegexp @widgetText Takes a regular expression requirementRegexp @widgetText Takes a regular expression precedenceRegexp @widgetText Takes a numerical value (may be negative) Layout10 unnamed 0 6 userFilter true 0 0 0 0 TabFocus req&uirements are met for @null --user '@userList' When checked only profiles whose requirements are met for the selected user are shown userList 7 0 0 0 @exec(cat /etc/passwd | cut --fields 1 --delimiter ':' | sort) @widgetText list of user accounts on this system Layout28 unnamed 0 6 Layout49 unnamed 0 6 nameRegexp @widgetText Takes a regular expression descriptionRegexp @widgetText Takes a regular expression locationRegexp @widgetText Takes a regular expression Layout22 unnamed 0 6 sortFilter 0 0 0 0 NoFocus Sort profile list on --sort-key @sortField Shown profiles are sorted on the contents of the selected field Spacer6 Horizontal Fixed 35 20 name kind location precedence requirements description sortField 7 0 0 0 3 @expr(@sortField.currentItem+1) Shown profiles are sorted on the contents of the selected field Layout50 unnamed 0 6 Layout45 unnamed 0 6 nameFilter 0 0 0 0 TabFocus &name matches @null --name '@nameRegexp' When checked only profiles whose 1st (=name) field matches the given regular expression are shown Spacer4 Horizontal Preferred 25 20 descriptionFilter 0 0 0 0 &description matches @null --description '@descriptionRegexp' When checked only profiles whose 6th (=description) field matches the given regular expression are shown Layout47 unnamed 0 6 locationFilter 0 0 0 0 TabFocus location &matches @null --location '@locationRegexp' When checked only profiles whose 3rd (=location) field matches the given regular expression are shown Spacer5 Horizontal Preferred 15 20 profiles 7 7 1 1 AutoOneFit Single FitToWidth List of profiles found in processed .listing files detailsSelection 5 0 0 0 Profile Details unnamed 11 6 isNewScript 1 1 0 0 0 0 0 0 @if(isEmpty()) @listFileCurrent.setEnabled() @listFileCurrent.setText(/etc/desktop-profiles/custom.listing) @# New Profile (being togled -> still false) @if(@String.compare(false, @isNew)) @listFileCurrent.setEnabled(true) @deleteProfile.setEnabled(false) @listFileCurrent.setText(/etc/desktop-profiles/custom.listing) @commitChanges.setText(@i18n(Add new profile)) @endif @# Existing Profile(being togled -> still true) @if(@String.compare(true, @isNew)) @listFileCurrent.setEnabled(false) @deleteProfile.setEnabled(true) @listFileCurrent.setText(@exec(echo '@profilesAll.selection' | cut --fields 1 --delimiter ';')) @commitChanges.setText(@i18n(Save Changes)) @endif requirementsBox Activation requirements: unnamed 11 6 Layout36 unnamed 0 6 requirementsCurrent 7 7 0 0 Single FixedNumber Variable true @execBegin . /usr/share/desktop-profiles/listingmodule FILE="$(echo '@profilesAll.selection' | cut --fields 1 --delimiter ';')" NAME="$(echo '@profilesAll.selection' | cut --fields 2 --delimiter ';')" REQS="$(grep "^$NAME;" $FILE | cut --fields 5 --delimiter ';')" for_each_requirement "$REQS" 'echo' @execEnd @execBegin @# escape @widgetText so we do not loose anything @setGlobal( tmp,@String.replace( @widgetText, \,\\\\\\\ ) ) @setGlobal( tmp,@String.replace( @global(tmp),$,\\\\\$ ) ) @setGlobal( tmp,@String.replace( @global(tmp), @exec(echo \"),\\\\\" ) ) @setGlobal( tmp,@String.replace( @global(tmp), @exec(echo \`),\\\\\` ) ) echo "@global(tmp)" |while read REQ; do echo -n "$REQ "; done; @execEnd list of activation requirements (contained in the 5th field) of selected profile delReq true Remo&ve selected true @requirementsCurrent.removeItem(@requirementsCurrent.findItem(@requirementsCurrent.selection())) Removes selected activation requirement from the list GroupBox5 5 0 0 0 New activation requirement: unnamed 11 6 Layout37 unnamed 0 6 addGroupReqLabel1 When the user is a member of not member of isMember @execBegin if test '@widgetText' = 'a member of'; then echo ''; else echo '!'; fi; @execEnd Your choice here determines whether the new requirement concerns membership or non-membership groupList 7 0 0 0 @exec(cat /etc/group | cut --fields 1 --delimiter ':' | sort) @widgetText Choose the group for which (non-)membership is needed to activate this profile addGroupReq 1 1 0 0 120 32767 &Add true @requirementsCurrent.addUniqueItem(@isMember@groupList) Only activate profile for users that are (not) a member of the selected group Layout38 unnamed 0 6 addCommandReqLabel1 When commandReq @widgetText Enter any shell command addCommandReqLabel2 executes successfully addCommandReq 1 1 0 0 120 32767 Add true @requirementsCurrent.addUniqueItem($(@commandReq)) Make successful completion of given shell command a requirement for activation of this profile deactivate true 7 1 0 0 Deactivate profile completel&y true @requirementsCurrent.addUniqueItem(!) Adds an unsatisfiable requirement (not in any group) Layout29 unnamed 0 6 listFileLabel Listed in listFileCurrent true TabFocus /etc/desktop-profiles/custom.listing @widgetText *.listing Append profile description to .listing file where the profile is defined isNew &Is new true false false false true Check if shown details (will) describe a new profile Layout28 unnamed 0 6 Spacer6_2 Horizontal Expanding 30 0 deleteProfile false 1 0 0 0 32767 32767 Delete pr&ofile @setGlobal(tmp, @exec(tempfile)) @exec(cat "@listFileCurrent" | grep -v "^@nameCurrent;" > @global(tmp)) @exec(mv @global(tmp) @listFileCurrent) @exec(rm @global(tmp)) Delete profile whose details are shown commitChanges true 1 0 0 0 32767 32767 Add new profile true @setGlobal(newProfile,@nameCurrent;@kindCurrent;@locationCurrent;@precedenceCurrent;@requirementsCurrent;@descriptionCurrent) @setGlobal(oldProfile,@exec(echo '@profilesAll.item(@profilesAll.currentItem)' | cut --fields 2 --delimiter ';')) @execBegin if test @isNew = false; then if test -w "@listFileCurrent" && test "@global(oldProfile)"x != x; then sed -i "s%^@global(oldProfile).*%@global(newProfile)%" "@listFileCurrent"; elif test "@nameCurrent"x != x; then kdialog --error "It appears you don't have permission to write @listFileCurrent" || true; fi; fi; @execEnd @execBegin if test @isNew = true; then if test -w "@listFileCurrent"; then echo "@global(newProfile)" >> "@listFileCurrent"; elif !(test -e "@listFileCurrent") && test -w "$(dirname @listFileCurrent)"; then echo "@global(newProfile)" >> "@listFileCurrent"; elif test "@nameCurrent"x != x; then kdialog --error "It appears you don't have permission to write @listFileCurrent" || true; fi; fi; @execEnd Add/Update profile whose details are shown cancelChangeSelected 1 0 0 0 32767 32767 &Cancel Changes true @profilesAll.setCurrentItem(@profiles.findItem(@profiles.selection)) @nameCurrent.setText(@exec(echo '@profilesAll.selection' | cut --fields 2 --delimiter ';')) @kindCurrent.setSelection(@exec(echo '@profilesAll.selection' | cut --fields 3 --delimiter ';')) @locationCurrent.setText(@exec(echo '@profilesAll.selection' | cut --fields 4 --delimiter ';')) @precedenceCurrent.setText(@exec(echo '@profilesAll.selection' | cut --fields 5 --delimiter ';')) @descriptionCurrent.setText(@exec(echo '@profilesAll.selection' | cut --fields 7 --delimiter ';')) @isNew.setChecked(false) @commandReq.clear() Forget changes made to shown profile details Layout36 unnamed 0 6 nameCurrent 1 0 0 0 @widgetText 1st field (=name) of selected profile Layout28 unnamed 0 6 Layout27 unnamed 0 6 nameLabel 1 1 0 0 Name: Spacer7 Horizontal Preferred 33 20 precedenceLabel 1 1 0 0 NoFrame Plain Precedence: Layout25 unnamed 0 6 kindLabel 1 1 0 0 Kind: XDG_CONFIG XDG_DATA KDE GCONF GNUSTEP ROX UDE kindCurrent @widgetText 2nd field (=kind) of selected profile precedenceCurrent 1 0 0 0 45 0 @widgetText 4th field (=precedence value) of selected profile Layout26 unnamed 0 6 locationLabel Location(s): descriptionLabel Description: locationCurrent @widgetText 3rd field of selected profile descriptionCurrent 7 0 0 0 @widgetText 6th field (=description) of selected profile listDesktopProfilesGUI widgetOpened() userList populate() profiles selected(int) precedenceCurrent populate() profiles selectionChanged() cancelChangeSelected startProcess() listDesktopProfilesGUI widgetOpened() groupList populate() cancelChangeSelected clicked() requirementsCurrent populate() profiles selectionChanged() requirementsCurrent populate() profiles selected(int) requirementsCurrent populate() isNew toggled(bool) isNewScript execute() listDesktopProfilesGUI widgetOpened() listFileCurrent populate() cancelChangeSelected clicked() isNewScript execute() profiles selectionChanged() isNewScript execute() deleteProfile clicked() isNewScript execute() deleteProfile clicked() requirementsCurrent populate() deleteProfile clicked() cancelChangeSelected startProcess() listDesktopProfilesGUI widgetOpened() profiles setFocus() kindFilter toggled(bool) refreshList execute() requirementFilter toggled(bool) refreshList execute() precedenceFilter toggled(bool) refreshList execute() userFilter toggled(bool) refreshList execute() nameFilter toggled(bool) refreshList execute() descriptionFilter toggled(bool) refreshList execute() locationFilter toggled(bool) refreshList execute() kindRegexp returnPressed() refreshList execute() kindRegexp lostFocus() refreshList execute() requirementRegexp returnPressed() refreshList execute() requirementRegexp lostFocus() refreshList execute() precedenceRegexp lostFocus() refreshList execute() precedenceRegexp returnPressed() refreshList execute() nameRegexp lostFocus() refreshList execute() nameRegexp returnPressed() refreshList execute() descriptionRegexp lostFocus() refreshList execute() descriptionRegexp returnPressed() refreshList execute() locationRegexp returnPressed() refreshList execute() locationRegexp lostFocus() refreshList execute() test widgetTextChanged(const QString) refreshList execute() deleteProfile clicked() refreshList execute() commitChanges clicked() refreshList execute() sortField widgetTextChanged(const QString&) refreshList execute() listDesktopProfilesGUI widgetTextChanged(const QString&) refreshList execute() listDesktopProfilesGUI widgetOpened() refreshList execute() kindFilter kindRegexp requirementFilter requirementRegexp precedenceFilter test precedenceRegexp userFilter userList nameFilter nameRegexp descriptionFilter descriptionRegexp locationFilter locationRegexp sortField profiles nameCurrent descriptionCurrent precedenceCurrent kindCurrent locationCurrent requirementsCurrent delReq isMember groupList addGroupReq commandReq addCommandReq deactivate listFileCurrent isNew commitChanges cancelChangeSelected profilesAll desktop-profiles-git/profile-manager0000755000000000000000000000322412346127117015022 0ustar #!/bin/sh # Convenience script to start kommander gui-script from the commandline # # (c) 2005 Bart Cornelis ############################################################################### display_message() { # if we're in a GUI environment, and kdialog is available pop up an error box if (test x != "$DISPLAY"x) && (test -x `which kdialog`) && (which kdialog > /dev/null); then kdialog --error "$1"; # else just output warning else echo "$1"; fi; } # test if interpreter for gui-script is available if ! (which kmdr-executor > /dev/null); then display_message "No kmdr-executor present in path -> exiting\n."; exit; else kmdrBinary=`which kmdr-executor`; fi; # check if interpreter is executable if !(test -x $kmdrBinary); then display_message "$kmdrBinary is not executable -> exiting": exit; else kmdrVersion="`$kmdrBinary --version | grep "^Kommander Executor:" | sed "s/^.*: *\(.*\)/\1/"`"; fi; # check if profile-manager kommander script is readable if !(test -r /usr/share/desktop-profiles/kommander-scripts/profile-manager.kmdr); then display_message "/usr/share/desktop-profiles/kommander-sripts/profile-manager.kmdr is missing or unreadable! -> exiting"; exit; fi; # Check version and run #if (test $kmdrVersion = 1.0) || (echo $kmdrVersion | grep "^0."); then $kmdrBinary /usr/share/desktop-profiles/kommander-scripts/profile-manager.kmdr; # kommander with new parser -> known not to work with current script #else # display_message "This script does not yet work with the version of kommander you have installed.\nYou want to try kmdr-executor version 1.0 (kommander packager 1:3.3.2)"; #fi; desktop-profiles-git/list-desktop-profiles0000644000000000000000000001114712346127117016215 0ustar #!/bin/sh # # This script implements a tool to filter the profiles listed in .listing files # used by the desktop-profiles package. Output format kan be specified using a # format string. # # See desktop-profiles (7) for more information about using profiles through # desktop-profiles and the format of the .listing files # # (c) 2004 Bart Cornelis ############################################################################### print_help () { cat < /dev/null); then PRECEDENCE_FILTER="-$2"; else print_help; exit; fi; ;; -r | --requirement) REQUIREMENT_FILTER="$2" ;; -u | --user) OUR_USER="$2" ;; -s | --sort-key) case $2 in NAME | name | 1) SORT_KEY=1 ;; KIND | kind | 2) SORT_KEY=2 ;; LOCATION | location | 3) SORT_KEY=3 ;; PRECEDENCE| precedence | 4) SORT_KEY=4 SORT_ARGS='--general-numeric-sort --reverse'; ;; REQUIREMENTS | requirements | 5) SORT_KEY=5 ;; DESCRIPTION | description | 6) SORT_KEY=6 ;; *) print_help; exit; ;; esac; ;; -e | --entry-format) FORMAT="$2" ;; *) print_help; exit; ;; esac; # All options take an argument so we should always shift twice # except help, but then we don't get here shift 2; done; # get utility functions for working with .listing files LIB=/usr/share/desktop-profiles/listingmodule; if (test -r $LIB); then . $LIB; else echo "Shell library $LIB is missing! Aborting."; exit 1; fi; # use utility function to give user what he wants (we set up the environment # variables to control the function output in the commandline parsing) filter_listings; desktop-profiles-git/profile-manager.10000644000000000000000000000216112346127117015155 0ustar .TH PROFILE-MANAGER 1 "May 07, 2005" "desktop-profiles" .SH NAME profile-manager \- starts the gui for configuring the metadata used by desktop-profiles .SH SYNOPSIS profile-manager .SH DESCRIPTION The desktop profiles package needs metadata about the available profiles in order to decide when to activate which profiles. This metadata is contained in the .listing files placed in the /etc/desktop-profiles directory. This convenience script will start a graphical interface for configuring that metadata. .PP The gui is a kommander script, so you need to have the kommander package installed for the gui to work (the script will check if the necessary prerequisites are present, and tell you what's missing if necessary). .SH OPTIONS .PP There are no options .SH FILES /etc/desktop-profiles/*.listing - Files containing the metadata about installed profiles .SH BUGS The gui currently barks at profile metadata containing a single quote in the description. .SH AUTHOR This manual page was written by Bart Cornelis . .PP .SH SEE ALSO desktop-profiles(7), list-desktop-profiles(1), update-profile-cache(1) desktop-profiles-git/update-profile-cache.10000644000000000000000000000202212346127117016062 0ustar .TH UPDATE-PROFILE-CACHE 1 "December 13, 2006" "desktop-profiles" .SH NAME update-profile-cache \- (re)generate profile assignment cache .SH SYNOPSIS update-profile-cache .SH DESCRIPTION Running this script (re)generates the cache of profile assignments used by desktop-profiles. By default this script is run automatically once a day by a cron script. . .IP NOTE: No cache of assignments will be generated in cases where cache use isn't supported by desktop-profiles (at the moment caching profile assingments is only supported in the simple case when no group or command requirements are used for activation of profiles, i.e. when we have a static machine-wide profile assignment). .SH FILES /etc/desktop-profiles/*.listing - Files containing the metadata about installed profiles .PP /etc/default/desktop-profiles - File containing default settings for this script .SH AUTHOR This manual page was written by Bart Cornelis . .PP .SH SEE ALSO desktop-profiles(7), profiles-manager(1), list-desktop-profiles(1) desktop-profiles-git/desktop-profiles0000644000000000000000000000745612346127117015254 0ustar # Settings for the shell scripts of the desktop-profiles package # (those scripts wil source this file). # # Should only contain shell variables and comments ################################################################### ################################################################## # General settings (i.e. applying to all scripts in this package) ################################################################## # Takes a (space separated) list of directories. Each of the dirs listed will # be searched for .listing files, all found .listing files will be used by # default. LISTINGS_DIRS="/etc/desktop-profiles" # Directory containing the cache of profile assignments # (cache is only generated when that makes sense) CACHE_DIR="/var/cache/desktop-profiles" # This determines how the desktop-profiles agent script deals with the # situation where the environment are already set by some other agent: # - autocrat: assume desktop-profiles is the only actor allowed to touch # the environment variables and ignore current setting of the # environment variables (this is also known as BOFH mode) # - rude : profiles activated by desktop-profiles take precedence over # those already set in the environment variables # - polite : profiles activated by desktop-profiles give precedence to those # already set in the environment variables # (allows user to override desktop-profiles) # - sheep : always follow the set environment variables # (i.e. don't do anything, essentially deactivates desktop-profiles) PERSONALITY=polite ################################# # SETTINGS FOR xsession.d script ################################# # The set [KDE, GCONF, XDG_CONFIG, XDG_DATA, ROX, UDE] defines the valid # profile kinds. The following variable contains the subset of profile kinds # for which you want to activate the profiles. # # Disabling profile kinds you don't need used to cause a noticable decrease # in the time needed to run this script. The problem that caused that has # been solved and the difference is no longer really noticable, hence it's # probably not worth the bother to mess with this. ACTIVE_PROFILE_KINDS="KDE XDG_CONFIG XDG_DATA GCONF GNUSTEP ROX UDE" ############################################## # SETTINGS FOR list-desktop-profiles # (and by extension the kommander gui script) ############################################## # which field do we sort on by default? # field 1 = profile name (default) # field 2 = profile kind # field 3 = profile location # field 4 = profile priority # field 5 = activation requirements # field 6 = profile description #SORT_KEY= # any extra arguments to be passed to sort when sorting # (this defaults to '--general-numeric-sort --reverse' when sorting precedence) #SORT_ARGS= # default regexp to be applied to the profiles' name field #NAME_FILTER= # default regexp to be applied to the profiles' location field #LOCATION_FILTER= # numerical test to be done on the profiles' precedence value # (e.g. '-gt 0', '-ge 0', or '-lt 50') # `test $PRECEDENCE $PRECEDENCE_FILTER` needs to be true #PRECEDENCE_FILTER= # default regexp to be applied to the profiles' requirements field #REQUIREMENT_FILTER= # default regexp to be applied to the profiles' kind field #KIND_FILTER= # default regexp to be applied to the profiles' description field #DESCRIPTION_FILTER= # Set the default profile formatstring # You may use the variables NAME, LOCATION, PRECEDENCE, REQUIREMENT, KIND, # DESCRIPTION, FILE variables. The first 6 refer to the respective fields off # the profile, while FILE refers to the .listing file the profile is in. # # Characters interpreted specially by the shell (such as ';') need escaping. #FORMAT='$NAME\;$KIND\;$DESCRIPTION\;$PRECEDENCE\;$REQUIREMENTS\;$DESCRIPTION'