Announcement

Collapse
No announcement yet.

New 14.04.1 Install - Problem With KATE Editor...

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

    New 14.04.1 Install - Problem With KATE Editor...

    New 14.04.1 Install - Problem With KATE Editor...

    Hi,

    I recently installed Kubuntu 14.04.1 64Bit onto my slow thin client.
    The OS installed properly and it is fully updated.

    I have a problem with KATE text editor.
    I am trying to add [Save All] to the toolbar on top but it does not work:
    (see screenshot below)

    Is this a know issue with KATE on 14.04.1 ?
    I am a video game programmer and really need [Save All] to work now.
    Any help would be appreciated!

    Jesse


    #2
    Works for me.
    Click image for larger version

Name:	KateSaveAll.png
Views:	1
Size:	40.9 KB
ID:	642420

    Check Kate's Settings > Configure Kate... > Plugins to see if you have Tab Bar checked. Just a thought.
    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


      #3
      Originally posted by Snowhog View Post
      Works for me.
      [ATTACH=CONFIG]5232[/ATTACH]

      Check Kate's Settings > Configure Kate... > Plugins to see if you have Tab Bar checked. Just a thought.
      Hi,

      I tried your suggestion but no change.
      Would it be possible to update just KATE from some PPA?

      Jesse

      Comment


        #4
        What version of KDE are you running? Here, it's KDE 4.14.0.
        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


          #5
          Originally posted by JeZ-l-Lee View Post
          Hi,

          I tried your suggestion but no change.
          Would it be possible to update just KATE from some PPA?

          Jesse
          Hi,

          I am running KDE version 4.14.3.
          I installed Kubuntu using current 14.04.1 64Bit DVD.

          Jesse

          Comment


            #6
            I'm at a loss. What repositories do you have active? Here:

            Code:
            Repos:     Active apt sources in file: /etc/apt/sources.list
                       deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
                       deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
                       deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
                       deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
                       deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
                       deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
                       deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
                       deb http://security.ubuntu.com/ubuntu trusty-security main restricted
                       deb http://security.ubuntu.com/ubuntu trusty-security universe
                       deb http://security.ubuntu.com/ubuntu trusty-security multiverse
                       deb http://archive.canonical.com/ubuntu trusty partner
                       deb http://extras.ubuntu.com/ubuntu trusty main
                       deb http://us.archive.ubuntu.com/ubuntu/ trusty-proposed main multiverse restricted universe
                       Active apt sources in file: /etc/apt/sources.list.d/claydoh-kmymoney2.list
                       deb http://ppa.launchpad.net/claydoh/kmymoney2-kde4/ubuntu trusty main
                       Active apt sources in file: /etc/apt/sources.list.d/kubuntu-ppa-backports.list
                       deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu trusty main
                       Active apt sources in file: /etc/apt/sources.list.d/kubuntu-ppa-beta.list
                       deb http://ppa.launchpad.net/kubuntu-ppa/beta/ubuntu trusty main
                       Active apt sources in file: /etc/apt/sources.list.d/kubuntu-ppa-ppa.list
                       deb http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu trusty main
                       Active apt sources in file: /etc/apt/sources.list.d/libdvdcss.list
                       deb http://download.videolan.org/pub/debian/stable/ /
                       Active apt sources in file: /etc/apt/sources.list.d/samrog131-ppa.list
                       deb http://ppa.launchpad.net/samrog131/ppa/ubuntu trusty main
                       Active apt sources in file: /etc/apt/sources.list.d/skunk-pepper-flash-trusty.list
                       deb http://ppa.launchpad.net/skunk/pepper-flash/ubuntu trusty main
            Since installing, have you done a dist-upgrade?
            sudo apt-get update && sudo apt-get dist-upgrade
            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


              #7
              Hi,

              Here is terminal output when running KATE:
              Code:
              jezxlee@jezxlee-ZBOX-ID81:~$ sudo kate
              [sudo] password for jezxlee: 
              QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
              Error: "/var/tmp/kdecache-jezxlee" is owned by uid 1000 instead of uid 0.
              Error: "/tmp/kde-jezxlee" is owned by uid 1000 instead of uid 0.
              Error: "/tmp/ksocket-jezxlee" is owned by uid 1000 instead of uid 0.
              Error: "/tmp/kde-jezxlee" is owned by uid 1000 instead of uid 0.
              kdeinit4: Shutting down running client.
              Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
              Error: "/tmp/ksocket-jezxlee" is owned by uid 1000 instead of uid 0.
              Error: "/tmp/kde-jezxlee" is owned by uid 1000 instead of uid 0.
              QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
              QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
              Error: "/var/tmp/kdecache-jezxlee" is owned by uid 1000 instead of uid 0.
              kbuildsycoca4 running...
              Error: "/var/tmp/kdecache-jezxlee" is owned by uid 1000 instead of uid 0.
              Error: "/var/tmp/kdecache-jezxlee" is owned by uid 1000 instead of uid 0.
              QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
              QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
              Error: "/var/tmp/kdecache-jezxlee" is owned by uid 1000 instead of uid 0.
              Bus::open: Can not get ibus-daemon's address. 
              IBusInputContext::createInputContext: no connection to ibus-daemon 
              QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
              QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
              Error: "/var/tmp/kdecache-jezxlee" is owned by uid 1000 instead of uid 0.
              QObject::connect: Cannot connect (null)::resourceScoreUpdated(QString, QString, QString, double) to NepomukPlugin::resourceScoreUpdated(QString, QString, QString, double)
              QObject::connect: Cannot connect (null)::recentStatsDeleted(QString, int, QString) to NepomukPlugin::deleteRecentStats(QString, int, QString)
              QObject::connect: Cannot connect (null)::earlierStatsDeleted(QString, int) to NepomukPlugin::deleteEarlierStats(QString, int)
              QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.7'
              jezxlee@jezxlee-ZBOX-ID81:~$
              Oddly enough, if I run KATE with sudo and add [Save All] to toolbar it works?

              Jesse

              Comment


                #8
                Originally posted by JeZ-l-Lee View Post
                Oddly enough, if I run KATE with sudo and add [Save All] to toolbar it works?

                Jesse
                That is telling! First, you should not(never) use sudo to launch a graphical application. It can/does create problems for your user account by changing ownership on files within your users /home directory to root.

                Open a console. MAKE SURE you are in your user home directory. Then type:

                sudo chown -R username:username *

                Where username is your username. Example, using my username:

                sudo chown -R paul:paul *

                Exit the console and re-launch Kate normally, from the K Menu. See if you can now add the Save All button.
                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


                  #9
                  Originally posted by Snowhog View Post
                  That is telling! First, you should not(never) use sudo to launch a graphical application. It can/does create problems for your user account by changing ownership on files within your users /home directory to root.

                  Open a console. MAKE SURE you are in your user home directory. Then type:

                  sudo chown -R username:username *

                  Where username is your username. Example, using my username:

                  sudo chown -R paul:paul *

                  Exit the console and re-launch Kate normally, from the K Menu. See if you can now add the Save All button.
                  Hi,

                  Tried your suggestion, no change.
                  How can I delete KATE saved settings and start fresh?
                  Also did my terminal output show anything odd?

                  Jesse

                  Comment


                    #10
                    Kate's user configuration files are in:

                    .kde/share/apps/kate
                    .kde/share/config/kate

                    You can remove these from the console with:

                    rm -r ~/.kde/share/apps/kate
                    rm -r ~/.kde/share/config/kate

                    Then type:

                    sudo updatedb

                    Then reinstall Kate:

                    sudo apt-get install --reinstall kate

                    Exit the console. Log out and log back in. Launch Kate.
                    Last edited by Snowhog; Aug 30, 2014, 11:13 AM. Reason: Path corrections as pointed out by kubicle. Doh! I knew better. :(
                    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


                      #11
                      Some additional information:
                      instead of "sudo kate", use "kdesudo kate" (recommended) or if you really want to use sudo, use an option that sets $HOME properly, like -i ("sudo -i kate")

                      sudo chown -R username:username *
                      Avoid using wildcards (especially bare wildcards) with potentially undoable commands. Wildcards are more prone to unexpected behaviour (typos and being in a wrong directory can be disastrous, also it might not work as expected on weirdly named files (like "--file") and depending on the shell's globbing options might not do what you want (if dotglobbing is not on, * will pass hidden files/folders)

                      It's better to use a path "sudo chown -R username:username /home/username"

                      Originally posted by JeZ-l-Lee View Post
                      How can I delete KATE saved settings and start fresh?
                      rm -r ~/.kde/share/apps/kate
                      rm ~/.kde/share/config/kate*

                      Comment


                        #12
                        Originally posted by Snowhog View Post
                        rm -r .kde/share/apps
                        rm -r .kde/share/config
                        These will remove the configs for all kde apps, it would probably be preferable to only remove kate's files, see my previous post.

                        Originally posted by Snowhog View Post
                        Then type:

                        sudo updatedb

                        Then reinstall Kate:

                        sudo apt-get install --reinstall kate

                        Exit the console. Log out and log back in. Launch Kate.
                        Sort of redundant, updating locate database and reinstalling kate shouldn't be necessary

                        Comment


                          #13
                          Thank you for correcting me kubicle! I've corrected my post.

                          I knew better. That's the problem when you know to well how to do it "yourself" and on "your PC". What I know doesn't always make it to my fingers when typing on the keyboard!!
                          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


                            #14
                            Originally posted by Snowhog View Post
                            Kate's user configuration files are in:

                            .kde/share/apps/kate
                            .kde/share/config/kate

                            You can remove these from the console with:

                            rm -r ~/.kde/share/apps/kate
                            rm -r ~/.kde/share/config/kate

                            Then type:

                            sudo updatedb

                            Then reinstall Kate:

                            sudo apt-get install --reinstall kate

                            Exit the console. Log out and log back in. Launch Kate.
                            Hi,

                            Thanks! I did what you originally suggested and rebooted and now my desktop and panel are gone?
                            How I recover my system without reinstalling from DVD?

                            Jesse

                            Comment


                              #15
                              I'm so sorry!

                              Open a console and type:

                              sudo apt-get install kubuntu-desktop

                              If your informed that it's already installed, then type:

                              sudo apt-get install --reinstall kubuntu-desktop
                              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