File: startup

package info (click to toggle)
icewm 4.0.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 14,008 kB
  • sloc: cpp: 77,598; ansic: 2,532; makefile: 1,549; sh: 567; perl: 430; xml: 193; python: 84
file content (29 lines) | stat: -rwxr-xr-x 699 bytes parent folder | download | duplicates (7)
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
#!/bin/sh

/usr/bin/pasystray &
# can also be run through .desktop autorun code below
nm-applet &

# preheat filesystem cache for more responsive menu
ionice -c Idle icewm-menu-fdo > /dev/null &

# change false to true to enable
if false; then

   # this will run various autostart applets from global and user directories
   # Be warned, some of that autorun tools heavily modify the look and feel of
   # many XDG aware applications.

   if test -z "$XDG_CONFIG_DIRS" ; then
      d="/etc/xdg/autostart $HOME/.config/autostart"
   else
      d=`echo $XDG_CONFIG_DIRS | tr : \ `
   fi

   for dir in $d ; do
      for x in $dir/*.desktop
      do
         icewm-menu-fdo "$x"
      done
   done
fi