libera/#devuan/ Saturday, 2021-03-20

systemdlete2where does chromium stow or store documents it is downloading BEFORE it queries me for where I want to save it?   I can't figure it out.  I have default set in preferences, but I have not yet found the file it is buffering.07:06
systemdlete2I would think this would be some simple configuration item, but I have not figured it out yet.07:07
systemdlete2Thanks if you know.07:07
systemdlete2btw, it is an mp4 file over 5 gb, and I can see that it is eating space somewhere on the / (root) fs, but that could be almost anywhere under that.07:09
systemdlete2It will not be able to complete because the / fs only has about 2gb free.   The default location where I want downloads is on a fs with enough space.07:09
gnarfacesystemdlete2: might be in /tmp/07:52
gnarfacesystemdlete2: traditionally it would be /tmp/, i think even multiple standards dictate it has to be /tmp/, but i don't know really for sure they wouldn't put it somewhere in your home directory07:56
gnarfaceor somewhere really weird like /var/lib/07:56
adhocmost of the browsers seem to cache files in the download folder that you choose in the settings, often as a dotfile so the desktop manager does not show it.08:01
adhocsome times in the dot directory of the browser itself, in its own disk cache08:02
adhocthis behaviour has changed over the years.08:02
gnarfacei think firefox will save it as $filename.part if the download fails part way through08:03
gnarfacebut i thought it would also download to /tmp/$username/08:04
gnarfacewhile actually downloading08:04
adhoconly if you set that as the download folder.08:04
adhocperhaps some linux specific distros do set it up that way, but i do not believe that is the default behaviour08:05
iv4nshm4k0vI'd think Chromium uses ${XDG_CACHE_HOME}/chromium, and Firefox similarly ${XDG_CACHE_HOME}/mozilla or some such; XDG_CACHE_HOME in turn defaults to ${HOME}/.cache .  The final download destination defaults to ~/Downloads or a localized variant thereof.08:05
gnarfacewell i thought it was files with random strings as names in there during the actual download08:05
gnarfacecopying to download folder presumably happening later08:06
gnarfaceoh this could have changed with that XDG stuff08:06
adhociv4nshm4k0v: ok, will have to check what those are set to =)08:06
iv4nshm4k0vWhen the respective option is set, I'd expect a modern browser to ask user for the target directory /before/ commencing download, though.  (Not that I'm that familiar with modern browsers, or http://freedesktop.org/ stuff, anyway.)08:07
gnarfaceyea it might use ~/.cache/08:07
adhocwhy waste all that time, and jhust start, moving it later, hoping its on the same file system ;)08:09
adhocanyhoo, BBL =)08:09
Tenkawatuxd3v: you around by chance?15:03
Josh_2`Has anyone used Allegro Cache?15:59
Josh_2`oops wrong room16:00
tuxd3vTenkawa, I am now :)16:36
Tenkawatuxd3v: hey I was wondering if I ever told you I also worked with c0rnelus on the image builder project?16:48
tuxd3vI believe not16:49
Tenkawaif you ever need infi/questions/or want communication just passed baxk and forth let me know.. Code buildig (not necessarily writing) was my life for a long time16:50
Tenkawaer info16:50
Josh_2If I want to check if I've been invited to a room I should look for m.room.member events?16:50
Tenkawayeah he and I were talking in our dev channel and I never even realized you guys knew each other either16:50
tuxd3vTenkawa, yeah, we used to colaborate a bit in linus issues :)17:04
tuxd3vsorry for the delay, I was in a call :/17:05
tuxd3vI know him for some time already, and from time to time we talk, about a lot of things arm related stuff :)17:05
tuxd3vhehehe, this world is very small :)17:06
onefangIs this #devuan_offtopic stuff you are talking about?17:07
tuxd3vonefang, its about devuan-arm :)17:08
onefangOK, carry on.  B-)17:08
tuxd3vonefang, thanks :)17:09
Josh_2frick I sent a message in the wrong room again17:16
Josh_2sorry17:16
onefangYou should be more careful, especially if it's a password or something.17:17
Tenkawaonefang: and you should try not to criticize "everything"17:17
Josh_2onefang: obviously :P but in this case I thought I was in a different IRC channel17:21
TenkawaJosh_2: he criticizes me every chance he gets.. and you know... if I/you accidently let out a password... "It's not not problen"17:23
Tenkawaer problem17:23
Tenkawawe did it not him.. our mistake17:23
Josh_2its not a big deal if I did, unless it was perhaps my irc password17:24
TenkawaIts the principle for me17:24
Tenkawabut I am suppose to be resting so bbl.. cheers all17:25
onefangI don't even recall ever criticizing Tenkawa.17:27
systemdlete2adhoc:  If you look at my original posts, you will see that the problem is there is not enough space on the root fs, but there is plenty of space in the fs where I specified downloads should go.  But that is only after it asks me where I want to save the file.  So it is stowing the temp somewhere on the root fs.21:43
systemdlete2XDG_CACHE_HOME is not set in my environment nor in /usr/bin/chromium (a shell script).21:45
systemdlete2I have asked my question over in the #chromium channel.21:46
systemdlete2I have looked through .cache, but all I see there in one of the subdirs is a ton of small files.  It looks like chromium is creating these as it does downloads.  I think it might be doing this so it can do restarts without corruption.21:47
systemdlete2Why it needs to "pre-download" files before asking me is a bit weird.  Even if it going to use a temp file for its procedure, it should still create that file in the same place I want the file to go.  This way, a simple link call will work; moving files across file systems requires block copying, which is redundant.21:49
systemdlete2This seems, on the surface, a bit dopey, clumsy, and very inefficient.21:50
gnarfacesystemdlete2: well, it does, but for whatever it's worth, when Steam switched to "moving hardlinks instead of file copy" method, it exposed showstopping bugs in several filesystems22:43
gnarfacesystemdlete2: as for the downloading stuff you didn't ask for... it's just pre-caching downloadable links to give the illusion of faster bandwith at the cost of wasted bandwidth.  (yes, it only makes sense if you're stupid, but firefox does this too)22:44
gnarfacesystemdlete2: there was a change to the XDG* crap behavior, caused me problems in unstable for a while.  a temporary measure you can consider is defining $XDG_RUNTIME_DIR which will then act as a new parent directory for all that crap22:45
gnarfacesystemdlete2: (ideally you would not have to define this variable but if the defaults are an issue for your tools this is the one variable to rule them all)22:46
gnarfacesystemdlete2: (my quick+dirty example for ~/.bash_profile: https://paste.debian.net/1190202/)22:48
gnarfacesystemdlete2: (i'm sure there is a better way to do that, and it's no longer necessary in unstable with the current versions of stuff, but something similar might also solve your issue)22:49
gnarfacesystemdlete2: (the specific issue i was getting around was that enlightenment couldn't find the default cache directory "~/.cache" on boot-up)22:50
gnarfacesystemdlete2: (and yes, you'll note that my implementation has a bug where it breaks XDG behavior if it runs twice... it wasn't an issue for me, but obviously you might have to be more careful )22:52

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!