ALT Linux Bugzilla
– Attachment 338 Details for
Bug 3513
xmms-wrapper.sh не передает аргументы
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
/usr/share/xmms/xmms-wrapper.sh
xmms-wrapper.sh (text/plain), 1.44 KB, created by
Michael Shigorin
on 2004-01-23 12:59:40 MSK
(
hide
)
Description:
/usr/share/xmms/xmms-wrapper.sh
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2004-01-23 12:59:40 MSK
Size:
1.44 KB
patch
obsolete
>#!/bin/sh ># this script will initialize settings in ~/.xmms/config ># so that they play well with Cyrillic tags and rusxmms; ># needs some XFree86-cyr_rfx-fonts-koi8-* package > ># by Michael Shigorin <mike@altlinux.org> for xmms-1.2.8-alt3+ > >XMMSDIR="$HOME/.xmms" >CONFIG="$XMMSDIR/config" >PIPE="$XMMSDIR/xmms_$USER.0" >COMMAND="/usr/bin/soundwrapper /usr/bin/xmms" > >runxmms() { > echo ["$@"] > [ -z "$XMMS_CYR_SOURCE" ] && exec $COMMAND "$@" >} > >[ -e "$CONFIG" ] && runxmms "$@" > >FONTDIR_R="/usr/X11R6/lib/X11/fonts/koi8-r/75dpi" >BIGFONT_R="-rfx-helvetica-bold-r-normal-*-*-100-*-*-p-*-koi8-r" >SMALLFONT_R="-rfx-helvetica-medium-r-normal-*-*-80-*-*-p-*-koi8-r" > >FONTDIR_UB="/usr/X11R6/lib/X11/fonts/koi8-u/75dpi" >BIGFONT_UB="-rfx_koi8_ub-helvetica-bold-r-normal-*-*-100-*-*-p-*-koi8-ub" >SMALLFONT_UB="-rfx_koi8_ub-helvetica-medium-r-normal-*-*-80-*-*-p-*-koi8-ub" > >MAINWIN_USE_XFONT="TRUE" >AUTOCHARSET="1" > >case "$LC_CTYPE" in > be_BY*|ru_RU*|uk_UA*) > [ -d "$FONTDIR_R" ] && { > BIGFONT="$BIGFONT_R" > SMALLFONT="$SMALLFONT_R" > } > [ -d "$FONTDIR_UB" ] && { > BIGFONT="$BIGFONT_UB" > SMALLFONT="$SMALLFONT_UB" > } > ;; > *) > runxmms "$@";; >esac > >[ -e "$CONFIG" ] || { > echo "$0: init $CONFIG for $LC_CTYPE" > mkdir -p "$XMMSDIR" && \ > cat >> "$CONFIG" << __EOF__ >[xmms] >playlist_font=$BIGFONT >mainwin_font=$SMALLFONT >shade_font=$SMALLFONT >mainwin_use_xfont=$MAINWIN_USE_XFONT >autocharset=$AUTOCHARSET >autocharset_fs=$AUTOCHARSET >__EOF__ > XMMS_CYR_CREATED="true" >} > >runxmms "$@"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 3513
: 338