티스토리 뷰
Posted by vms@mymail.ro on 2003-08-13 21:06:12
Here is a little BASH script that changes the GDM theme with a random one (of
course with one from the /usr/share/gdm/themes - so you should keep only the
themes you like). You can put it for example in /etc/cron.daily
Enjoy
(!! the last two lines are in fact a single one but ...)
#!/bin/bash THEME_DIR=/usr/share/gdm/themes THEMES=`ls -1 "$THEME_DIR"` N=`echo $THEMES | wc -w` ((N=RANDOM%N)) cp /etc/X11/gdm/gdm.conf /etc/X11/gdm/gdm.conf.old sed {s/GraphicalTheme=.*/GraphicalTheme=`echo $THEMES | cut -d ' ' -f $N`/} etc/X11/gdm/gdm.conf.old > /etc/X11/gdm/gdm.conf
'hacking > linux&gnome' 카테고리의 다른 글
Multisync: Synchronise Evolution installations! (0) | 2003.08.18 |
---|---|
Transparent background images (0) | 2003.08.18 |
Random Background Images (0) | 2003.08.09 |
Installing Straw on Red Hat 8/9 (0) | 2003.08.09 |
Theme-agnostic desktop entries (0) | 2003.08.09 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Prototype
- nodejs
- 땅끝마을
- 독후감
- Ajax
- webapp
- 노래
- 해남
- Dojo
- **
- CSS
- 자전거
- jQuery
- 자바스크립트
- 여행
- ***
- DeveloperWorks
- Java
- 책
- 영화
- web
- HTML5
- ***1/2
- 장필순
- Eclipse
- maven
- docker
- ****
- JavaScript
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함