Author Topic: Launch Configure Your Desktop from command-line how? [SOLVED]  (Read 1199 times)

Offline stealth

  • Hero Member
  • *****
  • Posts: 635
I need to access my other PCLinuxOS system remotely. I am going to ssh -Y into it. What is the syntax and/or string for launching KDE 4.3.5 Configure Your Desktop from the command-line? I need to set that box so only root can shut the box down.
« Last Edit: April 12, 2010, 01:59:36 AM by stealth »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Launch Configure Your Desktop from command-line how?
« Reply #1 on: April 11, 2010, 05:19:37 PM »
Do you mean PCC? PCC in terminal as root will launch it.

Offline stealth

  • Hero Member
  • *****
  • Posts: 635
Re: Launch Configure Your Desktop from command-line how?
« Reply #2 on: April 11, 2010, 05:33:38 PM »
I tried PCC logged in as root and got command not found. If this is the same as clicking on the blue circle with the tools it is not the one I want. There is a place in the KDE desktop configuration that lets one set who can shutdown the box: everyone, root only, nobody. I don't see anywhere in Configure Your Computer to do that.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Launch Configure Your Desktop from command-line how?
« Reply #3 on: April 11, 2010, 05:41:27 PM »
Oh. You mean the KDE Control Center? Right click your menu button. Choose the option to edit the menu. Look for the entry for what you need. The command used will be in its config. Or you can look for its .desktop file in /usr/share/applications. It will have the command in it.


Offline stealth

  • Hero Member
  • *****
  • Posts: 635
Re: Launch Configure Your Desktop from command-line how?
« Reply #4 on: April 11, 2010, 05:44:22 PM »
Thank You Neal! Now I can find any of them.

Offline stealth

  • Hero Member
  • *****
  • Posts: 635
Re: Launch Configure Your Desktop from command-line how?
« Reply #5 on: April 11, 2010, 06:19:14 PM »
What is the name of that kde desktop configuration .desktop file? I don't see anything that works. I have opened several. I found /usr/sbin/drakconf that is the same as clicking on the blue circle with tools. It has a default setting of false for opening in a terminal. I assume it would open if I change it to true.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Launch Configure Your Desktop from command-line how?
« Reply #6 on: April 11, 2010, 06:27:26 PM »
Excuse me. In /usr/share/applications, at the top, there is a KDE4 folder. Look in there. All I remember is kcontrol. I believe that is correct. I'm using LXDE so must go from memory.


Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12495
Re: Launch Configure Your Desktop from command-line how?
« Reply #7 on: April 11, 2010, 06:34:07 PM »
[texstar@localhost ~]$ systemsettings

Thanks to everyone who donates. You keep the servers running.

Offline stealth

  • Hero Member
  • *****
  • Posts: 635
Re: Launch Configure Your Desktop from command-line how?
« Reply #8 on: April 11, 2010, 06:40:37 PM »
Yah, I tried that one already. It doesn't even give and error.

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15283
  • ┌∩┐(◕_◕)┌∩┐
Re: Launch Configure Your Desktop from command-line how?
« Reply #9 on: April 11, 2010, 07:53:20 PM »
Try:

systemsettings -caption "%c"
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline stealth

  • Hero Member
  • *****
  • Posts: 635
Re: Launch Configure Your Desktop from command-line how?
« Reply #10 on: April 11, 2010, 08:26:53 PM »
Tried that too.

both boxes are stock installs. Is there some setting I need to change or an additional package to install so these commands work?

I am sure the commands all of you are giving are suppose to work. Especially since you are admins and\or developers.

Offline stealth

  • Hero Member
  • *****
  • Posts: 635
Re: Launch Configure Your Desktop from command-line how?
« Reply #11 on: April 11, 2010, 09:06:20 PM »
?

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: Launch Configure Your Desktop from command-line how?
« Reply #12 on: April 11, 2010, 11:59:17 PM »
If you know the specific part of systemsettings that you want to run, you can do so by opening it with kcmshell4

The following will list all available kcontroll modules available...
Code: [Select]
kcmshell4 --list

kcmshell4 --list | grep login


I believe the one you want (as root) is:
Code: [Select]
kcmshell4 kdm

Offline stealth

  • Hero Member
  • *****
  • Posts: 635
Re: Launch Configure Your Desktop from command-line how?
« Reply #13 on: April 12, 2010, 12:09:25 AM »
Thanks for the useful information. You are right that is exactly the one I was looking for.

Is there a similar method for getting to all the configuration modules driven by the drakeconf command? I don't have anything specific I need to get to at the moment.


Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: Launch Configure Your Desktop from command-line how?
« Reply #14 on: April 12, 2010, 12:18:06 AM »
many start with "drak", so you can just type that and press the tab key to get the list of ones that begin that way, but some don't follow this naming convention..  also , some of what you see in PCC under different icons is actually different options to the same application.

If you are running one of the  2010 kde4 beta's, you will have kcontrol modules for most all of the various PCC GUI's (even some that are not as easily accessed through PCC) when you use kcmshell4 --list    ...they are all named beginning with kcm_pclos..
Code: [Select]
kcmshell4 --list | grep kcm_pclos
You can also try something like the following:
Code: [Select]
ls /usr/*bin/*drak*
« Last Edit: April 12, 2010, 12:22:50 AM by travisn000 »