#! /bin/bash
#Move from /etc/xdg/xfce4/xinitrc,Rain @ 08/04/08.
/usr/bin/add_driver.sh
sudo /etc/init.d/network start
sudo /etc/init.d/netfs start
sudo /etc/init.d/udev-post start
#sudo /etc/init.d/sshd start
#sudo /etc/init.d/nasd start
sudo /etc/init.d/ConsoleKit start
#sudo /etc/init.d/avahi-daemon start
sudo /etc/init.d/cups start
sudo /etc/init.d/wpa_supplicant start
sudo /etc/init.d/NetworkManager start
sudo /etc/init.d/NetworkManagerDispatcher start
sudo /etc/init.d/crond start
/usr/bin/qsynaptic --restore
sudo /usr/bin/nm-applet &
#/usr/bin/xfce4-volstatus-icon &
#if [ "X`locale|grep zh`" != "X" ];then
# scim -d
#fi
#rm -f /home/user/.DCOPserver_localhost_*
#sudo rm -f /home/user/.ICEauthority
while true
do
kpid=
kpid=`pidof kpowersave`
if [ "X${kpid}" == "X" ];then
/usr/bin/kpowersave &
fi
if [ "X${kpid}" != "X" ];then
break
fi
sleep 3
done
gnome-screensaver &
rm -f /home/user/.gtk-bookmarks
xdg-user-dirs-gtk-update &
#xmodmap -e 'keycode 117 = EuroSign cent'
#xodmap /etc/X11/Xmodmap
# paul@080614 mark for start 2dbus
xhkeys &
splashd &
#monitoron &
if [ "X`sudo fdisk -l|grep swap`" != "X" ];then
sudo swapon -a
fi
for i in `cat ~/.gsynaptics/syn.conf`; do synclient $i; done
sudo iwpriv ath0 powersave 1
clairvaux said:This above solution worked for my problem too. I'd really like to know how you figured this was the problem. nowait.sh ? Never heard of it hahaha
After I installed the XFCE desktop RPM file in the other thread, my WIFI quit working. For some reason that script broke my WIFI's ability to connect to an encrypted network via passkey-- no matter what the passkey it was.;
This script fixed that.
You should make a howto, and post this somewhere, for all of us who have used that RPM desktop replacement mod.
I've finally managed to figure this out. What appears to have happened is the connection config files for our profiles have not been updated properly due to a power loss etc. To fix you need to reset the connection config files for your profile by removing them (or moving them). To do this you need to run the following command in a terminal:
Code:mv ~/.gconf/system/networking ~/
This moves the networking config files to your home (My Files) directory thereby hiding them from the NetworkManager.
Then reboot
After you reboot the networking applet/icon will appear in the notifications area of the panel and all will be as it should be (post if not). You can then delete the networking folder from you home directory with the following run from the terminal or by deleting it from My Files.
Code:rm -rvf ~/networking
annafil said:hamza: there is a solution to the network manager dying as well, courtesy of some mods by another user on this forum. Only problem is, it's all bundled together in a script to de-acer-ize the AAO and put a proper xfce on it.
I'll be happy to put up instructions if you really want them on what I did to get suspends to play nice, but I must warn it's not a quick process. It requires backing up a handful of files and the terminal.
Hamza said:Bingo!! My passwords are remembered!
Creating my own keyring did nothing, but when running the keyring manager it said that my gnome-keyring-daemon isn't running. I ran that (just from alt+f2) and then when I edited my wifi connection settings in NetworkManager it remembered my WPA passwords!
So I guess all I need to do is make sure gnome-keyring-daemon starts automatically on boot (I seem to remember a .profile file from my Unix days 15 years ago) and Bob shall be my uncle.
My only problem with my networking now is that NetworkManager dies when my AA1 sleeps, but that's for another thread... Many thanks annafil, you're a star.
Cheers,
Hamza