Ubuntu is a free open source operating system based on the Debian GNU/Linux distribution. Consider using http://askubuntu.com/ to ask questions about it.

learn more… | top users | synonyms

0
votes
1answer
3k views

Recover data from corrupted LVM partition with TestDisk?

I had setup 3 disks in a LVM array with each disk holding some data. A few weeks back one of the disks "disappeared" from the LVM array and BIOS. After rebooting, the disk reappeared but does not ...
0
votes
0answers
11 views

How do I create & restore a mysql database dump with Chef?

Environment Ubuntu 12.04 Precise64 Enterprise Chef opscode-cookbooks/mysql opscode-cookbooks/database Wordpress 3.9 Objective I am trying to replicate/clone my production Wordpress server. I'd ...
2
votes
1answer
44 views

sed, insert file before last line

The following inserting file method for sed used to be working, even before last line, but not any more. Is it a bug in the current sed? Demo of inserting file method with sed: mkdir /tmp/test ...
0
votes
3answers
520 views

Can't run command with sudo, even with the full path, I got an error

The command starling is located at /home/keating/.rvm/gems/ruby-1.9.2-p290/bin/starling. Only using rvmsudo starling will work properly. This is the result of me trying to invoke it in various other ...
0
votes
0answers
11 views

calling play framework from command line

I'm running ubuntu 14.04. I unpacked play framework 2.0 and updated PATH variable with my_play2_path but still when I try to type play from command line it calls an audio/video player instead. What ...
3
votes
1answer
212 views

File with illegal character in name

I need to access a file on a network drive, but the file has a : in its name. This makes Windows rather unhappy. I cannot rename the file through any method on Windows, so I tried a Mac computer. It ...
1
vote
1answer
2k views

How do I find the device node file for a USB device in Linux?

I've bought an X10 Home Automation USB interface: the CM15. This is the information lsusb gives: skerit@KIP-DU-SKER:~$ lsusb Bus 008 Device 002: ID 0bc7:0001 X10 Wireless Technology, Inc. ActiveHome ...
0
votes
0answers
137 views

Ubuntu semi-permanently disabled Bluetooth (and freaked me out)

A couple of months ago, I disabled my Bluetooth device from inside Ubuntu 10 (I forget which version specifically). I then rebooted into Windows, only to find that the icon was gone. Curious, I went ...
0
votes
1answer
13 views

init.d control script for virtualbox VM

I have an Ubuntu server on which a Virtualbox virtual machine needs to be running at all times. The VMs are administered by a specific user VMAdmin which has no admin privileges. I need to create a ...
1
vote
1answer
19 views

Why does GPG Encrypt/Decrypt fail between different versions of GnuPG?

I have 2 servers that will be passing data between them, one is Ubuntu and the other is Red Hat. Using the already installed versions on each, Ubuntu is 12.04 with gnuPG 1.4.x and Red Hat is ...
0
votes
2answers
2k views

XDG_RUNTIME_DIR not set in the environment

I open a terminal and use sudo -s -u mysql. Now when i try to open a file, whose owner is mysql using gedit xyz.err, I get the error : No protocol specified ** (gedit:23076): WARNING **: Could not ...
0
votes
1answer
54 views

Unable to mount 2TB NTFS hard drive in Ubuntu 14.04

Can somebody assist me on this one? Error mounting /dev/sdg4 at /media/jote/DATA_4: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sdg4" ...
5
votes
3answers
1k views

How to relocate the Dropbox folder in Ubuntu?

I've two hard drives on my ThinkPad. One for dual boot of Windows 8 and Ubuntu (12.10) (it's separately installed, not with Wubi). I've installed Dropbox on Win 8 and syncs all the folders into hard ...
0
votes
1answer
91 views

Apt-get update error Linux Mint 17

I've just changed my os to Linux Mint 17, but I'm having some trouble when I try to run sudo apt-get update [EDIT] Now I have the following errors: Err http://extra.linuxmint.com qiana InRelease ...
0
votes
2answers
61 views

Docker “hello world” example doesn't work. “no such file or directory”

I'm totally new to playing around with Docker(.io) so I've just been RTFM'ing the main site, and hit a problem early on with their example "Hello world". It seems like a few other folks have had the ...
1
vote
1answer
21 views

Unable to start PHP Server in linux command line

I tried php -s localhost:4444 WebContent/ But my ubuntu terminal gives Usage: php [options] [-f] [--] [args...]
1
vote
1answer
34 views

How to recover previous “current state” from VirtualBox *after* restoring from snapshot

Details: Win 8.1 (host OS) Laptop running Virtual Box. Ubuntu 10.04 Guest machine inside Virtual box. 6 month old snapshot of guest machine and "current state" in use. User was having problems with ...
0
votes
3answers
65 views

Not able to dual boot windows 8.1 and ubuntu

I installed ubuntu in a laptop already installed with windows 8.1. But while booting it does not give an option to boot into ubuntu. So I tried with easy bcd. The boot menu is not showing ubuntu. So I ...
1
vote
1answer
18 views

how to create ubuntu installable iso image from files

this might be a quite silly question but I lack linux knowlege so here it is... I have an ubuntu VPS from which I need to create a development environment under my WMWare. So I wonder if the ...
0
votes
1answer
29 views

What is causing my computer to be slow all of a sudden? New version of Firefox/Ubuntu? Script error? Old computer?

A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. When the above shows up, I click continue ...
1
vote
2answers
40 views

How to properly specify boot extra entries for nixos

Nixos has a configuration option in the manual for specifying extra entries in the grub menu boot.loader.grub. extraEntries but I can't get it to work with the examples in the manual. The idea is to ...
5
votes
1answer
899 views

How to open file with default program from command line?

If I click on a file in a GUI file explorer, a default program is used to open it. This is useful for files which I don't know how to open from the command line. Is there a way to open a file with ...
1
vote
2answers
2k views

Renaming multiple files at once with a pattern on Ubuntu

I have around 300 files named some_name_123456789.zip another-name2_987654321.zip something(1)_123454321.zip [2]something_987656789.zip I need to rename them all to ds_123456789.zip ...
4
votes
4answers
13k views

Setup static IP under Ubuntu 14.04 Trusty

How to setup static IP address under Ubuntu 14.04 Trusty? My setting is not working. What special about Ubuntu 14.04 Trusty is that I found it now using the "source-directory" keyword to source ...
0
votes
1answer
306 views

merge/join/concatenate hundreds of ts files into one ts file

Downloading a video stream with curl, I ended up with ~400 *.ts files, each about 1MB in size. They are sequentially numbered video1.ts, video2.ts, ...video400.ts. I now need to concatenate them into ...
0
votes
1answer
266 views

Disable device node using udev (/dev/sr0)

I am trying to disable udev from generating /dev/sr0 device (my cdrom) and Im trying to write udev rules. I added a file 10-cd-trial.rules in /etc/udev/rules.d and /lib/udev/rules.d, the contents ...
7
votes
4answers
6k views

scanning only works under “sudo” (Ubuntu)

When I try to scan, using simple-scan, the UI says Failed to scan -- Unable to connect to scanner. When I run it from the command line I get: joel@home:/usr/bin$ simple-scan -d ** ...
2
votes
3answers
3k views

Sharing internet connection from host to virtualized Ubuntu with Virtual Box

I have Ubuntu 11.10 in Virtual Box installed on Windows Vista. I am having a Broadband(PPPoE) internet connection. I would like to use my internet connection inside Virtual Box in Ubuntu. I tried with ...
1
vote
1answer
29 views

How to dual boot Windows 8.1 and Ubuntu 13.04 with Windows Metro Boot Loader

I'm having a laptop with 4 Partitions, [1] 350 MB Windows System Reserverd [2] 40 GB for Windows Installation [3] 25 GB for Ubuntu Installation [4] 400 GB for Data Storage I have installed Windows ...
5
votes
2answers
8k views

Access Windows Registry from Ubuntu

Is there any way I can access registry of my Windows 7 installation from Ubuntu. I believe that Registry Editor is a GUI to edit various configuration settings which are stored and distributed among ...
0
votes
0answers
12 views

Why does my cursor disappear in Ubuntu Linux, but appear again when closing it for a minute?

I have a problem with my mouse in ubuntu. The cursor disappears sometimes and I can't do anything but close my laptop for a minute, after which the cursor will appear again! What should I do with ...
10
votes
2answers
667 views

How to cut a file to a given size under Linux?

I want to shrink a file's size by brute-force, that is, I don't care about the rest, I just want to cut the file, say by half, and discard the rest. The first thing that comes to mind is Perl's ...
1
vote
1answer
20 views

Hook into “command not found” handler in Ubuntu

I want to hook into the handler for command not found wim@SDFA100461C:~$ thing No command 'thing' found, did you mean: Command 'tping' from package 'lam-runtime' (universe) Command 'thin' from ...
0
votes
1answer
39 views

screen capture full webpage rendered with firefox or chrome

i'm trying to think of a solution that will let me take full page screen shot of a website via a bash script. so far i have tried gnome-web-photo but it doesn't render the webpages correctly. next i ...
0
votes
0answers
18 views

Ubuntu doesn't boot after fsck on /

I had this problem with Ubuntu when it boots: http://askubuntu.com/questions/392720/the-disk-drive-for-tmp-is-not-ready-yet-s-to-skip-mount-or-m-for-manual-recove The problem appeared from nothing, ...
2
votes
1answer
2k views

Find the IPsec ID and Secret id for my vpn connection

Hi i'm using ubuntu and new to cisco vpn anyconnect client. I have installed it successfully and establish the connection by giving the user name and password. But it is showing the timeout error. So ...
2
votes
2answers
5k views

How to install TortoiseHG on Ubuntu

I just downloaded and installed the latest Ubuntu and it doesn't look like I'm used to. I don't see any Mercurial developer tools in the Ubuntu Software Center. I got on ...
1
vote
1answer
21 views

Run sed as a one-off ssh command

I would like to substitute a string with another in a file on a server of mine. I've tried doing this: ssh $REMOTE_HOST sed 's|export ${KEY}=${VAL}|export ${KEY}=${NEW_VAL}|' "$ENV_FILE" And a ...
1
vote
4answers
3k views

Unable to log into Ubuntu

I have Ubuntu 12.04.1. Last time I did nothing especial, but suddenly some problem appear: I have a login screen (using lightdm), when I attempt a login, I get a console session and returned to the ...
0
votes
0answers
6 views

Running supreme commander forged alliance in dual monitor mode

I have ubuntu 14.04 64bit with wine 1.7 I installed FA via steam on wine and FAF as well. both run decently although, FA does not detect my second monitor. is this something wine is incapable of ...
0
votes
0answers
20 views

Can't write files using new user on Linux Ubuntu via SSH

So I just added a user to my server, let's call it "user2", when I tried uploading a file via Filezilla while logged in to "user2" I got the error open for write: permission denied, so I assume ...
0
votes
2answers
34 views

Accessing or sharing files over dual operating system using a single partition

Ubuntu supports ext4 file system. While windows support NTFS and FAT32. Now my problem is I have songs folder which is full of songs. I have unallocated space left too (if more partitions are ...
0
votes
1answer
539 views

How to install freeBSD on a separate partition?

I have Ubuntu and Windows 7 installed and have a free 63GB partition. I'm trying to install freeBSD on it. I get a "Add partition" prompt when installing which requests Type Size Mountpoint I ...
1
vote
3answers
17 views

SSHing into a Ubuntu VM instance

I have an Ubuntu VM instance running on my laptop. Both Host and VM run the same OS - Ubuntu 12.04. I tried to ssh from host like ssh username@<VM-IP> It tries for some time and then says ...
0
votes
0answers
15 views

Google Chrome crash the whole system on Xubuntu 14.04

I have been using Google Chrome with Hardware acceleration with no problem and very good results on my Xubuntu 14.04 Dell Latitude E6440 with Radeon GPU. Lately, (probably due to some "System Update" ...
2
votes
0answers
25 views

Sublime Text 2 remapping keys

I'm using sublime as my main text editor and I am remapping my arrow keys from the arrows to alt+i, alt+j, alt+k, and alt+l. I have noticed that on Ubuntu 14.04 after I remap my keys that when I ...
1
vote
1answer
19 views

Where I can find a repository for an old version of Ubuntu [duplicate]

I am using raring and just noticed that I can't install packages any more (404). I checked a couple repositories and raring is not there. Turns out it's been EOL'd, at barely 10 months old, it seems a ...
2
votes
0answers
23 views

Unlocated Space cant be used for other partitions

So some weeks ago I installed the latest Ubuntu Os version in my pc, I gave it like 12g and then 4gig for the hybernation temp storage. Yesterday I realized that I wasn't going to use it anymore so I ...
2
votes
2answers
3k views

Viewing a large-resolution VNC server through a small-resolution viewer in Ubuntu

I have two Ubuntu computers, one with a large screen resolution (1920x1600) that is running the default Ubuntu VNC server. I have another computer that has a resolution of about 1200x1024 that I use ...
0
votes
1answer
2k views

Gnome and Cinnamon loads in fallback mode only

So I have been using linux mint for a while now. A few months ago my Gnome shell crashed and I was unable to use the full 3d features and loaded into fallback mode only. From that day (around 2 months ...