how to mount device in quiet way?
Posted: Sun Sep 29, 2013 6:38 am
hi all, i'm using lxde with lubuntu. i need to do a init job from the startup. So i write my job in /etc/xdg/lxsession/Lubuntu/autostart
$cat /etc/xdg/lxsession/Lubuntu/autostart
...
@lxterminal -e myjob.sh
...
in myjob.sh, some background mount jobs and some frontground show details are running concurrently. but by default, device mount config in pcmanfm(~/.config/pcmanfm/lubuntu/pcmanfm.conf
[volume]
mount_on_startup=1
mount_removable=1
autorun=1
then i modified them to 0.
$sudo myjob.sh
OK, it's quiet now. while autostart work in /etc/xdg/lxsession/Lubuntu/autostart still pop window when mount command run.
can any one show me where the config file should i modify to get a autostart quiet way!?
$cat /etc/xdg/lxsession/Lubuntu/autostart
...
@lxterminal -e myjob.sh
...
in myjob.sh, some background mount jobs and some frontground show details are running concurrently. but by default, device mount config in pcmanfm(~/.config/pcmanfm/lubuntu/pcmanfm.conf
[volume]
mount_on_startup=1
mount_removable=1
autorun=1
then i modified them to 0.
$sudo myjob.sh
OK, it's quiet now. while autostart work in /etc/xdg/lxsession/Lubuntu/autostart still pop window when mount command run.
can any one show me where the config file should i modify to get a autostart quiet way!?