Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות האפשרות ״דיווח על שימוש לרעה״.

מידע נוסף
נפתרה Archived

How to change directory where files are placed for other applications to access?

t--miller replied
t--miller

Running ESR on Centos (RedHat) 5 & 6. Because of the way my system is set up, I would like to change where Firefox places files when they need to be accessed by another application (e.g. a .doc file). The default is to place them in /tmp, which works for most people, but does not work in my particular installation. (Some of the programs I use to read certain files are actually on a different computer, but can be started automatically from the computer I am browsing on). I need to place these files on a network directory, so the other computer can see them.

I looked in about:config, but do not find anything pointing to /tmp. I am hoping that this is one of those "add a new line to about:config" things that are assumed (based on OS), but can be changed if needed.

Thanks, Ted Miller

Running ESR on Centos (RedHat) 5 & 6. Because of the way my system is set up, I would like to change where Firefox places files when they need to be accessed by another application (e.g. a .doc file). The default is to place them in /tmp, which works for most people, but does not work in my particular installation. (Some of the programs I use to read certain files are actually on a different computer, but can be started automatically from the computer I am browsing on). I need to place these files on a network directory, so the other computer can see them. I looked in about:config, but do not find anything pointing to /tmp. I am hoping that this is one of those "add a new line to about:config" things that are assumed (based on OS), but can be changed if needed. Thanks, Ted Miller

כל התגובות (2)

פתרון נבחר

You can probably only do this by changing the TMPDIR=/tmp environment variable to point to that network drive.
You can start Firefox via a script file if you do ont want to do this for all applications.

#!/bin/sh

export TMPDIR=<path to tmp directory>
cd <path to Firefox>
./firefox

Thanks cor-el. Can manage that easily, per your shell example. Ted Miller