Ubuntu :: How To Disable Thumbnails (Cached On Disk)
Jul 23, 2011
Apparently, Ubuntu (and Xubuntu) keep copies of all thumbnails ever loaded, cached in ~/.thumbnails. To me, this is creepy and can be bad from a security standpoint. Is there any way to have all thumbnails loaded on-the-fly, but not to have them ever cached on disk? I tried symlinking ~/.thumbnails to /dev/null, but this disabled thumbnails entirely.
I want to disable only PDF thumbnails not the png, jpg or any other image format. In gconf-editor /apps/nautilus/preferences there is option only to disable all thumbnails. Is there any way to disable only pdf thumbnails
I have Ubuntu 9.10, and writing video files to a mounted disk is slow. The reason is every time the buffer is flushed to disk, Ubuntu starts making a new video thumbnail for the file.If I skip the first block that has the RIFF data, then Ubuntu doesn't realize it's a video, and the write speed is about doubled. Then I can write the RIFF data at the end of the transfer (in the appropriate place in the file).I have tried setting an exclusive flock on the file while writing; however, that does not prevent Ubuntu from reading the file while it's being written and generating thumbnails.
Since upgrading (fresh install) to Lucid, I've been having to go through disk checks about once or twice a week on boot. I'm not sure why Lucid thinks it needs to check my disk so often. I looked into it a bit, and found a command that was supposed to stop disk checks happening so often.
Code: sudo tune2fs -i 2w `mount | awk '$3 == "/" {print $1}'` is supposed to set it to 2 weeks. I used "/home" too as I have home on a separate partition and didn't want that to be checked too. All was fine until I booted up to find another disk check today. It can sometimes take over half an hour to finish and C to cancel doesn't always work either.
I always shutdown cleanly, unless Ubuntu completely locks up, which happens maybe once every six months (although it did happen yesterday, but I have rebooted it a few times since then with no checks happening until just now). Is there a way to just disable checks completely? I wouldn't mind running them manually every now and then, I just don't want to do it as often as Lucid does.
These days I see the disk check that is popping up when my Ubuntu is booting up quite frequently. It says 'press C to cancel' but C (or Shift C or CTRL C or CTRL ALT C) does not have any effect. Pressing CTRL+ALT+DELETE reboots but again ends up in the vicious loop of disk check. How to bypass it? When I need to critically enter the desktop for an urgent pressing info waiting for 20 to 25 minutes disk check is kind of difficult.
I have a custom modified Ubuntu LiveCD. Sometimes when I boot from the CD, after it detects the HDDs it starts automatically scanning and repairing them even if the partitions are windows partitions. What do I need to modify to make it not scan/repair any partitions/drives at boot?
I have old hard disk with broken DMA. When linux boots, it tries to enable DMA, fails, tries again... It tries to enable DMA several times, then disables DMA and boots. But it tries to enable DMA for nearly 3-4 minutes. How can I say linux to not try to enable DMA for this hard disk? System is installed on another hard disk that works great. Old hard disk is used only for not frequently used data.
Would it cause any issues to delete the cached archives from the installed packages? I have almost a gig of space being taken up and would like to get the space back.
I have heavy swapping going top and free are indicating a lot free memory in cached form.Why does the kernel not use this memory instead of killing my desktop by swapping like crazy.
Is there a way to disable disk checks in a mounted usb drive? I have a 500GB usb mounted drive in my CentOS machine and everytime I reboot my system, it does disk checks which is a long painstaking process. /mnt/sdb1
I am experiencing severe DNS delays today, so I tried to install DNSMASQ by following the instructions given on several pages on the web to make it function as a local DNS cache.
The installation was successful, and after editing the configuration files as instructed, I now have a working DNS cache on my computer.
However, it seems that the addresses are not cached for a long time ; for a given domain, the speedup lasts for a few minutes. If I try to access a previously visited domain once more after several minutes, a new (slow) external lookup is made.
Since websites' IP addresses are not changed every five minutes, would there be a way to tell DNSMASQ to keep the IPs in the cache for a long time (several hours at least) ? This is very important for me because the DNS lag that I am experiencing makes external lookups last 10 to 20 seconds.
I have an LDAP server holding user/pass/group for many users. Due to network issues, the server sometimes is unreachable and clients cannot login, current sessions usually freeze after a while. All client have ubuntu 10.04.2 x64.
I have went through the outdated howto to cache the LDAP credentials.
I setup the required packages daily cron "nss_updatedb ldap" and edited '/etc/nsswitch.conf' to have "files ldap [NOTFOUND=return] db" for both passwd and group.
I ask question about my iPhone 3GS here because it run in linux too.I think it's Debian.it if u happen to know the answer. I want to keep cache downloaded from Cydia for reinstalling later.
1. How can I set the TTL to 2 days for all stuff cached by dnsmasq?
2. When I go to [URL] from my browser and then execute [URL] the query time returned is > 0 ms. When i execute it again it is 0 as it should be. So is dnsmasq not caching the domains looked up by my browser or what? in /etc/resolv.conf I have only 127.0.0.1 and for the upstream servers I have a different file that is only used by dnsmasq.
I've been banging my head on this for a week... I finally got AD login working, but I can't get cached logins working. I installed SADMS, let it configure everything, and though I can now login, I still cannot login as my AD username when my machine is not connected to the AD network. I need to be able to login at home, connect to the VPN (if I can ever get that working), then sign on to services at work using my AD username.
Also, I cannot login to local accounts when the system is not connected to the AD network. Plus, home drive mapping is not working, our shares are \FILESERVERuseruser[I]username[I] so this does not work. UPDATE: I installed likewise-open, and now I can't login unless I use the full domain name when logging in via ssh, but I cannot login on the desktop, which is not what I want, now my username doesn't match the previous UID mapping, and my home directory is mapped to /home/likewise-open/DOMAIN/user, instead of /home/DOMAIN/user, like it was before.
I've set cairo-dock to start but also kde somehow caches the desktop state while shutting down. Can I avoid cairo-dock to be cached at shutdown in kde?
I'm using openSUSE 11.2/KDE 4.4 and Konqueror is behaving strangely lately. That is, when I click an entry in RSS Now widget, Konqueror opens, but instead of going to the web, it displays the cached version of the page (i.e. from /var/tmp/kdecache-[username]/krun/...).Initially I thought it is related to the widget (RSS Now), but the same thing happened when Konqueror was called by another program (Google Desktop > preferences): it opened the cached version of the page instead of what I've expected (localhost on some port).As I see these things, it seems there is a setting making Konqueror/KDE to preload some pages (I guess it's related to a KDE service). The problem is it subsequently displays the cache, not the online version.
Closest analogy I can compare what I want to, is like the `sync` command, which writes out all stuff in the disk buffers, freeing the buffers.Instead of disk buffers, I want to 'clean out' my RAM and SWAP of any/all junk that's accumulated in there over the time my PC has been up. I've long wondered about this, but never asked, though I recall searching around several times..When I first boot it cold and log in, the memory usage bar on my desktop is near zero, and the swap is empty. But after a week or 2 or 3 or more of uptime, and with Firefox always running with a dozen tabs or so at any given time, I end up with all the memory full or 'filled with cached stuff', and the swap space is filled to capacity.Curiousity: I blame Firefox for leaking memory, but even if that's still the case today (historically it was) can this all be blamed on Firefox? Or what-all causes this, besides Firefox- just..Everything?
Here's current stats:
Code:
sasha@reactor: uptime 21:21:42 up 30 days, 10:07, 3 users, load average: 0.02, 0.05, 0.01 sasha@reactor: free total used free shared buffers cached
[code]...
So, 3.8 of 4 Gib of RAM is occupied, and the 1 Gib swap space is jammed full 100%. This must slow things down to some degree, yes? I mean, the kernel does have to keep track of this, right?Of course closing all the applications doesn't make a difference (not an appreciable one anyhow) and the only way I have found to start fresh is to reboot.
when we do enter on a folder it take some time for loading the folder depending on the no of entries in the folder . If the folder has more entries it take more time to load and if less no of entries then correspondingly less time . the delay in loading the folder varies due to reading of the folder entries in advance . SO what i want to know is that what is the MAX no of entries read in advance while opening a folder in linux and also how can we calculate this
So everytime i try and use the "yum" command. for some reason it doesn't go past this point: "loading mirror speeds from cached host files". i cleaned up the cache and rebuilt the OS again, and im still getting this problem. would this be a problem with my internet connection? I'm using CentOS 5.5.
If I make one NTFS partition and on other install ubuntu and enable option "disable save to disk", is it worth also for NTFS partition or just for Linux partition(s)?
Hi. I work with large image files. On my ubuntu laptop, the 20 MB files take forever to form the little preview thumbnail icons on the desktop, and everything freezes up until they generate.
I'm poking around my preferences and options, but I can't seem to find a way to tell Ubuntu that I don't want it to form preview icons. Is there some way to turn them off?
Recently due to partitioning and a power failure Ive had to now copy all my backup movies etc. back onto ubuntu as they are corrupted. At the moment the thumbnails of the movies are the generic orange media image and when I replace it with the backup movie, across to ubuntu and refresh the browser, the thumbnail stays the same i.e. it doesn't show a small screen cap of the movie. Is there a way to 'refresh' them properly as it were? I am running Ubuntu 10.10.
htm, .html and .shtml files, Nautilus runs a thumnailer to preview the file. I disable the thumnailer in gconf-editor at /desktop/gnome/thumbnailers/text@html. Now it's just showing the text inside the file. How do I replace the thumbnail and now the text with just an icon for HTML?I attached an image that shows the preview thumbnail, text thumbnail, then icon, which is what I want it to look like.
I had system problems and I decided to do a fresh install and I could only save my home folder and be sure that my system worked. Ever since my new videos never had thumbnails. Is there any way to make sure they do have thumbnails for easy browsing.
I installed faenza icon theme and would like to have for my pdf docs only mime type (included in mime types/ icon theme), not a thumbnail. Is there some easy way to change this system wide? I tried this and similar suggestions found on net, but no go: http://ubuntuforums.org/showthread.php?t=770142
Im using Firefox 3.6.12, and Ubuntu 10.10 When I go to this page for example:[URL].. and try to open third screenshot in first row... when I click on it, it is zooming in very slowly, and when I press X to exit it.. Firefox becomes unusable for about 5-10 seconds, and then starts to zoom-out the image, very slowly.I have this issue on every site that has big images to zoom, when I say big.I do not have issue with lets say 1600*1200 pixels, but I do with 2500*1600 pixels. My configuration : AMD Athlon 64 bit 3000+; Ati Radeon X600, 2GB DDR2. I have tested in all other browsers on my Ubuntu and its working fine. I have tried safe mode, I have tried new profile... I have tried latest Minefield beta. zooming is very slow everywhere I have tried live CDs Fedora 14, Ubuntu 10.04, Ubuntu 10.10 and all of them have this issue with Firefox. I have tried disabling Compiz... not helping, I have tried disabling Pango in bashrc file, not helping. Firefox on Windows is working fine, and everything else except Firefox is working fine on Ubuntu