Announcement

Collapse
No announcement yet.

kate error message

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

    #16
    Originally posted by jlittle View Post
    (No one has chimed in with the standard spiel here, so I will.)

    Likely, what you did to cause this trouble was to run kate with sudo. Running GUI apps with plain sudo causes this kind of problem, so don't; use kdesudo instead.

    This advice has had to be repeated so often on this forum that for a while one of the mods (or administrators or frequent posters maybe) had it in his or her signature in red and bold and caps, possibly even flashing, so don't feel bad about it.
    True, see my post above

    Originally posted by GreyGeek View Post
    ... IF you do run the app for the first time from your home account using sudo it will create an rc file as root. Ergo your problem. ...
    "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


      #17
      ah! should I also use kdesudo to install software from terminal then?

      Comment


        #18
        Originally posted by cadvanlei View Post
        ah! should I also use kdesudo to install software from terminal then?
        Well no. If you are running a terminal program then use sudo otherwise use kdesudo. For example both of these are fine: sudo apt update && sudo apt full-upgrade and kdesudo kate, the latter I would normally run from krunner (Alt + F2) unless I was getting a strange error.
        If you're sitting wondering,
        Which Batman is the best,
        There's only one true answer my friend,
        It's Adam Bloody West!

        Comment


          #19
          Only use kdesudo for opening GUI apps from the terminal in root. For everything else in the terminal, use sudo.

          Comment


            #20
            good to know. thanks everyone again for their support!

            Comment


              #21
              Originally posted by whatthefunk View Post
              Only use kdesudo for opening GUI apps from the terminal in root. For everything else in the terminal, use sudo.
              And by that we mean, use kdesudo app_name in a terminal "when" you need to use that application with elevated privileges (run the application "as root"). If you don't need those elevated privileges, then when launching a GUI application from the terminal just use the application name.

              When in a terminal and you need to execute a command (not launch an application) with elevated privileges (execute the command "as root"), you use sudo command_name.

              It is important you understand the difference, as launching an application in a terminal with sudo (sudo app_name) can result in unintended negative impacts to your user account.
              Windows no longer obstructs my view.
              Using Kubuntu Linux since March 23, 2007.
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment

              Working...
              X