ページ 11

トレイのアプリケーション起動ボタン

Posted: 09/06/30(火) 06:51
by 暇人
4.1.2あたりからうまく動いてなかった。

Re: トレイのアプリケーション起動ボタン

Posted: 09/06/30(火) 06:56
by 暇人
/usr/local/jwmconfig2/panel-buttons
18行目から23行めを抜粋

19,21行目を修正

コード: 全て選択

total=`wc -l /root/.jwmrc-tray | sed -e 's/ *//' | sed -e 's/ .*//g'` ### get total number of lines
low=`grep '<!-- Additional TrayButton attribute: label -->'  -n /root/.jwmrc-tray | sed -e 's/\:.*>//g'`  ### get line number with the Menu button
high=`grep '<!-- Additional Pager attributes; width, height -->' -n /root/.jwmrc-tray | sed -e 's/\:.*>//g'` ### get line number with Additional Pager
last=`echo "(("$total" - "$high" + 1))" | bc -l` 
begin=`echo "(("$low" + 1))" | bc -l` ### first line with panel buttons
#end=`echo "(("$high" - 1))" | bc -l` ### last line with panel buttons

Re: トレイのアプリケーション起動ボタン

Posted: 09/07/28(火) 11:42
by みのむし
/usr/local/jwmconfig2/panel-button

/usr/local/jwmconfig2/panel-buttons

では?