Announcement

Collapse
No announcement yet.

Any x-terminal-emulator euavalent for kdesu?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Any x-terminal-emulator euavalent for kdesu?

    run x-terminal-emulator in kubuntu launches konsole,
    run x-terminal-emulator in ubuntu launches gnome-terminal.
    run x-terminal-emulator in xubuntu launches xfce4-terminal.

    This is good.

    Anything similar to run when I want gksu in ubuntu and kdesu in kubuntu?


    #2
    Re: Any x-terminal-emulator euavalent for kdesu?

    Don't know about Ubuntu, but kdesu is not a command in Kubuntu. "kdesudo" is a command which allows you to run KDE apps as root in a konsole AFTER you've already opened, when you supply your account password.

    You want "kdesu" just to open a Konsole as root? Use "Alt-F2" to open a textbox into which you can enter "kdesudo somekdeapp". You will be asked for you password and then the KDE app will be run.
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      Re: Any x-terminal-emulator euavalent for kdesu?




      CLI

      man update-alternatives
      NAME
      update-alternatives - maintain symbolic links determining default commands

      SYNOPSIS
      update-alternatives [options] command

      DESCRIPTION
      update-alternatives creates, removes, maintains and displays information about the symbolic links comprising the Debian alternatives system.

      It is possible for several programs fulfilling the same or similar functions to be installed on a single system at the same time. For example, many systems have several text editors installed at once. This gives choice to the users of a system, allowing each to use a different editor, if desired, but makes it difficult for a program to make a good choice for an editor to invoke if the user has not specified a particular preference.

      Debian's alternatives system aims to solve this problem...
      GUI

      Package: kalternatives
      graphical alternatives system configuration tool

      Kalternatives offers a GUI to configure the alternative systems (a
      system that allows you to select one alternative file for many in the
      filesystem).
      Kalternatives is available as KDE configuration module, integrated by default
      into KDE's System Settings.

      This is an advanced GUI of the update-alternatives program shipped with dpkg.

      x-terminal-emulator

      Here are available:
      Code:
      sudo update-alternatives --config x-terminal-emulator
      There are 5 choices for the alternative x-terminal-emulator (providing /usr/bin/x-terminal-emulator).

      Selection Path Priority Status
      ------------------------------------------------------------
      * 0 /usr/bin/konsole 40 auto mode
      1 /usr/bin/koi8rxterm 20 manual mode
      2 /usr/bin/konsole 40 manual mode
      3 /usr/bin/lxterm 30 manual mode
      4 /usr/bin/uxterm 20 manual mode
      5 /usr/bin/xterm 20 manual mode

      Press enter to keep the current choice(*), or type selection number:

      kdesudo / kdesu

      Code:
      sudo update-alternatives --config kdesu
      There are 2 choices for the alternative kdesu (providing /usr/lib/kde4/libexec/kdesu).

      Selection Path Priority Status
      ------------------------------------------------------------
      * 0 /usr/bin/kdesudo 100 auto mode
      1 /usr/bin/kdesudo 100 manual mode
      2 /usr/lib/kde4/libexec/kdesu-distrib/kdesu 50 manual mode

      Press enter to keep the current choice(*), or type selection number:
      Before you edit, BACKUP !

      Why there are dead links ?
      1. Thread: Please explain how to access old kubuntu forum posts
      2. Thread: Lost Information

      Comment


        #4
        Re: Any x-terminal-emulator euavalent for kdesu?

        mmm... in that context kdesu appears to be an alias.

        Seems like one could create an alias or .bashrc function to do similar things.


        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
        – John F. Kennedy, February 26, 1962.

        Comment


          #5
          Re: Any x-terminal-emulator euavalent for kdesu?

          Maybe a dumb question, but what exactly is the difference between kdesu and kdesudo? I've always used kdesudo, since that only works in Kubuntu, so what would be the difference?
          Most important laptop specs (this is my main computer, with Kubuntu on it):<br /><br />4096MB RAM (DDR2)<br />500GB Hard Disk<br />ATI Mobility Radeon 4570HD Videocard with 512MB GDDR3 RAM, up to 2280MB VRAM<br />Intel® Core™ 2 Duo-processor T6600<br /><br />OS: Kubuntu 10.10

          Comment


            #6
            Re: Any x-terminal-emulator euavalent for kdesu?

            kdesu vs kdesudo

            NIH ?

            The kdesu is an official KDE application the kdesudo has its roots in Kubuntu. Harald Sitter ( > Apachelogger ) > KDESudo vs. KDESu with sudo.

            With the KDE4 an equal ?
            Before you edit, BACKUP !

            Why there are dead links ?
            1. Thread: Please explain how to access old kubuntu forum posts
            2. Thread: Lost Information

            Comment


              #7
              Re: Any x-terminal-emulator euavalent for kdesu?

              I never knew KDE access to root was anything but kdesudo.
              jerry@sonyvgnfw140e:~$ kdesu kwrite
              kdesu: command not found
              jerry@sonyvgnfw140e:~$

              jerry@sonyvgnfw140e:~$ locate /kdesu
              /etc/alternatives/kdesu
              /usr/bin/kdesu_stub
              /usr/bin/kdesudo
              /etc/alternatives/kdesu links to /usr/bin/kdesudo, but there is no link TO /etc/alternatives/kdesu


              And, I don't find kdesu in the repository.
              "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
              – John F. Kennedy, February 26, 1962.

              Comment


                #8
                Re: Any x-terminal-emulator euavalent for kdesu?

                Originally posted by GreyGeek
                /etc/alternatives/kdesu links to /usr/bin/kdesudo, but there is no link TO /etc/alternatives/kdesu
                And, I don't find kdesu in the repository.
                kdesu (the executable) is in the "kdebase-runtime" package, file: /usr/lib/kde4/libexec/kdesu-distrib/kdesu (yes, it's not in path, so you have to use full path to run it)

                Vanilla KDE distributes kdesu as /usr/lib/kde4/libexec/kdesu, which in kubuntu is a symlink to /etc/alternatives/kdesu->/usr/bin/kdesudo.


                Comment


                  #9
                  Re: Any x-terminal-emulator euavalent for kdesu?

                  OK, I saw that kdesu setting in the /usr/lib tree but didn't want to run it because I didn't know what it would do. After what you wrote I
                  sudo su -
                  cd /usr/bin
                  ln -s /usr/lib/kde4/libexec/kdesu kdesu
                  exit

                  And now kdesu works.

                  So, kdesu is for KDE4 and kdesudo is from KDE3. Why is Kubuntu LL & Maverick keeping kdesudo as the default?
                  "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                  – John F. Kennedy, February 26, 1962.

                  Comment


                    #10
                    Re: Any x-terminal-emulator euavalent for kdesu?

                    OK, I saw that kdesu setting in the /usr/lib tree but didn't want to run it because I didn't know what it would do.

                    After what you wrote I
                    sudo su -
                    cd /usr/bin
                    ln -s /usr/lib/kde4/libexec/kdesu kdesu
                    exit

                    And now kdesu works.

                    So, kdesu is for KDE4 and kdesudo is from KDE3. Why is Kubuntu LL & Maverick keeping kdesudo as the default?
                    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                    – John F. Kennedy, February 26, 1962.

                    Comment


                      #11
                      Re: Any x-terminal-emulator euavalent for kdesu?

                      kdesudo

                      > kdesudo KDE-Apps.org
                      KdeSudo 3.0
                      -----------
                      * Initial port to kde4

                      With the Lucid:
                      Code:
                      kdesudo -v
                      KdeSudo: 3.4.2.2
                      Before you edit, BACKUP !

                      Why there are dead links ?
                      1. Thread: Please explain how to access old kubuntu forum posts
                      2. Thread: Lost Information

                      Comment


                        #12
                        Re: Any x-terminal-emulator euavalent for kdesu?

                        Ah,
                        KDE's normal KdeSu doesn't deal correctly with sudo, and is only capable of authentication.
                        It doesn't deal with sudo specific features like NOPASSWD and so on.

                        KdeSudo acts like a wrapper for sudo commands, and therefore, supports all "sudoers" file options.
                        that explains it all. I am going to delete my kdesu link.
                        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                        – John F. Kennedy, February 26, 1962.

                        Comment


                          #13
                          Re: Any x-terminal-emulator euavalent for kdesu?

                          Thanks for the explantion, now I get it

                          But 1 thing is weird:
                          Adept says I have kdesudo 3.4.2.3 (which dates from 27 jan 2010 according to kde-apps, so that was before the Lucid Feature Freeze), but kdesudo -v says I have 3.4.2.2
                          How come?
                          Most important laptop specs (this is my main computer, with Kubuntu on it):<br /><br />4096MB RAM (DDR2)<br />500GB Hard Disk<br />ATI Mobility Radeon 4570HD Videocard with 512MB GDDR3 RAM, up to 2280MB VRAM<br />Intel® Core™ 2 Duo-processor T6600<br /><br />OS: Kubuntu 10.10

                          Comment


                            #14
                            Re: Any x-terminal-emulator euavalent for kdesu?

                            Because Adept is "adept" at lying?

                            Sorry, couldn't resist....

                            From the technical description of my installed kdesudo app:
                            kdesudo (3.4.2.3-0ubuntu1) lucid; urgency=low

                            * Add --desktop cmd line option to manually specify the desktop file used for
                            resolving name and icon

                            -- Harald Sitter <apachelogger@ubuntu.com> Tue, 27 Oct 2009 09:51:46 +0100
                            Did a developer change the package header but forget to change the compiled version string?

                            Examining the binary I found it refered to 3.4.2.2 at 0001:007F
                            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                            – John F. Kennedy, February 26, 1962.

                            Comment


                              #15
                              Re: Any x-terminal-emulator euavalent for kdesu?

                              Haha =D
                              But Adept doesn't lie, 'cause I really see the --desktop option in kdesudo --help
                              But still -v says 3.4.2.2 Weird
                              Most important laptop specs (this is my main computer, with Kubuntu on it):<br /><br />4096MB RAM (DDR2)<br />500GB Hard Disk<br />ATI Mobility Radeon 4570HD Videocard with 512MB GDDR3 RAM, up to 2280MB VRAM<br />Intel® Core™ 2 Duo-processor T6600<br /><br />OS: Kubuntu 10.10

                              Comment

                              Working...
                              X