Announcement

Collapse
No announcement yet.

prevent "recent documents" tracking

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

    prevent "recent documents" tracking

    I'm running 15.04. The kickoff (right term?) maintains a list of "recent documents" . How do I prevent that? I don't want things like that cached. I noticed that a certain KDE application (don't remember which) also had a recent documents list in the "save file" dialog. So can this caching be prevented?
    I run Kubuntu 18.04 LTS.

    #2
    Same way as with the KDE4 ?

    Disable recent documents?: https://forum.kde.org/viewtopic.php?f=66&t=83348

    With the KF5 the path is: ~/.local/share/RecentDocuments/

    Comment


      #3
      Thanks for the link!

      I'm a bit confused with how to modify the command that that thread gives:

      Code:
      cd $(kde4-config --localprefix)/share/apps/RecentDocuments
      I understand the dollar sign to be the beginning of the command, right? And what about the parentheses?--I don't leave those in , do I?

      I realize those are probably stupid questions, but thanks if you could help me there anyway.
      I run Kubuntu 18.04 LTS.

      Comment


        #4
        Shell expansion

        I'm a bit confused with how to modify the command that that thread gives:

        cd $(kde4-config --localprefix)/share/apps/RecentDocuments
        I understand the dollar sign to be the beginning of the command, right? And what about the parentheses?--I don't leave those in , do I?
        The shell expansion explained: http://tldp.org/LDP/Bash-Beginners-G...ect_03_04.html

        The kde4-config --localprefix is:

        Code:
        [FONT=monospace]:~$ kde4-config --help             [/FONT][FONT=monospace]Usage: kde4-config [Qt-options] [KDE-options] [options]  
        
        A little program to output installation paths
        
        Generic options:
          --help                    Show help about options
          --help-qt                 Show Qt specific options
          --help-kde                Show KDE specific options
          --help-all                Show all options
          --author                  Show author information
          -v, --version             Show version information
          --license                 Show license information
          --                        End of options
        
        Options:
          --expandvars              Left for legacy support
          --prefix                  Compiled in prefix for KDE libraries
          --exec-prefix             Compiled in exec_prefix for KDE libraries
          --libsuffix               Compiled in library path suffix
          --localprefix             Prefix in $HOME used to write files
          --kde-version             Compiled in version string for KDE libraries
          --types                   Available KDE resource types
          --path type               Search path for resource type
          --locate filename         Find filename inside the resource type given to --path
          --userpath type           User path: desktop|autostart|document
          --install type            Prefix to install resource files to
          --qt-prefix               Installation prefix for Qt
          --qt-binaries             Location of installed Qt binaries
          --qt-libraries            Location of installed Qt libraries
          --qt-plugins              Location of installed Qt plugins
        [/FONT]


        But the Kubuntu 15.04 is a mixed system and there are KDE Frameworks 5 (KF5) parts so the
        RecentDocuments path is: ~/.local/share/RecentDocuments/.

        Comment


          #5
          Example

          1) Clean the Recent Documents - right click the KDE menu and pick the clear option.



          2) Open the file manager and browse to the ~/.local/share/. Right click the RecentDocuments Properties > Permissions > Advanced Permissions. Unpick the write permissions.

          Comment


            #6
            Thanks for your reply.

            I tried kde5-config --localprefix ~/.local/share/RecentDocuments , which returned the following.
            Code:
            No command 'kde5-config' found, did you mean:
             Command 'kde4-config' from package 'kdelibs-bin' (main)
            kde5-config: command not found
            So then I tried kde4-config --localprefix ~/.local/share/RecentDocuments , which returned the following.
            Code:
            kde4-config: Unexpected argument '/home/my-name-here/.local/share/RecentDocuments'.
            kde4-config: Use --help to get a list of available command line options.
            I'm doing something wrong?

            Thanks again.
            I run Kubuntu 18.04 LTS.

            Comment


              #7
              I see we were posting at the same time. I'll try your graphical method now.

              EDIT: I followed the steps, and now in a short time I'll be able to see if it worked.
              Last edited by rybnik; May 17, 2015, 01:15 AM.
              I run Kubuntu 18.04 LTS.

              Comment


                #8
                It worked! Thanks, Wheel.
                I run Kubuntu 18.04 LTS.

                Comment

                Working...
                X