LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-12-2010, 08:13 PM   #1
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,775

Rep: Reputation: 209Reputation: 209Reputation: 209
Wicd client Gtk: How to get rid of it?


Hello everyone,

on my laptops I used to use Wicd with the Gtk GUI. However, now there is a KDE client, which I want to use instead, from now on:

Wicd Client KDE

I installed it, and it works quite well, so far. However, whenever I logon to a KDE session, the older Gtk client is started, too. I then have both Wicd clients sitting next to each other on my panel bar, and I have to manually kill the Gtk client. Question is:

How do I get rid of the Gtk client in KDE, permanently?

Thanks for any help!

BTW, my laptops are running Slackware 13.1 stable with all patches up to now and some additional software from various repositories.

gargamel
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 11-12-2010, 09:01 PM   #2
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Rep: Reputation: 67
Remove /usr/share/autostart/wicd-tray.desktop and that should do it.
 
1 members found this post helpful.
Old 11-12-2010, 09:38 PM   #3
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
you may want to uninstall it. wicd changes a few things removepkg wicd and the uninstaller should change back to the old config's.
 
Old 11-12-2010, 09:38 PM   #4
Anonymo
Member
 
Registered: Dec 2004
Location: The Woodlands, Texas
Distribution: Slackware, Archlinux, CentOS
Posts: 193

Rep: Reputation: 37
Quote:
Originally Posted by gargamel View Post
Hello everyone,

on my laptops I used to use Wicd with the Gtk GUI. However, now there is a KDE client, which I want to use instead, from now on:

Wicd Client KDE

I installed it, and it works quite well, so far. However, whenever I logon to a KDE session, the older Gtk client is started, too. I then have both Wicd clients sitting next to each other on my panel bar, and I have to manually kill the Gtk client. Question is:

How do I get rid of the Gtk client in KDE, permanently?

Thanks for any help!

BTW, my laptops are running Slackware 13.1 stable with all patches up to now and some additional software from various repositories.

gargamel
The way it's done on Arch is that there is another package called wicd-nogtk, which does not require gtk and it uses the client you talk about above.
 
Old 11-13-2010, 03:46 AM   #5
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
I've never used the GTK interface even on XFCE.
If you mean to build a package yourself you have to add
Code:
--no-install-gtk
to the build script.

The wicd curses client is brilliant.

Last edited by sahko; 11-13-2010 at 03:47 AM.
 
1 members found this post helpful.
Old 11-13-2010, 05:28 AM   #6
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
Here's how I disabled it when I was using NetworkManager:
Code:
cp /etc/xdg/autostart/wicd-tray.desktop ~/.config/autostart/
Now open System Settings, go to "StartUp and Shutdown", and uncheck "Wicd-GTK"

(Note: I'm using KDE 4.5.3 in Current. It might be slightly different for KDE 4.4.3 in 13.1)

Last edited by piratesmack; 11-13-2010 at 01:50 PM.
 
3 members found this post helpful.
Old 11-13-2010, 09:54 AM   #7
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,775

Original Poster
Rep: Reputation: 209Reputation: 209Reputation: 209
Thanks everyone, I tried it the last way, and it worked. I'll try to try the first approach, too.

However, I'd like to understand better, what I am doing here. Therefore I'd be grateful, if someone could answer me the following questions:

What is the difference between /usr/share/autostart/ and /etc/xdg/autostart/?
  • When do the entries in each directory take effect?
  • When and by what event/program are they created?
  • Why are most entries identical, just wicd-client-kde.desktop is only to be found in /etc/xdg/autostart/, but not in /usr/share/autostart/?
  • What needs to be done, to re-create a deleted entry in each directory (re-install?)?
  • What is the effect of deleting/having an entry only in one of the two places, but not in the other one?

Thanks a lot for your patience!

gargamel
 
Old 11-13-2010, 10:04 AM   #8
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,775

Original Poster
Rep: Reputation: 209Reputation: 209Reputation: 209
A word on the other methods (thanks for the advice!):

@Drakeo: Removing the package would also remove the wicd daemon, as far as I know.
Then wicd-client-kde would not work anymore, either. I would have to re-install the package, then, and avoid to ever start the Gtk client, right?

@Anonymo: On Slackware it's all in one package, except the new KDE GUI client... But the CLI client seems to have a dependency of python-gtk (or whatever the exact name is).

@sahko: Yes, I like the curses client, too, but in a KDE desktop the new KDE GUI is nice, also!
Building Wicd without Gtk support would be an option, but then I couldn't use the Gtk client in Xfce... Not a big problem, haven't done so, anyway, in the past, but I like to have the option in case I want to do it in the future.

Thanks again!

gargamel
 
Old 11-13-2010, 12:55 PM   #9
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
Quote:
@Drakeo: Removing the package would also remove the wicd daemon, as far as I know.
Then wicd-client-kde would not work anymore, either. I would have to re-install the package, then, and avoid to ever start the Gtk client, right?
well it is just a front end kind strange question wicd stock runs in both kde and gtk enviroments so what is the main reason.
it installs it's own Icons.and links them. so I am lost for answers. you can compile the program from source and it will run in either environment. all systems come with base gnome and kde stuff gtk base stuff. I am lost. more input. i guess I will go from kde4.5.3 from 4.52 and play with it now I am curious.

Last edited by Drakeo; 11-13-2010 at 01:08 PM.
 
Old 11-13-2010, 01:28 PM   #10
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Rep: Reputation: 67
Quote:
Originally Posted by Drakeo View Post
well it is just a front end kind strange question wicd stock runs in both kde and gtk enviroments so what is the main reason.
it installs it's own Icons.and links them. so I am lost for answers. you can compile the program from source and it will run in either environment. all systems come with base gnome and kde stuff gtk base stuff. I am lost. more input. i guess I will go from kde4.5.3 from 4.52 and play with it now I am curious.
He has installed a new client (a KDE one) and doesn't want the Gtk client to automatically start when he logs into KDE because that would mean having two clients running at the same time.

The solution (#1 & #6) is disabling the autostart. Recompiling etc is overkill and uninstalling wicd will mean he can't use the daemon.
 
1 members found this post helpful.
Old 11-13-2010, 02:00 PM   #11
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by gargamel View Post
However, I'd like to understand better, what I am doing here. Therefore I'd be grateful, if someone could answer me the following questions:

What is the difference between /usr/share/autostart/ and /etc/xdg/autostart/?
  • When do the entries in each directory take effect?
  • When and by what event/program are they created?
  • Why are most entries identical, just wicd-client-kde.desktop is only to be found in /etc/xdg/autostart/, but not in /usr/share/autostart/?
  • What needs to be done, to re-create a deleted entry in each directory (re-install?)?
  • What is the effect of deleting/having an entry only in one of the two places, but not in the other one?
I don't know all of the answers to those questions, but there is some information on it here:
http://standards.freedesktop.org/aut...ec-latest.html

Last edited by piratesmack; 11-13-2010 at 02:09 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] wicd-client problem brixtoncalling Slackware 11 02-03-2012 05:19 AM
WICD wireless client myselfdeepakvasisht Linux - Software 3 10-21-2010 12:03 AM
WICD error, no module named gtk tmkd Slackware 4 05-23-2010 11:53 AM
[SOLVED] wicd-client tray icon missing zhoun Slackware 3 10-18-2009 12:38 AM
Wicd client not loading. replica9000 Linux - Networking 0 03-05-2009 11:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration