The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    KDE command line question

    Discussion in 'Linux Compatibility and Software' started by blackbird, Jul 13, 2008.

  1. blackbird

    blackbird Notebook Deity

    Reputations:
    584
    Messages:
    1,546
    Likes Received:
    0
    Trophy Points:
    55
    Hey,

    Being mostly a GNOME user, I'm currently trying out KDE.

    In GNOME I used to edit important files such as rc.conf / xorg.conf / menu.lst....by launching gedit as a super user from the command line, i.e "sudo gedit ..."

    In KDE I want to do the same, but the console does'nt recognize the following commands ; kate, kedit and kwrite. I have those problems installed but can't seem to launch them via the cli, thus I have to resort to nano, which I really hate when editing a large file such as xorg.conf.

    Sure I can login as a super user and then browse to the directories and open the files, but its such a hassle when its much easier to launch it via the sudo command in a normal user session.

    Any insights on this? Can you KDE users check out if what doesn't work for me works for you?

    Thanks in advance
     
  2. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    Did you type "kdesu" before kwrite or kate?
     
  3. lemur

    lemur Emperor of Lemurs

    Reputations:
    524
    Messages:
    1,024
    Likes Received:
    0
    Trophy Points:
    55
    I suggest that you uninstall your problems.

    But seriously, I've tried it here and it works. How is your PATH set?
     
  4. srunni

    srunni Notebook Deity

    Reputations:
    96
    Messages:
    854
    Likes Received:
    0
    Trophy Points:
    30
    This seems to work for me....I typed
    Code:
    sudo kate
    and it launched just fine. I don't like kdesu, because it uses root's KDE settings, so the icon themes, etc. are changed. Do you see any error output when you launch it from the command line?

    I don't have much experience with this though, since I just use vi from the command line ;)
     
  5. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    srunni....that's ubuntu....but many, like for me in mandriva, sudo kate yields "command not found" kdesu kate brings up kate.
     
  6. blackbird

    blackbird Notebook Deity

    Reputations:
    584
    Messages:
    1,546
    Likes Received:
    0
    Trophy Points:
    55

    I just type "su" enter password and then Im root

    I meant to say programs, but yea lol. I'm not at my linux box atm, will check the paths when I can.
     
  7. srunni

    srunni Notebook Deity

    Reputations:
    96
    Messages:
    854
    Likes Received:
    0
    Trophy Points:
    30
    So why aren't you using Kubuntu? :p
     
  8. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    I favor Mandriva ever so slightly over Kubuntu, but it's close....who knows? :) Supposedly Mandriva is KDE focused, but the official line is that gnome is equally supported. But I've read most the engineers use KDE at the company ;)