slitaz-base-files diff rootfs/etc/profile @ rev 68

Make OpenOffice look better (Thanks Outramus)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jun 13 20:49:19 2009 +0200 (2009-06-13)
parents 08241a181a24
children 74de6d1a75d8
line diff
     1.1 --- a/rootfs/etc/profile	Sat Jun 13 20:45:03 2009 +0200
     1.2 +++ b/rootfs/etc/profile	Sat Jun 13 20:49:19 2009 +0200
     1.3 @@ -4,7 +4,6 @@
     1.4  LD_LIBRARY_PATH="/usr/lib:/lib"
     1.5  
     1.6  # Prompt format for Ash (Bash use /etc/bashrc).
     1.7 -#
     1.8  if [ "`id -u`" -eq 0 ]; then
     1.9  	# Light green and blue colored prompt.
    1.10  	#PS1='\e[1;31m\u@\h\e[0m:\e[1;34m\w\e[0m\$ '
    1.11 @@ -20,17 +19,19 @@
    1.12  ulimit -m 65536
    1.13  
    1.14  # Screen display for X and encoding for GTK+ apps.
    1.15 -#
    1.16  [ -n "$DISPLAY" ] || DISPLAY=:0.0
    1.17  G_FILENAME_ENCODING=iso8859-1
    1.18  
    1.19 +# Make OpenOffice look better.
    1.20 +OOO_FORCE_DESKTOP=gnome
    1.21 +
    1.22  # ldd fake
    1.23 -#
    1.24  which ldd > /dev/null || alias ldd='LD_TRACE_LOADED_OBJECTS=1 /lib/ld*.so'
    1.25  
    1.26  # Export all variables defined above and set mask.
    1.27  #
    1.28 -export PATH LD_LIBRARY_PATH PS1 DISPLAY G_FILENAME_ENCODING ignoreeof
    1.29 +export PATH LD_LIBRARY_PATH PS1 DISPLAY G_FILENAME_ENCODING 
    1.30 +export OOO_FORCE_DESKTOP ignoreeof
    1.31  umask 022
    1.32  
    1.33  # Locale and timezone settings.