Xfce 4.4ã«ãããç°å¢å¤æ°ã®è¨å®ã¨èªåå®è¡ã³ãã³ã
Xfce4ãã¤ã³ã¹ãã¼ã«ããç´å¾ã®ç¶æ
ã§ã¯ãæ¥æ¬èªã®å
¥åãã§ããªãå ´åãå¤ãã®ã§ã¯ãªããã¨æã(ãã£ã¹ããªãã ãã§ã¯ããã)ã
ã»ãã·ã§ã³éå§å¾ã«èªåçã«é©åãªç°å¢å¤æ°ãè¨å®ãããããã«ãã¤ã¤ãXå
¥åã¡ã½ããã使ç¨ããå ´åã«ã¯é©å½ãªãã¼ã¢ã³ã®èµ·åãããå¿
è¦ãããã
Xfce4ã»ãã·ã§ã³éå§æã«ã¯ã[ãã¼ã ãã£ã¬ã¯ããª]/.config/xfce/xinitrcã¨ãããã¡ã¤ã«ãããã°ãããå®è¡ãããç¡ããã°/etc/xdg/xfce4/xinitrcãå®è¡ãããã
ä¸è¬çã«ã¯ã/etc/xdg/xfce4/xinitrcã®å
容ã[ãã¼ã ãã£ã¬ã¯ããª]/.config/xfce/xinitrcã«å«ãã¦ãå¿
è¦ã«å¿ãã¦ç·¨é(ã«ã¹ã¿ãã¤ãº)ããã
- ç°å¢å¤æ°ã®è¨å®
- èªåèµ·åã¢ããªã±ã¼ã·ã§ã³(Xfce 4.4)
- èªåèµ·åã¢ããªã±ã¼ã·ã§ã³(Xfce 4.2 æ¦è¦ã®ã¿)
ç°å¢å¤æ°ã®è¨å®
(2007/7/13)GDMçµç±ã®ãã°ã¤ã³ã§ã¯ããã¹ã¯ãããç°å¢ã«ããã[ãã¼ã ãã£ã¬ã¯ããª]/.xprofileã®ä¸ã§exportããã°ã»ãããããã®ã§ãæ¥æ¬èªå ¥åé¢ä¿ãªã©ãå ±éãã¦ä½¿ç¨ãããç°å¢å¤æ°ãã»ããããã¨ãããæ¥æ¬èªã®å ¥åã¡ã½ããã«SCIMã使ç¨ããå ´åã«å¿ è¦ãªç°å¢å¤æ°ã®è¨å®ä¾
ãã¡ã¤ã«å: ~/.xprofile
#!/bin/sh export XMODIFIERS="@im=SCIM" export GTK_IM_MODULE=scim export QT_IM_MODULE=scim (å¿ è¦ã«å¿ãã¦ãexport ç°å¢å¤æ°=å¤ããããã«è¿½å ) scim -d # Xå ¥åã¡ã½ãã(XIM)ã§SCIMã使ç¨ããã®ã«å¿ è¦ export GTK2_RC_FILES= # ${HOME}/.gtkrc-2.0ãé ç½®ããå ´å
(2008/2/29)KDE4ã§ãã°ã¤ã³å¾ã«(XIMã¨ãã¦)SCIMãæ£å¸¸ã«åä½ããããã«ã¯ã[ãã¼ã ãã£ã¬ã¯ããª]/.xprofileå´ã«ãscim -dããæ¸ããªãã¦ã¯ãªããªãã£ããããä¸ã®èªåèµ·åã¹ã¯ãªãããããã¡ãã«ç§»åã»æ´ã«ãGTK2_RC_FILESã空æååã«ãããã¨ã«ããã[ãã¼ã ãã£ã¬ã¯ããª]/.gtkrc-2.0é ç½®æã«GTK+ 2ã®è¨å®ããããããªãã®ãåé¿ããããã«ãã
ãã¡ã¤ã«å: ~/.config/xfce4/xinitrc
#! /bin/sh (Xfceã®åæåæã«è¡ãå¦çãç°å¢å¤æ°ã®è¨å®ãªã©) . /etc/xdg/xfce4/xinitrc
startxã§èµ·åãããå ´åã¯ä»¥ä¸ã®[ãã¼ã ãã£ã¬ã¯ããª]/.xinitrcãç¨æãããã¨ã§ã[ãã¼ã ãã£ã¬ã¯ããª]/.xprofileã¨[ãã¼ã ãã£ã¬ã¯ããª]/.config/xfce4/xinitrcã®ä¸¡æ¹ã使ç¨ã§ããã
ãã¡ã¤ã«å: ~/.xinitrc
#! /bin/sh test -f ~/.xprofile && . ~/.xprofile startxfce4
èªåèµ·åã¢ããªã±ã¼ã·ã§ã³(Xfce 4.4)
Xfce 4.4ã§ã¯ã[ãã¼ã ãã£ã¬ã¯ããª]/.config/autostart/以ä¸ã«.desktopãã¡ã¤ã«ãé ç½®ããã¨ãxfce4-autostart-editor(ãèªåéå§ã¢ããªã±ã¼ã·ã§ã³ãã®è¨å®)ãèµ·åãã¦è©²å½é ç®ã«ãã§ãã¯ãå ¥ãã(åæç¶æ ã§ã¯æå¹ã«ãªã£ã¦ãã)ãã¨ã§ã¢ããªã±ã¼ã·ã§ã³ã®èªåèµ·åããµãã¼ããã¦ããã/usr/share/applications/以ä¸ã«.desktopãã¡ã¤ã«ãããå ´åã¯ãªã³ã¯ãå¼µãã°ããã
ä¸ã¯beryl-managerãèªåèµ·ååè£ã«ç»é²ããä¾ã
$ ln -s /usr/share/applications/beryl-manager.desktop ~/.config/autostart/
ã³ãã³ããèªåçã«å®è¡ãããå ´åã以ä¸ã®æµãã¨ãªãã
- å¦çãã·ã§ã«ã¹ã¯ãªããã«è¨è¿°ãã¦é©å½ãªå ´æ([ãã¼ã ãã£ã¬ã¯ããª]/bin/以ä¸ãªã©)ã«ä¿å
- ã·ã§ã«ã¹ã¯ãªãããå®è¡ããããã®.desktopãã¡ã¤ã«ã[ãã¼ã ãã£ã¬ã¯ããª]/.config/autostart/以ä¸ã«ä½æ
- xfce4-autostart-editor(ãèªåéå§ã¢ããªã±ã¼ã·ã§ã³ãã®è¨å®)ã§ãé ç®ãæå¹ã«ãªã£ã¦ãããã¨ã確èª
ã·ã§ã«ã¹ã¯ãªããã®å
容ä¾(å®è¡ãããã³ãã³ãã並ã¹ãã ã)
ãã¡ã¤ã«å: ~/bin/startup.sh
#! /bin/sh # å®è¡ãããã³ãã³ãåã並ã¹ã¦ãã nvidia-settings -l nvclock -n 150 numlockx xbindkeys mlclient "$@" 2>/dev/null || mlterm -j genuine "$@" # GUIã¢ããªã¯ããã¯ã°ã©ã¦ã³ãå®è¡ã«ãã emacs & LC_TIME=C gkrellm2 & # æ¥ä»ã«æ¥æ¬èªãå ¥ãã¨ãæ¨31 5æãã®ããã«ãªãããè±èªã§ä½¿ç¨ãã¦ãã
(2008/2/29)[ãã¼ã ãã£ã¬ã¯ããª]/.xprofileã®ã¨ããã«ãæ¸ãã¦ããããKDE4ä¸ã®SCIMã®é¢ä¿ã§ãããããã¯æ¶ãããã¾ãããã¡ã¤ã«åã«é¢ãã¦ããå¥ã®ãã¹ã¯ãããç°å¢ã§ã®å ±ç¨ãèãã¦startup.shã«å¤æ´
.desktopãã¡ã¤ã«ã®å
容ä¾(å¿
è¦æä½éã®å
容ãExecã®å¤ã¯ã·ã§ã«ã¹ã¯ãªããã®å ´æ)
ãã¡ã¤ã«å: ~/.config/autostart/startup.sh.desktop
[Desktop Entry] Type=Application Exec=/home/[ã¦ã¼ã¶å]/bin/startup.sh Name=Custom Startup Script
(2008/2/29)ãã¡ã¤ã«åãå¤æ´
èªåèµ·åã®è¨å®ã§ãã§ãã¯ãå
¥ã£ã¦ãããã¨ã確èª