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

11
votes
3answers
15k views

How can I reformat microSD cards that were created read-only?

My company was burning some microSD cards (4000 of them) and the multi burning machine we were using gives us the option to make the microSD read-only. I didn't know this was possible, but ...
1
vote
1answer
1k views

How do nested folders' permissions work?

1) I'm not sure how nested directory permissions work. Suppose I have the following directories/files and permissions: ~/Private/ 700 ~/Private/Group 770 ~/Private/Group/Public 777 Is Public ...
6
votes
2answers
5k views

Change GPT parition number

I have a 2TB GPT drive that for some reason is mounted as /dev/sdc2. I would prefer all my data drives to be mounted as /dev/sd*1. If I use sudo parted /dev/sdc print I get: Model: ATA WDC WD20EARS-...
1
vote
1answer
262 views

s2disk won't power down in Ubuntu 12.04

It actually saves the state. When it won't switch off i press the on-button 3 seconds and restart, it resumes ok. Does anybody know how i can "debug" this switch-off-problem. I have a new laptop ...
0
votes
0answers
681 views

“Connection reset by peer” when sshfs from Ubuntu to Open solaris

On my host (Ubuntu 12.04) I'm trying to mount resource which is on opensolaris: sshfs jj@opensolaris.dev:/home/jj /opt/opensolaris/ But I'm getting the message: Password: read: Connection reset ...
0
votes
2answers
1k views

How to get the Three.js import/export scripts into Blender on Ubuntu?

I have been working with 3D primitives in Three.js, but now I want to import some models. I plan on using Blender, which I have just downloaded with: sudo apt-get install blender However, I was ...
0
votes
2answers
208 views

Linux terminal, my program only resumes after scrolling the printout

I am using Ubuntu 12.04, unity. I have a program running in terminal. It is supposed to run for ~10 hours. But it halted after I came back after a few hours. The CPU usage shows that the program is ...
6
votes
1answer
7k views

Set default terminal in Ubuntu 12.04

I've set the default terminal using sudo update-alternatives --config x-terminal-emulator but every time I press Control + Alt + T, it still opens up gnome-terminal. I would like to change it to ...
3
votes
1answer
4k views

Tar backup with progress bar

I would like to add a progress bar to my tar backup command. I found out that the bar shell script should be able to do this, but I am unable to figure out the correct command. sudo tar pzcf - /media/...
0
votes
1answer
122 views

How does the .profile file work if I fork a process?

Lets say I open vlc or gimp on startup, but those commands don't return until the program closes. Does it just let a bash interpreter run indefinitely until they close or does it run and immediately ...
1
vote
1answer
319 views

Unable to connect from the host OS to the guest in VirtualBox

I have an Ubuntu machine and I have installed 64-bit RHEL on VirtualBox. I changed the adapter settings of the guest to connected to bridged network, and I am able to ping my host from the guest, ...
4
votes
2answers
127 views

Read files inside directory and group them on new sub-directory (creating the subdir and renaming the file)

I've performed a recovery for old deleted files! The process was a complete success and recovered files from years ago. Now the problem is going through all the 400000 files recovered of the type JPG ...
1
vote
3answers
138 views

Windows Installer for Ubuntu

I've ubuntu installed inside windows . Is there any way I can keep the ubuntu installation intact while formatting the windows ?
1
vote
2answers
697 views

How do i install a remaster sys backup of a cli only ubuntu install to a hard drive

I'm currently in the process of migrating a system that runs a minimal install of ubuntu 10.04 from the system it was on to a VM. The approach i'm taking is to run remastersys to create a bootable iso,...
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 ...
1
vote
2answers
15k views

Failure to connect to PPTP VPN in Ubuntu: VPN plugin failed: 1

I used network-manager-pptp under Ubuntu 12.04 to configure the vpn. IPv4 Settings: Automatic VPN: Gateway - set User name - set Password - Always Ask PPTP Advanced Option: PAP, CHAP, MSCHAP, ...
2
votes
2answers
612 views

What happens under the hood when I run a command line program in another programming language?

Some programming languages have system() exec() calls where I can run commands. What exactly happens when I do that? If I run system("ls") Does it run a bash interpreter on the string? Does it make an ...
3
votes
1answer
177 views

In ubuntu alt+f2 spawns a process that is not attached to a shell. How would I do that in bash?

emacs & Forks but the process is attached to the shell nohup emacs & Something like that works but seems to make some kind of log file Just what exactly is alt+f2 doing?
-6
votes
1answer
306 views

Chmod to change permissions for group [duplicate]

Possible Duplicate: Setting permissions for specific user and groups in Linux I have put some users into a group and would like to know how I use chmod to change the access permissions for ...
1
vote
2answers
3k views

What do the outputs of dpkg -l mean? [duplicate]

Possible Duplicate: What do each of the details in dpkg -l mean? I have never paid attention to the output produced by the command dpkg -l and noticed it includes descriptors which I can't ...
18
votes
1answer
50k views

Why use the command apt-get --purge remove over apt-get purge in Linux?

I have been uninstalling applications as well as removing or purging their configuration files using the command apt-get --purge remove {package_name}. I have come across several posts on the net ...
10
votes
3answers
7k views

Any way to change dark Netbeans IDE theme?

I'm currently (trying) to setup a dev environment in Linux (Ubuntu) and have opted to use Netbeans PHP as my IDE. The main toolbar at the top is too dark to read the menu item text (unless I click to ...
0
votes
1answer
1k views

Select which OS to boot when dual-booting Windows 7 and Ubuntu

I'd like to dual-boot Windows 7 and Ubuntu. If I install Ubuntu on a new partition on the same HDD as my Windows 7 installation (on a seperate partition) how would I could about choosing which OS I'd ...
0
votes
1answer
251 views

Django on production server(ubuntu)

I'm trying to ship web application to the production server. My setup is django-gunicorn-nginx by following this tutorial. I've not installed supervisor yet for checking purpose. There is no problem ...
1
vote
1answer
101 views

I can't download anything from repositories

I want to download a packet from one of the Ubuntu repositories and when I enter apt-get install "thepacket" I get the following error: megajc-reloaded needs to be reinstalled, but no files can be ...
3
votes
1answer
453 views

What is the dpkg equivalent of “rpm -ql --last”?

I need to list all packages on the system, in the chronological order (or reverse order) in which they were installed. With RPM, you can do this with "rpm -qa --last". Looking at the dpkg and dpkg-...
6
votes
4answers
6k views

Test if a package is installed in APT

I want a shell script method to test/report if a package is installed. I don't need details, only boolean return to set logic flow. I looked at Find if a package is installed, but dpkg returns complex ...
0
votes
1answer
2k views

SNMP: not able to query for MAC address

I need to query the MAC address of Ubuntu terminals. I remember that a few years ago I've used the OID .1.3.6.1.2.1.2.2.1.6.2 (IF-MIB::ifPhysAddress.2) to query OpenSUSE terminals. This OID doesn't ...
2
votes
2answers
659 views

Surrounding window frame disappeared after Ubuntu release upgrade

Surrounding window frame disappeared after Ubuntu release upgrade to Ubuntu 12.04 LTS so window maximize, minimize and close icons are not present anymore: Note: Few months ago I switched from ...
1
vote
9answers
9k views

Linux directory full of files with tilde sign(e.g. `example.txt~`), what does it mean and how do I get rid of it?

I have a directory on my linux os(Ubuntu) full of files that start with a tilde sign(e.g. example.txt~, example.py~). When I look at my directury using the regular gui I don't see any files there. But ...
2
votes
2answers
1k views

NIC works at 100Mb, not 1Gb - how to diagnose?

I have a (crappy) home media server with an onboard NVIDIA MCP77 Gigabit LAN chip (under Ubuntu 10.04 Lucid). This is connected to a Virgin Media SuperHub (VMDG480) which contains a gigabit switch via ...
7
votes
1answer
4k views

VirtualBox shared folder write permission - Ubuntu 12.04

I'm using the following command to mount my folder in VirtualBox: sudo \mount -t vboxsf -o rw -o uid=1000 -o gid=1000 Dropbox ~/Dropbox/ However, the folder is read-only. I re-installed Guest ...
0
votes
3answers
11k views

Install Ubuntu 12.04 on an external hard-drive

I want to install Ubuntu on an external hard drive, using these instructions. However, I don't want this installation to ever affect my current Windows installation, so that whenever I plug in that ...
2
votes
1answer
899 views

Mac does not recognize wide screen

I am using Mac OS X Lion 10.7.4 on my Mac mini, with Samsung monitor with default resolution 1360 x 768. My Mac mini is connected to Samsung VGA port by Apple mini port to VGA adapter. When starting,...
1
vote
1answer
6k views

tar error message: “stdin: not in gzip format”

I'm having difficulty with tar on a headless Ubuntu Server 12: ubuntu@domU-12-31-39-02-C0-98:~$ wget -o dropbox.tar.gz "http://www.dropbox.com/download?plat=lnx.x86" ubuntu@domU-12-31-39-02-C0-98:~$ ...
6
votes
4answers
5k views

RAID 1 on 2 external HDDs

I have an Ubuntu 12.04 server on my old laptop. Its HDD (160 GB) is too small for the file storage I need, so I'd like to attach a couple of external HDDs to it (through USB ports). The data I'll keep ...
2
votes
1answer
273 views

Ubuntu Route Audio Through Ladspa Plugin Then Skype/Application

In ubuntu, how would I route my audio input through a ladspa plugin, then into an application? I guess this would be something like making a virtual audio input which was a ladspa host, then set that ...
0
votes
1answer
285 views

Why does rsnapshot not back up /var/lib/mysql/*?

In rsnapshot's config file I added /var/lib/mysql/ as another source directory to back up. But rsnapshot does not back it up. Why? /var/log/rsnapshot does not list a relevant warning. The owner of /...
0
votes
1answer
128 views

multiple ssh windows & keep positions

Is there an app to would allow me to save & restore multiple SSH windows on Ubuntu? I use many ssh session windows and I would like to be able to save the screen position of every one of them &...
1
vote
1answer
1k views

how to make a bootable partition on an external hard drive? or solve my dynamic disk woes

I have a 250 gig external hard drive and I need to make a small partition on it and run Ubuntu live from it to recover files from a corrupt hard drive that Windows can no longer read. I want to make ...
1
vote
1answer
3k views

Install Ubuntu, eth0 not detected?

I have installed Ubuntu laptop Toshiba Satellite L640?, and I had difficulty, that is how to enable network interfaces, eth0 was not detected when running ifconfig.
1
vote
1answer
387 views

Ubuntu Linux freezes after boot up

After a fresh installation of Ubuntu Linux 11.04 under Lenovo G570, when I choose Ubuntu Linux 11.04 in grub menu, Ubuntu freezes in a black screen and even hiting ctrl+alt+f1-f10 didn't make any ...
1
vote
1answer
874 views

Trouble connecting Ubuntu to Cisco VPN

I am trying to connect my Ubuntu PC to a remote VPN. The other users connecting to this VPN are on Macs using the IPSecuritas VPN client. I've tried many VPN clients with no success. Shrew Soft is the ...
1
vote
1answer
926 views

Starting a java application as a service?

How can we start a Java made application as a background process in Linux (Ubuntu). In Windows using a .Net based application we could install it as a service. So what is the professional and secure ...
2
votes
1answer
42 views

Advice on updating a lab computer for new user [closed]

I have had a research lab computer for the past 2 years and now I am graduating. I installed Ubuntu 11 on it, and then started acquiring lots of stuff that I needed, such as GPU related stuff, my ...
6
votes
2answers
2k views

Efficient key bindings using both Mac and Linux

I'm still switching back and forth all the time from linux to mac, and I can't figure out how to stop getting confused in my keystrokes, especially with browsers, and unix apps. Here's the situation: ...
2
votes
1answer
416 views

Ubuntu on Toshiba A200 causes overheating

I'm trying to run Ubuntu on my Toshiba A200 computer and after a few minutes it's getting crashed and the computer restarts. I notice that the computer is overheating. Does someone know this problem ...
0
votes
0answers
684 views

mdadm recognizing array incorrectly how can I recover the data

So I formatted both disks sd[cd], each as a big ext4 partition, and then used mdadm to create a raid0 array sd[cd]1. This worked fine, and I mounted the device and started storing data on it. Prior to ...
3
votes
1answer
3k views

Share Ubuntu internet connection to other devices via Wi-Fi

I'm new to Ubuntu 10.04 and also don't have much experience in networks. I want to share my Internet connection with other devices (Laptop with Windows) via Wi-Fi. All I have is Ubuntu 10.04, eth0 ...
4
votes
4answers
25k views

USB drive unusable and reporting 0 bytes capacity

I had a problem with my USB drive. When i plug it in windows 7, what happens is when I click on USB the message "Please insert a disk into drive X:". The drive properties show: Type: Removable ...