Free, open-source operating system based on Debian GNU/Linux. Ubuntu questions are on topic here, but if you prefer an Ubuntu-only audience there is AskUbuntu.com.

learn more… | top users | synonyms

10
votes
11answers
16k views

Can you install Ubuntu Server in a Windows PC VM on Windows 7?

I am running Windows 7 64-bit. I've installed Windows Virtual PC and Windows XP Mode successfully. Next, I downloaded Ubuntu Server 9.04 32-bit. I created a new virtual machine with a dynamically ...
10
votes
6answers
8k views

Search Terminal Output

Using a default terminal and bash, there is no functionality to search the standard output of commands. One can gain such functionality using other tools, like emacs shell or screen, but I am ...
9
votes
2answers
10k views

Windows 7 + Ubuntu dual boot + UEFI BIOS

I received a new Lenovo T420 laptop with Windows 7. The disk now contains: a hidden SYSTEM_DRV boot partition (1.17GB, 400MB used). I'm guessing this is the UEFI partition; the laptop comes with ...
8
votes
3answers
270 views

Firefox 3.5.2 on Ubuntu Jaunty

How should I go about getting Firefox 3.5.2 installed on Jaunty, are there any semi-official places I can pull a deb from?
5
votes
2answers
6k views

Monitor the bandwidth usage of each computer on a network

I have a Linux box that I would like to use to monitor all bandwidth my network, there are multiple computers all plugged into the network. Is there some way to ARP spoof all the traffic through the ...
5
votes
4answers
8k views

Ubuntu Firefox it is saying that it is already running but not responding

On Ubuntu, When trying to open Firefox it is saying that it is already running but not responding. I am on a system where I dont have access to view the root. I have had this issue before and fixed ...
5
votes
2answers
4k views

Virtual VNC screen/workspace

I've got one monitor (the family TV) attached to my Ubuntu 8.04 system, and when I need to work on it I usually VPN into it from another PC. However I'd like to be able to VPN in even when it's in ...
3
votes
3answers
8k views

How can I get apt-get to install python packages for a different version of python?

In Ubuntu 10.10, I have installed python 2.7. I would like to use apt-get to install packages to this version of python but I haven't been able to figure out how. Things I have tried without success:...
3
votes
5answers
4k views

Firefox in Ubuntu : how to automate basic authentication password confirm dialog

I have an Ubuntu workstation with Firefox always open on a (autorefreshing) web page protected by basic auth. At startup, I have autologin and automatic Firefox start on the page and I have saved the ...
2
votes
3answers
13k views

Remap Keys in Linux

I'd like to switch my Ctrl and Alt keys under Linux (to make it more Mac-like). How do I do this? If it helps, I'm running Ubuntu 9.04.
1
vote
2answers
2k views

How should I partition my disk for dual boot between Windows 7 and Ubuntu?

Here are the facts and my use cases. Hard Drive has a 1TB (terabytes) capacity. On Windows, I will use the computer for: Developing Software. I will need to have installed Mercurial, Visual ...
16
votes
8answers
12k views

Hide files in Linux without using the dot

I wish to hide files in Linux without using the dot, since it's possible in Windows. Is there a way to do this?
9
votes
3answers
6k views

Why won't my xmodmap command run on startup/login?

I want to run this command every time I log in (or every time I start up, if that doesn't work): xmodmap -e 'keysym Delete = Menu' -e 'keysym Menu = Delete' I've tried many things. I put the command ...
9
votes
4answers
64k views

Is there a chkdsk equivalent available for Ubuntu?

When I asked this question about recovering data from a damaged Linux partition, people recommended booting from a Windows installation disk and running Chkdsk. Well, I still don't have a Windows disk,...
9
votes
4answers
869 views

why ./ is needed to run a runnable file?

I'm using ubuntu and I notice many of my runnable scripts won't run unless I precede theme by ./. For example, if I have a perl script: /home/me/script.pl and I'm currently in /home/me, typing script....
8
votes
5answers
2k views

Disadvantages of not having a swap partition

I recently installed Ubuntu 10.04 on my laptop. Due to space constraint of the SSD, I did not set a swap partition for the OS, and I have 1.5GB of RAM. There's a warning during installation, but I ...
8
votes
3answers
6k views

Install dependencies for a dpkg package?

I have a dpkg file that i want to install. But I get error messages that it is depending on other packages. I used: dpkg -i file.dpkg Is there a way to install dependencies automatically without ...
7
votes
3answers
23k views

How can I restore GRUB without a live CD?

I realize that this is a duplicate of a question asked before, but in that question the asker managed to find his live CD and no real answer appeared, thus I am re-asking it. I managed to screw up my ...
6
votes
1answer
6k views

How is the percentage of CPU usage calculated?

In my Ubuntu 12.04, with psensor, I saw a percentage number updated for cpu usage. I wonder how this percentage caculated? Specifically, what is the numerator and denominator in the ratio? Thanks!
6
votes
3answers
6k views

MemTest is returning large numbers of errors in Test 7, no matter what ram I use

I have been having issues with this computer, and since MemTest said that there were errors on my RAM, I figured replacing it would fix them... However, after replacing the old stick of RAM, I am ...
5
votes
1answer
15k views

How can I add a RAID 1 array in Ubuntu 10.04?

I have an existing Ubuntu 10.04 desktop system setup and running on a hard drive (drive A). I'd like to add two more hard drives (drives B and C, same size) to the system and mount them as a RAID 1 ...
5
votes
5answers
2k views

Rip DVD on Linux

I want to rip a DVD and store it in a good and compressed format. What software to use for that and what is the best format; I want best quality and low file size. +1 if I don't have to install any ...
5
votes
2answers
6k views

How do I determine whether my SSD (Samsung UM41) supports the TRIM command?

I'm running Ubuntu 10.04 and lshw shows a "SAMSUNG SSD UM41". Any way for me to determine (1) that my SSD supports TRIM, and (2) that my OS and FS (ext4) are actually using this? Update: Rather than ...
5
votes
3answers
16k views

How to save settings on bootable USB drive?

I have a bootable USB drive w/Ubuntu 10.04. I use it to learn Ubuntu and to diagnose, repair, or recover other people's computers and files. The problem comes when I constantly have to keep re-...
5
votes
1answer
6k views

Ubuntu 11.04 - disable NVIDIA graphics card

I have an Asus U36 laptop running Ubuntu 11.04 with two graphic cards - one from Intel which is quite sufficient for me, the second from NVIDIA which consumes a lot of battery while not even working. ...
4
votes
2answers
1k views

How to reduce VM size?

I have a Virtualbox VM, with a .vdi that is taking 49gb in the host machine. I may have used that much space inside the VM once, but now I'm only really using about 6gb. I tried this command for ...
4
votes
1answer
8k views

Should I be able to hear audio using X11 forwarding?

I use a portable virtual box (running Ubuntu) at work. I funnel my web browsing through an ssh link back to my home PC. Today I was playing around with X11 forwarding to access applications running on ...
4
votes
4answers
28k views

apt error: Could not perform immediate configuration on

I have issues running the following command: root@X100e:~# apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... ...
4
votes
2answers
4k views

How to save a ntfs partition which suddenly became empty

One ntfs partition of my laptop was suddenly wiped out without any notice to me, when I rebooted from Windows 7 to Ubuntu 12.04 today. I am in need of help to save my files on that partition, which ...
3
votes
3answers
4k views

Ubuntu, control the init startup

Ubuntu uses upstart instead of sysvinit. However there are still runlevels and the links in them. I have installed tor and it has added itself to the startup of the OS. Now I want to remove it and ...
3
votes
3answers
5k views

How to convert physical Ubuntu operating system into a virtual machine?

A while ago I turned my PC into dual boot with Windows and Ubuntu. But my experience is, that I rarely boot into Ubuntu, so I wanted to make it available as virtual machine in Windows rather than as a ...
3
votes
3answers
9k views

I accidentally hid my Gnome Panel

I got a new tablet pc, and in attempt to hide the empathy mail icon, accidentally made the entire panel dissappear. (The one at the top that has applications/places/system, and battery life/network ...
3
votes
3answers
11k views

How to recover a file overwritten with another in Linux?

I did this on the command line (Ubuntu 12.04 , ext4) mv some_arbit_file required_file Is there any way I can recover required_file? I had put so much work into this. I usually backup files but I ...
2
votes
2answers
6k views

Running a script on startup before X starts in Ubuntu 9.10

I have a script that I want to run at startup to switch X-configs depending on location, but I can't seem to find out where to put it in order to get it to run before X is started. This results in me ...
12
votes
1answer
16k views

How to install gvim on Ubuntu 10.10?

I checked under Software Center, but I could not find it. How can I install gvim?
11
votes
6answers
14k views

Why is 64 bit Ubuntu not recomended for daily usage?

I am just in the process of setting up a new laptop which came with Windows 7 64 bit installed. I am going to set it up to dual boot Windows 7 and Ubuntu. When I went to get the Ubuntu download I ...
10
votes
3answers
32k views

Can files deleted with rm -rf be recovered?

When I delete folders or files in through osx terminal using the rm -rf, where do they go? I heard that some say they are deleted directly, but some also say it only "remove the link to the file ...
10
votes
5answers
8k views

On Ubuntu, why “sudo apt-get” sometimes and “sudo aptitude” other times?

I was trying to figure out how to install libgtk2.0-dev and found that I have to use sudo aptitude install instead of sudo apt-get install Why these two different ways of getting stuff?
8
votes
5answers
5k views

Upgrading Ubuntu 9.04 to 9.10 when Update Manager doesn't let you

I've been trying to upgrade my installation of Ubuntu 9.04 to 9.10, but all of the instructions I've found haven't been helping. They mostly say to run the update manager and it'll tell you that there'...
8
votes
6answers
4k views

Compile gvim from sources?

Recently, I've installed vim like so: hg clone https://vim.googlecode.com/hg/ vim cd vim sudo ./configure --enable-rubyinterp=yes --enable-pythoninterp=yes --enable-gui=gtk2 --prefix=/opt/vim make ...
5
votes
2answers
12k views

How can I use quotas in samba?

I have a simple set-up with just one public share on my configuration file. How can I restrict its size?
5
votes
1answer
15k views

Disable hardware acceleration for Flash player in Linux

The latest official version (and supposedly the last version for Linux) of Flash player has some interesting issues on Linux systems. The biggest issues which have summarily been confirmed on the ...
5
votes
2answers
2k views

Dual internet connection setup

So I'm currently connected to two internet connections. My 3G network and the company's wireless connection. But I don't really understand which one I'm using. Is there a way to find out which ...
5
votes
2answers
3k views

Ubuntu: errors in terminal: how to show them in english language?

i installed Ubuntu in italian language. Now I would like to see the error commands in english. For example if i write: $ mmmm This is showed: mmmm: comando non trovato I would like that ...
5
votes
1answer
767 views

Why is ubuntu shutdown so fast compared to Windows 7

I have installed Windows 7 64 bit and Ubuntu 10.10 32 bit on my machine. The partition sizes are 400 GB and 100 GB receptively. I've always wondered how Ubuntu shuts down so fast? It takes only 5 ...
5
votes
3answers
5k views

Full Ubuntu Install on USB

I am trying to install Ubuntu 10.04 in a 16GB Verbatim USB flash drive so I can boot my computer from the usb and have a full ubuntu running (I also need an encrypted home folder). I just want to run ...
4
votes
3answers
5k views

How to umount / ? It's busy

I'm trying to use zerofree, which seems to be the answer for this: How to reduce VM size? I have successfully umounted /dev/sda1, and zerofree worked fine, releasing ~37gb. But I can't seem to ...
4
votes
1answer
2k views

USB keyboard does not work for Ubuntu boot menu

I wanted to perform a memory test on one of my desktop machines, but encountered a very strange problem: I can use the (usual) USB keyboard (tried Cherry Evolution Stream as well as an older one from ...
4
votes
2answers
705 views

(Ubuntu/Linux)“find” command gives different results based on quotation marks

I was using find -iname *prib* and getting only one result "./prib09jack.pdf" with find -iname "*prib*" I get many more results that I was looking for such as ./Dir1/PRIB09/prib09jackTFF1....
4
votes
3answers
993 views

Can I run Microsoft Office 2007 under Ubuntu?

I am an Ubuntu user, but was wondering if it was possible to run Microsoft Office. Will Wine allow me to run it?