Notices


Reply
Thread Tools
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#211
Huh, isn't that what in preferences "startup-enable" (and the mode type) is for?
 

The Following User Says Thank You to don_falcone For This Useful Post:
laasonen's Avatar
Posts: 565 | Thanked: 618 times | Joined on Jun 2010 @ Finland
#212
Originally Posted by getnani View Post
@laasonen,
is there any possibility that the state of the wlan (disabled or enabled) remains the same even after reboot?
At the moment, after every reboot it goes to enabled state.

It would be great if it stays at the last state it was before rebooted/ shutdown? if it can be done using a simple mod, please post it, if u dont want the applet to be updated.

Thanks for the wonderful applet. significant difference matey!
The applet doesn't save the status of the wlan anywhere, so you first would have to make it save the wlan's status to gconf when the status changes and on startup read the status from gconf and modify the wlan's status.

It's pretty easy task, if anyone is interested on implementing it, but I can't do it myself, because I don't have Maemo SDK or a device to test it on anymore.
__________________
Couple of my applications:
ConnLock - Advanced phone lock
Sanakirja.org - A Sanakirja.org dictionary client
Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
Posts: 129 | Thanked: 32 times | Joined on Jun 2010
#213
okay.... say if i wana start disabled on boot... how shud i do it?
 
Posts: 129 | Thanked: 32 times | Joined on Jun 2010
#214
Originally Posted by don_falcone View Post
Huh, isn't that what in preferences "startup-enable" (and the mode type) is for?
Sorry I am not able to see any prefs in the settings.. where shud I look for this?
 

The Following User Says Thank You to getnani For This Useful Post:
laasonen's Avatar
Posts: 565 | Thanked: 618 times | Joined on Jun 2010 @ Finland
#215
Originally Posted by getnani View Post
okay.... say if i wana start disabled on boot... how shud i do it?
Quickest way would probably be to add something like this:
Code:
start on started hildon-desktop

respawn

script
  exec /sbin/unload-drivers.sh
end script
to:
Code:
/etc/event.d/disable-wlan
__________________
Couple of my applications:
ConnLock - Advanced phone lock
Sanakirja.org - A Sanakirja.org dictionary client
Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 

The Following User Says Thank You to laasonen For This Useful Post:
Posts: 129 | Thanked: 32 times | Joined on Jun 2010
#216
ta muchly m8
 
Posts: 129 | Thanked: 32 times | Joined on Jun 2010
#217
one small request... any easyway to get the applet in the status menu to start in wlan disabled? becos, now wlan is disabled, yet it shows in the applet enabled!
 
laasonen's Avatar
Posts: 565 | Thanked: 618 times | Joined on Jun 2010 @ Finland
#218
Originally Posted by getnani View Post
one small request... any easyway to get the applet in the status menu to start in wlan disabled? becos, now wlan is disabled, yet it shows in the applet enabled!
Hmm, the applet probably starts up before wlan gets disabled, so it shows wrong status :/

To fix it, you could add this line:
Code:
		commands.getoutput('sudo /sbin/unload-drivers.sh')
after this line:
Code:
		StatusMenuItem.__init__(self)
on this file:
Code:
/usr/lib/hildon-desktop/status-area-wlan-driver-selector-applet.py
and remove this file:
Code:
/etc/event.d/disable-wlan
__________________
Couple of my applications:
ConnLock - Advanced phone lock
Sanakirja.org - A Sanakirja.org dictionary client
Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 

The Following User Says Thank You to laasonen For This Useful Post:
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#219
Originally Posted by getnani View Post
Sorry I am not able to see any prefs in the settings.. where shud I look for this?
Dunno which version you have installed, but on mine, if i click any of the plugins buttons, i can select preferences (to the right of the screen which pops up). On the same screen where you f.e. select the mode for GSM.
 

The Following User Says Thank You to don_falcone For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#220
don_falcone, are You sure that You're not referring to Advanced Interface Switcher, instead of the WLAN Driver selector applet?

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following User Says Thank You to Estel For This Useful Post:
Reply

Tags
announce, applet, bleeding edge, driver, monitor, not4noobs


 
Forum Jump


All times are GMT. The time now is 12:57.