daily pastebin goal
38%
SHARE
TWEET

jr

a guest Jun 23rd, 2010 206 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #In Kubuntu use plasma-netbook if small screen found                                                                                                                                
  2. HEIGHT=`xdpyinfo | grep dimensions | awk '{print $2}' | sed s,.*x,,`
  3. if [ $HEIGHT -lt 700 && $HEIGHT -gt 0 ]; then
  4.   if `grep -q Hidden=false plasma-netbook.desktop`; then
  5.     echo Small screen resolution detected, using plasma-netbook;
  6.     export KDEDIRS=/usr/share/kubuntu-netbook-default-settings/:/usr/share/kubuntu-default-settings/kde4-profile/default/
  7.   fi
  8. fi
RAW Paste Data
Top