Author Topic: (Solved) LXDE and Wireless  (Read 1434 times)

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1490
  • In theory, theory=practice, in practice ???
(Solved) LXDE and Wireless
« on: July 23, 2011, 04:49:24 PM »
Hi Neal,

Looking for the net applet for wireless in the system tray, can't find it anywhere.
I want to disable it for awhile.   Want to try Wicd on one 2011 and see how it looks.
I'm looking all over for an autostart entry, unless it's in the tray and can't be removed
unless the tray is removed.   Any help ?

THX
« Last Edit: July 27, 2011, 12:37:41 PM by Ferdes Fides »
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Online muungwana

  • Hero Member
  • *****
  • Posts: 6254
Re: LXDE and Wireless
« Reply #1 on: July 23, 2011, 05:06:03 PM »

you dont need to disable it as it doesnt get and hold on to your network interfaces. All it does is managing connections as in connecting and disconnecting to a network. If you dont want to use it, just dont use it and it wont interfere with whatever other tool you are going to use.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1490
  • In theory, theory=practice, in practice ???
Re: LXDE and Wireless
« Reply #2 on: July 23, 2011, 06:06:15 PM »
you dont need to disable it as it doesnt get and hold on to your network interfaces. All it does is managing connections as in connecting and disconnecting to a network. If you dont want to use it, just dont use it and it wont interfere with whatever other tool you are going to use.

It always comes on with Wicd, 2 icons instead of one.   Deleted the network-script in
/etc/sysconfig/network-scripts/wireless.d and that keeps the net applet from starting up
concurrently with Wicd.   Deleting only the connection keeps the script available and when Wicd
connects the net applet restarts everything as well then.


thanks for the response.
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LXDE and Wireless
« Reply #3 on: July 23, 2011, 07:19:42 PM »
Hi, autostart in Lxde can be performed by 2 different ways. Either a desktop file that you copy from /usr/share/applications once your program is installed, to the directory /home/user/.config/autostart, if I remember well, or you can add @wicd in a file which name is autostart, under /etc/xdg/lxsession... or looking like that.

More precise informations are available at the Lxde wiki for this matter.

http://wiki.lxde.org/en/Autostart
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1490
  • In theory, theory=practice, in practice ???
Re: LXDE and Wireless
« Reply #4 on: July 23, 2011, 07:44:51 PM »
or you can add @wicd in a file which name is autostart, under /etc/xdg/lxsession... or looking like that.

When wicd installs it sets up it's autostart OK, that is starting fine.   The LXDE tray has a
net applet which is connected to the PCL Control Center (drakx-net) and that script needs to be turned
off so they both don't run.  It doesn't appear in the same place as Openbox.  Gives me something to do tommorrow anyway.


thanks for your response.
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: LXDE and Wireless
« Reply #5 on: July 23, 2011, 09:09:50 PM »
Did you try deleting the connection via PCC?

Online muungwana

  • Hero Member
  • *****
  • Posts: 6254
Re: LXDE and Wireless
« Reply #6 on: July 23, 2011, 09:46:46 PM »

how to set net applet not to autostart at boot time/log in.

1. Locate a text file called ".net_applet" in your home directory, it is a hidden file. You will have to configure your file manager to display hidden files before you can see it

2. Open it with a text editor of your choice and you should see a first line below, change the line to second one below and it will not show up again when you log in/restart your computer

AUTOSTART=TRUE
AUTOSTART=FALSE



.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LXDE and Wireless
« Reply #7 on: July 24, 2011, 06:03:31 AM »
muungwana, I just learned something !

I don't have the use of this knowledge for myself, but never know who it will help next.  :)
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Online muungwana

  • Hero Member
  • *****
  • Posts: 6254
Re: LXDE and Wireless
« Reply #8 on: July 24, 2011, 08:48:57 AM »
muungwana, I just learned something !

I don't have the use of this knowledge for myself, but never know who it will help next.  :)
I am glad i could contribute to your general knowledge of pclinuxos. I have no idea where i knew this one from, it just came to me that there is this text file and it has the option it does.

I should have mentioned it in my first reply(second post of this thread) but for reason, i didnt
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1490
  • In theory, theory=practice, in practice ???
Re: LXDE and Wireless
« Reply #9 on: July 24, 2011, 11:29:26 AM »
Thanks for the responses.

All are helpful isolating the wireless operation to wicd.   I looked for that .netapplet file
three times and didn't see it while looking right at it.   Used to be controlled in /openbox/autostart.sh
Saves 45MB of RAM if that doesn't start up and I think the up connection time is faster then.

Deleting the network-script in etc/sysconfig... keeps the Network Manager from doing anything,
so that assures wicd is doing all the work.   

Deleting the connection only reconnects it at reboot in the PCL Control Center.   But won't
connect without the configuration script.   It just monitors the hardware, auto-detects it.

Without uninstalling the Network Manager and part of the PCL Control Center that's the best
I can do.  Uses 35MB more RAM but I can try out wicd for awhile.


Have a good one.
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: LXDE and Wireless
« Reply #10 on: July 24, 2011, 12:37:55 PM »
Hi,
Ferdes Fides, if you do not have a file /home/you/.net_applet then just create it. (I do have one here and I assure you creating it is trivial):

Code: [Select]
$ cat .net_applet
AUTOSTART=TRUE


melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode