slitaz-configs rev 181

.Xdefaults: fix UTF-8; .Xresources is symlink to .Xdefaults; .profile: source locale.conf, add example of colored prompt; environment: fix menu prefix, add GNU less colors
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jan 20 06:23:53 2013 +0000 (2013-01-20)
parents 0dfc40410c31
children 3c51ec576dba
files rootfs/etc/skel/.Xdefaults rootfs/etc/skel/.Xresources rootfs/etc/skel/.profile rootfs/etc/xdg/openbox/environment
line diff
     1.1 --- a/rootfs/etc/skel/.Xdefaults	Sun Jan 20 05:20:28 2013 +0000
     1.2 +++ b/rootfs/etc/skel/.Xdefaults	Sun Jan 20 06:23:53 2013 +0000
     1.3 @@ -14,6 +14,8 @@
     1.4  xterm*faceName:		DejaVu Sans Mono
     1.5  xterm*faceNameDoublesize:WenQuanYi WenQuanYi Micro Hei Mono-10
     1.6  xterm*faceSize:		10
     1.7 +xterm*utf8:		2
     1.8 +xterm*eightBitInput:	true
     1.9  
    1.10  ! Xload settings.
    1.11  !
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/rootfs/etc/skel/.Xresources	Sun Jan 20 06:23:53 2013 +0000
     2.3 @@ -0,0 +1,1 @@
     2.4 +.Xdefaults
     2.5 \ No newline at end of file
     3.1 --- a/rootfs/etc/skel/.profile	Sun Jan 20 05:20:28 2013 +0000
     3.2 +++ b/rootfs/etc/skel/.profile	Sun Jan 20 06:23:53 2013 +0000
     3.3 @@ -1,6 +1,8 @@
     3.4  # ~/.profile: Executed by Bourne-compatible login SHells.
     3.5  #
     3.6  
     3.7 +. /etc/locale.conf
     3.8 +
     3.9  # Path to personal scripts and executables (~/.local/bin).
    3.10  #
    3.11  if [ -d "$HOME/.local/bin" ] ; then
    3.12 @@ -12,6 +14,9 @@
    3.13  # or Bash. Default is a classic prompt.
    3.14  #
    3.15  PS1='\u@\h:\w\$ '
    3.16 +# colored prompt
    3.17 +#PS1='\[\e[0;32m\]\u@\h\[\e[0m\]:\[\e[0;33m\]\w\[\e[0m\]\$ '
    3.18 +
    3.19  
    3.20  EDITOR='nano'
    3.21  PAGER='less -EM'
     4.1 --- a/rootfs/etc/xdg/openbox/environment	Sun Jan 20 05:20:28 2013 +0000
     4.2 +++ b/rootfs/etc/xdg/openbox/environment	Sun Jan 20 06:23:53 2013 +0000
     4.3 @@ -8,3 +8,15 @@
     4.4  export XDG_CACHE_HOME="$HOME/.cache"
     4.5  export XDG_CURRENT_DESKTOP=openbox
     4.6  
     4.7 +# /etc/xdg/menus/${XDG_MENU_PREFIX}applications.menu
     4.8 +export XDG_MENU_PREFIX=''
     4.9 +
    4.10 +
    4.11 +# Less Colors for Man Pages in SliTaz
    4.12 +export LESS_TERMCAP_mb=$(echo -en "\e[01;31m")       # begin blinking
    4.13 +export LESS_TERMCAP_md=$(echo -en "\e[01;38;5;74m")  # begin bold
    4.14 +export LESS_TERMCAP_me=$(echo -en "\e[0m")           # end mode
    4.15 +export LESS_TERMCAP_se=$(echo -en "\e[0m")           # end standout-mode
    4.16 +export LESS_TERMCAP_so=$(echo -en "\e[38;5;246m")    # begin standout-mode - info box
    4.17 +export LESS_TERMCAP_ue=$(echo -en "\e[0m")           # end underline
    4.18 +export LESS_TERMCAP_us=$(echo -en "\e[04;38;5;146m") # begin underline