Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Chrome creates file in my home directory

  1. #1
    Join Date
    Apr 2013
    Beans
    86

    Chrome creates file in my home directory

    Whenever I open chrome an empty libpeerconnection.log is created in my home directory. I constantly have to delete it! What is this from? I've never had issues in the past.

    Using 12.04

  2. #2
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    6,336
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Chrome creates file in my home directory

    I've been noticing that file (0 bytes for me) as well. I can't remember seeing it before. I do have Google Chrome installed.

    Edit: see https://code.google.com/p/chromium/i...tail?id=239048
    Last edited by vasa1; June 18th, 2013 at 02:32 PM.
    de gustibus et coloribus non est disputandum -- Wiktionary

  3. #3
    Join Date
    Apr 2013
    Beans
    86

    Re: Chrome creates file in my home directory

    I tried reinstalling chrome but it didn't help...

  4. #4
    Join Date
    Feb 2010
    Location
    WI USA
    Beans
    10,238
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Chrome creates file in my home directory

    This directory placement is something the Chrome developers need to address. I created a folder of the same name so it didn't look so out of place. Trying to hide the file or folder didn't work. I am now experimenting with the Iron browser (Chromium based) again which doesn't create the log, but requires the libudev0 dependency in 13.04 like Chrome stable.
    Infinite diversity in infinite combination.

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Manual

  5. #5
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Chrome creates file in my home directory

    If nothing else, you could always use a ".hidden" file to hide it (without having to rename it).

    To do that just create a text file called ".hidden" in the same directory, and add any files & directories to that file, one per each line.

    Of course that's just a cosmetic fix, and might not work depending on which desktop environment / file manager you use, but it's still better than having the extra file cluttering your home.

  6. #6
    Join Date
    Feb 2010
    Location
    WI USA
    Beans
    10,238
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Chrome creates file in my home directory

    When trying to hide the document adding by a . a new on was created upon opening Chrome again so I opted for the folder. (Unity)
    Infinite diversity in infinite combination.

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Manual

  7. #7
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Chrome creates file in my home directory

    Yeah, renaming the file of course wouldn't work since Chrome would just look for the file using the old name anyway. Which is why I suggested adding it to the ".hidden" file instead of renaming the file itself.

    To explain that a bit better, at least Nautilus looks for a file called ".hidden" in each directory, and then hides all the files & directories listed in that file exactly as if the files themselves had been renamed to add the dot to the file names. This allows you to hide things even when renaming them is not an option.

    For example I use a ~/.hidden file with a list of some directories which I don't need to see all the time, yet I can't rename or delete them without breaking some functionality:
    Code:
    mcduck@Hyperion:~$ cat .hidden
    bin
    Desktop
    Templates
    Audiobooks
    Podcasts
    log
    SavedGames
    Last edited by mcduck; June 18th, 2013 at 08:00 PM.

  8. #8
    Join Date
    Oct 2011
    Location
    Somewhere
    Beans
    34
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Chrome creates file in my home directory

    Thanks for that tip, hopefully it'll get addressed in an update.

  9. #9
    Join Date
    Apr 2013
    Beans
    86

    Re: Chrome creates file in my home directory

    That solution works, with the .hidden file . . . but it's still not where the file was originally meant to be placed. I wonder what happened to mess up the placement. What does that file do, anyway? It's blank.

  10. #10
    Join Date
    Jun 2006
    Location
    Brisbane Australia
    Beans
    713

    Re: Chrome creates file in my home directory

    That is this bug https://code.google.com/p/chromium/i...tail?id=239048. Please go and star it! Sloppy coding like this annoys the heck out of me.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •