티스토리 뷰

Posted by gnome-hacks@jodrell.net on 2003-08-28 11:21:07

세션에서 사용할 스플래시 이미지를 바꿔주는 ?NautilusScript:
#!/bin/sh

# this is to strip the newline off:
FILE=`echo -n $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS`

# use gconf to change the splash image:
gconftool-2 --type=string --set apps/gnome-session/options/splash_image	"$FILE"

# alert the user that we're done:
gdialog --title "Message" --infobox "\n   Splash image has been set.   \n" 1 1

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함