Ubuntu is a Linux distribution with an emphasis on ease of use and installation. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

learn more… | top users | synonyms (1)

5
votes
4answers
6k views

Run Python script on startup

Running on Ubuntu Karmic. I need to execute the following (updated) script at boot time #!/bin/sh # /etc/init.d/scripts # Description: Starts Python scripts # ————————————————– # ### BEGIN INIT INFO ...
5
votes
2answers
710 views

What's up with this 'gnome' package?

I have recently grown tired of the way Rhythmbox starts up every time I plug in my MP3 player. I know I could simply disable this, but I've decided to uninstall Rhythmbox instead. It's such a ...
5
votes
5answers
6k views

Why is this network connection so slow?

I am having some problems with network performance speed on a Linux server running Ubuntu 9.10. Transfer speeds on all types of traffic are around 1.5MB/s on a 1000mbit/s wired ethernet connection. ...
5
votes
4answers
806 views

Grub error 15 (file not found)

I'm trying to fix a problem with a new installation. I'm running this existing distro (Ubuntu) from /dev/sdb with a new OS, Gentoo, installed on /dev/sda. I'm glad I took the trouble of setting these ...
5
votes
2answers
7k views

java plugin does not work in chromium-browser (all possible attempts exhausted)

I was using google chrome browser on Ubuntu 12.04 machine, recently I needed to switch to chromium-browser. I am using the version that is available on the Ubuntu software centre. The problem is that ...
5
votes
1answer
12k views

How can I completely reinstall mysql?

I had to reboot in the middle of a large data import. I only have one mysql database, which has now been corrupted. How can I completely remove mysql and reinstall it? I've tried apt-get purge ...
5
votes
3answers
3k views

Prevent claiming of novelty usb device by usbhid so I can control it with libusb?

I have a USB rocket launcher that I wish to experiment with through libusb. However, libusb cannot claim the interface; presumably because the output of usb-devices lists 'usbhid' as the driver for ...
5
votes
4answers
5k views

How do I migrate configuration between computers with different hardware?

I want to migrate the configuration of an Ubuntu desktop to a new box with different hardware. What is the easiest way to do this? /etc/ contains machine and hardware specific settings so I can't just ...
5
votes
1answer
1k views

Disable atd (and other unnecessary startup processes) in Ubuntu?

I just spun up a new 12.04 server and have been having a bit of trouble getting the atd daemon to stop auto-launching. There's been a bit of changing around on the management of startup processes, ...
5
votes
2answers
100 views

Killing X-related processes when CrashPlan is running

I am currently running Ubuntu Server 12.04, but this applies to all flavours of Linux really. This server does a bunch of things and is controlled remotely via ssh. Some time ago I have installed ...
5
votes
1answer
557 views

Security of an encrypted (dm-crypt & LUKS) Ubuntu 12.04 installed by somebody else?

Suppose I want an Ubuntu setup (let it be 12.04) with full disk encryption. Ubuntu offers this as an option during installation. Suppose also that I have somebody (e.g. my vendor) else set this up ...
5
votes
2answers
7k views

Creating an user without a password

I'm trying to create user without password like this: sudo adduser \ --system \ --shell /bin/bash \ --gecos ‘User for managing of git version control’ \ --group \ --disabled-password \ ...
5
votes
3answers
593 views

periodically can't access google

On a daily basis, at around the same time each day (early morning and early afternoon), my computer stops being able to access google or any sites that use google code (including sites that use google ...
5
votes
2answers
617 views

Lock a byobu session with password?

I used to leave my byobu sessions detached on a server. I want to lock the session to prevent other users (root account) accessing my session. Is this possible?
5
votes
1answer
4k views

What is hvc0? (appearing in “who” list)

I have an Ubuntu Server, and when I type who, to see who's connected, I can see that there's a user connected, and instead of being logged to a pts/x, he's connected to hvc0. Is there something to ...
5
votes
2answers
660 views

emacs does not see my fonts in gentoo

I copied my ~/.emacs file from ubuntu linux; I've installed Consolas font (and it works in gnome terminal, and as a default Monospace font); but Emacs does not see it (custom-set-faces '(default ((t ...
5
votes
3answers
2k views

Installation date of Ubuntu

How can I determine when Ubuntu was installed in my computer? There was a different question posted here, but none of them is helpful.
5
votes
2answers
1k views

Number of running processes show in top

The usual maximum number that I have seen in the "running" field displayed in top(1) is the number of logical CPUs installed in the system. However, I have observed that under Ubuntu 10.04 (not ...
5
votes
3answers
3k views

How do I “merge” two text files?

I recently upgraded from Ubuntu 12.04 to 12.10 and at one point, it encountered an Apache config file conflict in apache2.conf. I didn't give me a merge option at that point, so I just rejected the ...
5
votes
3answers
8k views

domain 'ubuntu-hvm' does not exists, xen + ubuntu, hvm guest os installation problem

I am following the installation/setup instructions at https://help.ubuntu.com/community/XenProposed to install ubuntu + xen. I was able to install a PV guest OS. However, when I got to the HVM guest ...
5
votes
4answers
1k views

Spoofed MAC address ignored by wpa_supplicant?

I'm using wpa_supplicant to power my wireless card in my Ubuntu Server (yes I know wireless in a server is bad, but this is a special case) since it has the ability to automatically roam WAPs instead ...
5
votes
1answer
217 views

How can I find a Ubuntu package to use with Amazon EC2?

I'm looking to set up a new server on Amazon's EC2 and I wanted to use Ubuntu 11.04 is it is fairly new but not too new. I previously used 10.10 which I think is also very stable and time-tested. My ...
5
votes
1answer
4k views

Where are NetworkManager's WiFi settings stored?

I remember the days of playing with /etc/$WE/wpa_supplicant.conf to try and force a semi-secure network on a debian based system, but now on to xubuntu, I haven't needed to do any *.conf-ing in a ...
5
votes
3answers
3k views

How to get rid of the “scanning for btrfs file systems” at start-up?

After upgrading from Ubuntu 12.04 to Ubuntu 12.10, I get a message "scanning for btrfs file systems" at starting-up. I don't have any BTRFS filesystem. It delays the booting for about 15 seconds. How ...
5
votes
2answers
1k views

What's the next step in troubleshooting this wireless connection failure?

I just installed Ubuntu 10.04.3 to dual-boot with Windows. I can connect to the Internet using a wired connection, but not through wireless. The first time I booted, the wireless notification bar ...
5
votes
1answer
3k views

Configure wireless network from the command line

I know I can use ifconfig to configure my ethernet network interfaces. But can I also configure my wireless network interfaces using ifconfig. (It seems to be listed as eth1 in ifconfig output, why is ...
5
votes
1answer
271 views

What tools allow me to present man pages as formatted HTML on a web server?

What tools exist to make man pages available on a system available via HTTP and link topics together such that references in the SEE ALSO sections and elsewhere will become hyperlinks in the HTML ...
5
votes
1answer
3k views

Can the focus of a Microsoft LifeCam HD-5000 be fixed at infinity under linux?

I have two Microsoft LifeCam HD-5000 webcams which I am using as a home security system with the Motion package for linux. One problem I have is that because these webcams have auto-focus, sometimes ...
5
votes
3answers
424 views

Suspending my laptop breaks ethernet over firewire, are there commands which can fix it?

As mentioned in this question I am using a firewire cable to provide a private network between my laptop and my desktop, because it makes using the screen sharing program synergy much nicer than using ...
5
votes
1answer
635 views

`p` key doesn't work in X

Today I had to force-shutdown my machine after it froze during resume from suspend. Since the reboot, I've found that the p key doesn't work normally in X. It does work normally in the console. ...
5
votes
1answer
1k views

Ubuntu postfix installation error: trying to overwrite '/usr/sbin/validlocale', which is also in package libc-bin 0:2.10.1-0ubuntu18

I am trying to install Postfix on Ubuntu 10.04 using command sudo apt-get install postfix but there comes error as shown below: Preconfiguring packages ... (Reading database ... 164023 files and ...
5
votes
1answer
2k views

Top and bottom panels disappeared in Ubuntu 10.10 (Gnome)

For some reason my top and bottom panels have disappeared. I can't right-click and add a new panel either. I tried executing gnome-panel from the terminal, rebooting, but no luck. Any idea how to ...
5
votes
1answer
263 views

USB 2.0 device is not working in USB 3.0 ports

I have a Ubuntu 12.04 system. On that system I have one USB 3.0 port. In this port I am trying use my USB 2.0 device, but every time when I plug in that USB 2.0 device into the USB 3.0 port, the ...
5
votes
1answer
51 views

Lightdm service - contradictory results for `status` command

When I run in my gnome-terminal: service lightdm status everything looks OK and it is as expected: lightdm start/running, process 1221 But when I run: service --status-all 2>&1 | grep ...
5
votes
4answers
2k views

Why doesn't docker container start at boot w/ upstart script on Ubuntu 12.04?

Using instructions for Docker auto-start on Linode VPS running Ubuntu 12.04 and Docker 0.8.1, the specified container does not start on reboot. Once booted, I am able to ~$ sudo start [service-name] ...
5
votes
1answer
474 views

Overwritten MBR: Is partial/complete recovery possible?

I have a Sony VIAO laptop setup as dual boot (Ubuntu 12.10/Windows 7). Since I wanted to try Archlinux, I installed VirtualBox in Ubuntu. To create a bootable USB stick (from the ISO image on my hard ...
5
votes
1answer
6k views

~/.xinitrc not being run

I am not able to run my ~/.xinitrc (~/.xsession) scripts when logging into my computer. I'm using Xubuntu 12.10 with vanilla lightgm as the login manager. Both these files have the right permission ...
5
votes
3answers
3k views

A Web ssh/telnet client

I'm in kind of a tight spot right now. I wanted to know if someone has seen a HTML, or PHP web ssh client as both my company and school block everything besides port 80. I'm a control freak when it ...
5
votes
1answer
5k views

AltGr keys don't work with Ubuntu in VirtualBox

I just installed VirtualBox (from Oracle) in Windows 7, and created a virtual machine with latest Ubuntu. Here in Firefox I can use the left Ctrl key, while the right one doesn't have any effect. ...
5
votes
2answers
3k views

/dev/md127 refuses to stop. No open files

So I'm trying to stop /dev/md127 on my Ubuntu 12.10 box. It was set up as RAID1, but I'm trying to move everything (well, rename) to md0. I read that renaming isn't possible, so I'm trying to remove ...
5
votes
1answer
551 views

Cannot FTP more than 5791 bytes

On my home Kubuntu 11.10 machine I have discovered that I cannot upload via FTP any single files that is larger than 5791 bytes. I have tried to two different FTP servers (not anonymous rather my ...
5
votes
1answer
6k views

Acer Aspire S3 or Asus Zenbook Ultrabook for running Linux (Ubuntu / Debian)

I'm curious if anyone has had success with running Ubuntu or Debian on the latest Ultrabooks. Specifically, the Acer Aspire s3 or the Asus Zenbook? I have had an Asus UL30a since they came out, ...
5
votes
3answers
483 views

No panels in Ubuntu? libcanberra-tk cannot open shared object file

I booted up Ubuntu and have a background but no panels. Everything else seems to work fine, I can get into terminal and run Firefox for instance. I can create folders on my desktop, etc. I'm new to ...
5
votes
2answers
2k views

VPN with network manager (nm-applet) is not working

My university (TU Wien) offers a VPN in order to get an IP of the university network. The instruction on the university webpage says to install the packages network-manager-gnome, network-manager-vpnc ...
5
votes
2answers
546 views

Sync files from a mac to a flash drive - automatically?

I have a flash drive, let's name it FLASH. I want, when on my mac, when FLASH is plugged (and automatically mounted), execute a specific script and make ~/Documents to be automatically copied to ...
5
votes
1answer
777 views

How to determine if disk is compact flash or standard hard drive

I need to determine in a shell script if a given block device (e.g. /dev/sda) is a compact flash disk or a regular hard drive. Google did not help me out for once, and while udevadm info --query=all ...
5
votes
3answers
335 views

Power management hook for running *X11* scripts on wake

Earlier I asked a similar question, but that one was about running system-level scripts. I have a script that runs a series of xinput commands in order to enable two-finger scrolling on my touchpad. ...
5
votes
1answer
73 views

Smooth scrolling - where does it come from?

So, I've been dealing with Ubuntu and other Debian-based distros for a while and kinda like Crunchbang. But I've been also noticing that Ubuntu (as well as LMDE) comes with that fancy/nice/eyecandy ...
5
votes
1answer
72 views

Copy a long single-line text from a terminal with undesired change-line

locate ... | less outputs a long path, which is shown as several lines in the terminal, although it is actually a single line. I copy the path from the terminal by selecting the text with mouse and ...
5
votes
1answer
746 views

Wi-Fi with WEP from command line in Ubuntu 12.04, Kernel 3.8.0-29-generic

I have removed network-manager and am trying to configure Wi-Fi with WEP manually. I am running on an X1 Carbon. Here are the commands I am running: ifconfig wlan0 down iwconfig wlan0 essid ...