question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PathPicker pollutes user home directory

See original GitHub issue

PathPicker creates multiple files in the user home directory:

$ ls .fb*
.fbPager.log  .fbPager.pickle  .fbPager.selection.pickle  .fbPager.sh

Normally such files are stored under $HOME/.local/share or $HOME/.config directory on Linux. Please see XDG Base Directory Specification for details.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
SamHaslercommented, Dec 31, 2015

Would supporting XDG_CONFIG_HOME if it’s set give more users a cleaner home dir by default? On Dec 30, 2015 5:23 PM, “Peter Cottle” notifications@github.com wrote:

Yeah I would be fine with that – would accept the PR as long as it has a sane default and some basic test coverage (and would be in the help output). We have a number of env variables right now but so far its manageable

— Reply to this email directly or view it on GitHub https://github.com/facebook/PathPicker/issues/17#issuecomment-168038383.

0reactions
SamHaslercommented, Jan 1, 2016

I know. I’m just saying if XDG_CONFIG_HOME is set, use it, as that’s where that user keeps their config. On Dec 31, 2015 2:25 PM, “Victor Zverovich” notifications@github.com wrote:

@SamHasler https://github.com/SamHasler XDG_CONFIG_HOME may not be set by default (it is not set on Ubuntu 14.04 for instance).

— Reply to this email directly or view it on GitHub https://github.com/facebook/PathPicker/issues/17#issuecomment-168203088.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Facebook PathPicker - Meta Open Source
PathPicker is a command line tool to easily select files from piped input.
Read more >
(user's home directory) on Windows command prompt ...
The two command variables when concatenated gives you the desired user's home directory path as below: Running echo %homedrive% on command prompt gives:...
Read more >
How to find the real user home directory using Python?
The os.path.expanduser() function in Python provides the most straightforward method for retrieving the user home directory across all ...
Read more >
Tracking your home directory in Git Part 1 - Queenside Castle
We'll also add this file to our .gitignore negated with a ! at the beginning of the line. .gitconfig. [user] name = Scott...
Read more >
user home directory problem - The UNIX and Linux Forums
The home directory for me on my system is on /home/kwon. It was created using "useradd kwon" When i go to change the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found