I have ubuntu as main OS. I installed virtual box with a windows xp guest. How can I share files between the two OSs, and how do I connect to internet in the XP guest?
Is there a way to make nautilus display the "recently used" files and directories, just like the "open file" dialog does?
Just to make my question clearer, here are two screenshots:
The GTK open file dialog, showing the recently used items:
A nautilus window, which doesn't offer to display recently used items:
EDIT : This has been added as a feature request to Nautilus. Don't hesitate to make your voice heard if you want it to happen!
Hi Guys,
I'm trying to setup nginx to serve static files. Basically all I need is to have http://mydomain.com/site_media/ point to /var/django/myproject/site_media.
I have tried so many configurations and when I test it I always get a 404 error for static files.
Can anyone please tell me what I'm doing wrong or how I should be setting this up?
This is my current nginx configuration file.
user www-data;
worker_processes 1;
#error_log /usr/local/nginx/logs/error.log;
#pid /usr/local/nginx/logs/nginx.pid;
events {
worker_connections 1024;
use epoll;
}
http {
# Enumerate all the Tornado servers here
upstream frontends {
server 127.0.0.1:8000;
server 127.0.0.1:8001;
server 127.0.0.1:8002;
server 127.0.0.1:8003;
}
include mime.types;
default_type application/octet-stream;
#access_log /usr/local/nginx/logs/access.log;
keepalive_timeout 65;
proxy_read_timeout 200;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
gzip on;
gzip_min_length 1000;
gzip_proxied any;
gzip_types text/plain text/html text/css text/xml
application/x-javascript application/xml
application/atom+xml text/javascript;
proxy_next_upstream error;
server {
listen 80;
# Allow file uploads
client_max_body_size 50M;
location ^~ /site_media/ {
root /var/django/myproject/site_media;
if ($query_string) {
expires max;
}
}
location = /favicon.ico {
rewrite (.*) /site_media/favicon.ico;
}
location = /robots.txt {
rewrite (.*) /site_media/robots.txt;
}
location / {
proxy_pass_header Server;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_pass http://frontends;
}
}
#include /usr/local/nginx/sites-enabled/*;
}
Thanks,
Cata
My friend created some .mov files with his mac. Now I'm trying to play them in my Windows 7 machine with Windows Media Player and I only see sound but not image. There must be an encoding issue. But how do I find out what encoder I need?
When I activate BitLocker, I imagine that will make it impossible to read any files on my Windows partition from my Ubuntu installation. Is that correct?
Any way to not encrypt certain directories so I can access them from Ubuntu?
If I try to open an MP4 file made by a Sony Webbie in Sony Vegas Platinum 6, it won't open. (Something made me think they would work together.)
The Webbie files are H264. It will happily play MP4/H263.
Is there a codec or something I can download?
Hi,
Currently, my mac is backing all my data up.
At this time, i working ... Is it ok, when i move/change files during backup ?
Or, i will have side-effects later ?
Thanks.
I'm having major trouble with my desktop, which is running Windows XP Professional. All the files have become access-denied overnight. I unchecked the file sharing option, I tried resetting the user in security settings, but still no luck.
Anyone have any other tricks to try?
I have a now non-bootable install of Ubuntu. What files do I need to copy to backup all of the MySQL databases (including database users and permissions)?
What needs to go in the htaccess file to make it display the files in a subdirectory but still just display mydomain.com in the browser?
For example, normally the index.htm file in public_html displays at mydomain.com
but I instead want the index.htm file in public_html/sub to be displayed at mydomain.com
I remember someone here at SU gave a link to a site where you could share your Linux custom configuration files (like bashrc, vimrc and others), but I don't remember what was that site. I already searched it on here and on Google, but I had no luck so far...
Can you help me find out?
I am the only administrator on my Window's 7 Asus x53E series laptop. Why is a standard user able to access my files by just searching my name in the start menu? If I log into guest account and search my name it shows an error that i don't have permission. When i log into my roommate's standard account and go to the start menu I put my name in search and everything I have done or searched is open to them . How can i make my administrator account private
I've checked "Don't use the index when searching in file folders for system files", but I don't see a way to tell Windows 7 that I'm looking for a system file. What does this option actually do, and how do I use it to search every file name on the drive for a specified character string?
I intend to search file names in an indexed folder that contains non-indexed subfolders and "system" file types, and this option seems to have no effect on the skipping of those subfolders and file types.
My httpd.conf uses the MultiViews option to serve HTML files for URLs like http://server/blog. This works fine, unless there are directories with the same name – Apache will then try to serve the directory.
Is there any way to ensure precedence of blog.html over blog/, or rather: can I make Apache process content negotiation according to MultiView although a matching entity (the directory) is present?
In nginx, I can do this explicitly:
try_files $uri $uri.html $uri/ =404;
Within the last week, whenever I go to save a file from the internet when I save to "Documents" it doesn't show just what is in My Documents at the higher level, it shows all the contents of every sub-folder.
I haven't changed any settings- how can I get this back to normal (so that files of sub-folders are not shown when saving)?
I tried with both Chrome and IE so it's not the browser doing it.
The problem seems to only happen with My Documents, no other folders like Downloads etc.
I'd like to make it Ctrl-Shift-F to match Visual Studio.
I realize to do that I need to remove that binding from the Query-Save to File item.
But, I can't even add ANY shortcut. When I pull up the Tools/Customize box, pick Edit in the Categories and then Find-in-Files in the Commands, the box for "Modify Selection", where I assume I could add a shortcut, is greyed out.
Any clues?
After executing command above, I've got all the files and dirs missing (except the hidden one). Where are they and how can I get them back ?
Please help :)