Greatest Hits

4
votes
3answers
46k views

Unable to boot from a USB drive on Samsung Series 9 notebook

Related Ubuntu 12.04 won't boot on Samsung Series 9 NP900X3A (ssd hard-drive) I'm trying to get rid of Windows but I can't boot from USB because the USB slots on the right (USB 3.0) on ...
66
9
votes
3answers
37k views

How do I install filezilla?

I'm using 13.04 I go to ubuntu software center and find filezilla but there is no button to install. I try to find it in ubuntu start button at application or ubuntu dash how its called and click ...
15
votes
4answers
65k views

What's the easiest way to mount Windows share as a local folder in home directory?

Via Gnome Nautilus I can easily mount Samba shares from my Ubuntu Server. However, these "mounts" are kinda of fake. Many applications I run do not recognize that Gnome has mounted these server ...
13
votes
2answers
12k views

Eclipse (ADT) crash Failed to write core dump. Core dumps have been disabled

i found my problem here: how to fix “Failed to write core dump. Core dumps have been disabled” error while running java and here: Eclipse crashing on startup and here: Eclipse continue crash Nothing ...
29
votes
6answers
67k views

Bash remove first and last characters from a string

I have a string like that: |abcdefg| And i want to get a new string called in someway (like string2) with the original string without the two | at the start and at the end of it so that i will ...
23
votes
6answers
28k views

How to re-enable tray icons for applications in Ubuntu 13.10?

Unfortunately in Ubuntu 13.10 there is no tray icon and whitelisting is removed. The older solutions do not work for me, e.g. I get the message: No such schema 'com.canonical.Unity.Panel' when I try ...
8
votes
3answers
33k views

E: Unable to correct problems, you have held broken packages

I am using Ubuntu 13.04 which I installed few days back. I am trying to install nodejs and npm. I tried to install from command line first and then uninstalled it. Then something broke. sudo apt-get ...
18
votes
1answer
21k views

java plugin in Chromium

Icedtea-7-plugin installed but it does not appears in the list in about:plugins in Chromium. Not able to execute java applets. Tried installing Icedtea-7-plugin but in vain. Using openjdk7 in 14.04
19
votes
6answers
75k views

How do I set up xrdp session that reuses an existing session?

I have been trying to set up a RDP terminal server on precise using xrdp and have been having significant trouble getting a working configuration. When a user logs on, I need it to connect to that ...
6
votes
4answers
44k views

'Some index files failed to download' while updating

When running sudo apt-get update I get these following errors: Err archive.ubuntu.com quantal InRelease Err archive.ubuntu.com quantal-updates InRelease Err archive.ubuntu.com quantal-backports ...
33
votes
5answers
56k views

How to search for strings inside files in a folder?

Is there any utility to make searches for a string inside ASCII files to avoid command line searches? How to make a command line search, for example for the string "test" inside all files in the ...
23
votes
8answers
67k views

How do I get permissions to edit system configuration files?

I can't seem to edit and save config files in the root system (eg: /etc/dhcp/dhcpd.config); it just says "permission denied" or the save option is blocked in the text editor. I'm pretty sure I'm a ...
62
votes
4answers
49k views

How can I get octal file permissions from command line?

There is a chmod command to set file permissions, but can I get file permissions in octal mode (such as 755) from the command line?
21
votes
2answers
71k views

Proper fstab entry to mount a samba share on boot?

I am a little confused on the proper fstab entry for a samba share in Ubuntu 12.04 I can get the drive to mount manually by using: sudo mount -t cifs //192.168.2.2/raid_drive /mnt/homeserver -o ...
0
votes
2answers
33k views

E: Some index files failed to download. They have been ignored, or old ones used instead after apt-get update

My /etc/apt/sources.list contained: nazar_art@nazar-desctop:/etc/apt$ cat source.list deb http://security.ubuntu.com/ubuntu precise-security main universe nazar_art@nazar-desctop:/etc/apt$ cat ...
9
votes
3answers
52k views

How to set up remote desktop sharing through SSH?

Is there a way to view (and control) a remote desktop through SSH? I will not have physical access to the remote host machine.
12
votes
1answer
52k views

How to get a VPN for ubuntu?

I saw a thing called VPN connections under the Internet button at the top of my screen. So I would like more info on this, and possibly instructions on how to set one up. Thanks!
67
32
votes
3answers
83k views

Where are the Apache and PHP log files?

I've installed Apache, PHP, and MySQL on Ubuntu 10.10 desktop edition, and it's working fine. Except I have no clue where to look for Apache or PHP log files.
6
votes
1answer
62k views

Moving folder and subfolder to another path

I need to mve my folder with many subfloder contents to another path. I'm using putty and this is what i tried MV -r fromflderpath tofolderpath Where am i doing wrong ?
13
votes
3answers
71k views

Why is /lib/libc.so.6 missing?

find | grep libc.so.6 reveals that it's in /lib/i386-linux-gnu/libc.so.6, but a script I was running expected it to be directly under /lib, so why isn't there at least a symlink? Would I risk ...
3
votes
4answers
41k views

Can I play Windows (Steam) games on Ubuntu?

I am downloading Ubuntu and I really want to play Windows games from Steam but I don't want it to replace my OS.
44
-2
votes
4answers
25k views

How do I read a variable from a file?

I want to insert in my script a value (string) that I would read from a text file. For example, instead of: echo "Enter your name" read name I want to read a string from another text file so the ...
7
votes
2answers
50k views

How to install the Boot-Repair tool in an Ubuntu live disc?

When the bootloader (GRUB) is broken, I cannot access neither Ubuntu nor Windows. I heard that an easy solution to fix this is to use the Boot-Repair tool from an Ubuntu liveCD (or liveUSB). What ...
13
votes
3answers
17k views

“Open In Terminal” action in Nautilus in Ubuntu 14.04?

I've gotten used to the "Open In Terminal" option when right clicking in Nautilus. I used it a lot in 12.04, but it seems to have disappeared in 14.04. $ sudo apt-get update [...] $ sudo apt-get ...
9
votes
3answers
24k views

How do I install the Tor Browser Bundle in Ubuntu?

In Ubuntu 13.04 I used the following PPA to install the 64-bit Tor Browser Bundle. However, in Ubuntu 13.10 it doesn't work anymore. sudo add-apt-repository ppa:upubuntu-com/tor64 sudo apt-get update ...
47
votes
5answers
69k views

Getting MTP enabled devices to work with Ubuntu?

Since Ubuntu 13.04 storage access to external devices via MTP is supposed to work out of the box via a GVFS-MTP module. While this question is about the Galaxy Nexus, other Android devices as ...
58
24
votes
3answers
54k views

How to set JAVA_HOME for OpenJDK?

How can we set JAVA_HOME environment variable for OpenJDK?
57
13
votes
6answers
30k views

Not able to execute a .sh file: /bin/bash^M: bad interpreter

I wanted to execute a shell script: -rwxr-x--x 1 root root 17234 Jun 6 18:31 create_mgw_3shelf_6xIPNI1P.sh I tried to do a standard procedure, but I am got this error: ...
2
votes
3answers
43k views

apt.conf “Acquire::http:Proxy ”proxyserver:port" seems not to be used (Ubuntu 13.04 under Virtual Box on Win7)

This is for an installation of Ubuntu 13.04 Desktop in a VirtualBox VM. I'm on a corprate network with an HTTP proxy at x.y.z.251:9090. I've configured the guest OS with the autoconfiguration script, ...
7
votes
3answers
42k views

How do I save files edited with vim?

I can't save changes after editing sudo vi /etc/network/interfaces Text before editing: auto lo iface lo inet ... Edited to: auto eth0 iface eth0 inet dhcp What key combination or sequence ...
58
9
votes
7answers
34k views

No sound in Ubuntu 13.04, only Dummy output device listed

My sounds suddenly stopped playing on Ubuntu 13.04 64bit. I can only see Dummy output device in the Sound Settings and no sound is played during testing. I can get the sound temporarily working by ...
8
votes
3answers
39k views

how can I change the date and time on ubuntu 12.04

when I go to change the date and time it doesn't work, and I try to unlock but it just won't unlock, if there is any way to make it work please help. I know it isn't very descriptive but I really ...
27
64
votes
4answers
52k views

What is Ubuntu Touch (Ubuntu for Phones)

Following up on Canonical's announcement, what is Ubuntu for phones, where can I download a copy of the OS to run on my phone? And how do I know if it's compatible with my phone?
41
votes
4answers
19k views

How can I empty the trash using terminal?

I am not able to search trash anywhere. Can you please tell me a command or anything like that to empty the trash using terminal ?
10
votes
2answers
25k views

ntpdate: no server suitable for synchronization found

My clock is off, so I would like to synchronize it using ntpdate. I tried several different NTP servers, but for some reason I always get the following error message: $ sudo ntpdate ntp.ubuntu.com 4 ...
21
19
votes
1answer
43k views

How can I install Qt 5.x on 12.04 LTS?

If you want to develop with QML 2.0 and Qt5, the base packages don't seem to exist in repository for 12.04. What PPA should I add? Is it a binary installer? a compile the toolkit yourself? Those ...
34
votes
2answers
54k views

How to force Wine into acting like 32-bit Windows on 64-bit Ubuntu?

When installing Wine on 64-bit Ubuntu 12.04, both 64-bit support and 32-bit support get installed. If I run wine foo.exe where foo.exe is a 64-bit-aware installer, it thinks it's on 64-bit Windows. ...
33
votes
3answers
50k views

“(CRON) info (No MTA installed, discarding output)” error in the syslog

I have a fresh install of Ubuntu 12.04.1 LTS an a number of servers. I have not added any cron jobs or edited my crontab on those servers, however, at around the same time for each machine, I get a ...
51
20
votes
5answers
84k views

Create a new SSH user on Ubuntu Server

Just created a new virtual Ubuntu server and I'm in the process of hardening it for production use. I currently have a root account. I want to do the following: Create a new user (let's call them ...
14
votes
5answers
22k views

Anyone has successfully installed CUDA 5.5 on Ubuntu 13.10 64-bit?

I tried to install CUDA 5.5 through deb routine, following the steps in Nvidia website, using the deb file for ubuntu 12.10 (the latest version I could found on Nv website), the installer fail to ...
4
votes
5answers
18k views

How do I eliminate screen tearing on 14.04 and XBMC with NVidia-331?

I have updated my 12.04 HTPC to 14.04 (new install; same hardware), and have started getting awful screen tearing where I had none before. /proc/cpuinfo AMD A4-3300 APU with Radeon(tm) HD Graphics ...
4
votes
2answers
94k views

How to map a network drive?

I am unable to map a Windows network drive in Ubuntu. I have entered the following command in the terminal: karthick@karthick:~$ sudo mount -t cifs -o username=raghu //172.29.32.184 /media/Data/ ...
21
votes
2answers
18k views

Where to place my local website starting with the 2.4.7 version of apache2?

I recently installed Ubuntu 14.04, then I installed lamp-server and placed my webpages in /var/www directory, but when I opened localhost in the browser there was nothing. I think that happened ...
4
votes
1answer
20k views

Cannot connect to wireless in Lubuntu 14.04

I have tried all afternoon to fix this, but now I give up. I am trying to set up an old XP PC with Lubuntu 14.04. It works perfectly fine, except for the wireless connection. Connecting with ethernet ...
56
votes
1answer
61k views

How do I run specific sudo commands without a password?

On one particular machine I often need to run sudo commands every now n then. I am fine with entering password on sudo in most of the cases. However there are three sudo commands I want to run ...
9
votes
1answer
64k views

How do I display the whole desktop in Virtual Box fullscreen mode?

I am running Ubuntu 12.04 in VirtualBox 4.2.6 on a Windows 7 host. After installing Ubuntu I wanted to get the VB interface in fullscreen. I therefore installed guest additions from Virtual Box ...
2
votes
3answers
54k views

Installing Ubuntu from usb pendrive on hard disk

I have downloaded Ubuntu 12.04 desktop iso. I wish to install this on my laptop and replace the existing windows xp (SP3) with ubuntu. Unfortunately I do not have a working CDROM drive on my laptop. ...
5
votes
4answers
50k views

SSH Permission denied (publickey)

I have tried searching previous questions for answers to my question but all of the answers that have been suggested previously haven't worked for me. I am trying to connect to a linode (running ...
3
votes
4answers
34k views

how to correctly install apache2, php5, mysql and phpmyadmin

What is the most correct method of installing apache 2 server, php5, mysql and phpMyAdmin? I installed it this week, and I had a lot problems without solutions, so now that I reinstalled Ubuntu 13.04 ...
15
votes
10answers
52k views

Can I install Microsoft Office? If so, how?

I want to know how to install Microsoft Office (specifically, Microsoft Office 2010) in Ubuntu? I am a die hard fan of MS Office and I want to know if there is a way I can use it in Ubuntu.