Greatest Hits

1
vote
6answers
57k views

how to reduce size of an image from 130 kb to between 20kb - 50 kb

As per a requirement mentioned here the size of photos submitted should be between 20kb-50kb. I have my scanned photos which have been cropped but the sizes are still ~139 kb. If I reduce the pixels ...
13
votes
5answers
45k views

How to uninstall OpenJDK?

I don't want OpenJDK installed on my Ubuntu 13.04 system, but trying to uninstall the openjdk-7-jre yields the following message: $ sudo apt-get purge openjdk-7-jre Reading package lists... Done ...
26
votes
1answer
28k views

How do I re-run boot loader?

Running sudo apt-get -f install said that The link /vmlinuz.old is a damaged link and: you may need to re-run your boot loader[grub] Here's the full output: user@chrubuntu:~$ sudo apt-get -f ...
8
votes
5answers
37k views

Why Apache virtual hosts on Ubuntu 14.04 is not working?

I installed Apache 2.4 on Ubuntu 14.04 and it was working fine by http://localhost/ address. But when I tried to add a new virtual host, for example http://bow.loc and restart apache, new address was ...
11
votes
2answers
68k views

How much memory (RAM) should I allocate to the Virtual Machine?

I'm installing Ubuntu in a Virtual Box; my host OS is Windows 7, and I have 6GB of RAM on my system. One tutorial on setting up Ubuntu on a virtual machine (this one, on step 14: ...
35
votes
3answers
67k views

mv: Directory not empty

I want to move content of a directory within another directory with the same folders. Here's an example: I have ./backup wich have the directories base and test. Now I want to move these directories ...
13
votes
8answers
114k views

How to boot Ubuntu from EFI/UEFI?

I installed Ubuntu 11.10 on a newly bought Lenovo ThinkCentre Edge 71 (model: 1577-G3G) with EFI boot enabled. I opted for the Use Entire Disk option. Even though the installation process went without ...
2
votes
2answers
74k views

how to fix the hard-drive Bad Sector

I tried to fix my hard drive using Ubuntu but I found that message and didn't know what to do with.... I need to fix my bad sectors fsck /dev/sdb fsck from util-linux 2.20.1 e2fsck 1.42.5 ...
19
votes
7answers
64k views

Grub does not show a Windows 8 option after dual boot

So, I've successfully dual-booted my Windows 8 machine with Ubuntu 12.04 . However, I still don't have a convenient method of choosing what OS to load at boot time. After installing Ubuntu, my ...
21
votes
1answer
47k views

Why LibreOffice is default instead of OpenOffice.org

I have read before some articles about OpenOffice.org (OOO). They were saying that because of the status of OOO before it is maintained by Apache, the distros avoided distributing OOO along with the ...
25
votes
7answers
83k views

“SIOCSIFFLAGS: Operation not possible due to RF-kill”?

I am getting this error as a part of this problem here but since this problem is totally different issue I think it is better to consider this issue separately. My wlan0 is down. When I try to turn it ...
8
votes
5answers
71k 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 ...
7
votes
1answer
45k views

Graphical GRUB editor for Ubuntu 13.10

I wanted to ask what graphical GRUB editors are there for the latest Ubuntu release (13.10)? And how do I install one? I searched through the Ubuntu Software Center but I can't find anything there. ...
57
14
votes
2answers
43k views

Is this a correct way to enable htaccess in Apache 2.4.7 on Ubuntu 12.04

In almost every solution of "How to activate htaccess", they say that the /etc/apache2/sites-available/default file needs to be edited. But there isn't such file in Apache 2.4.7 I read somewhere ...
16
votes
6answers
78k views

How to make hdd's mount at startup in ubuntu 12.04

How do you make HDDs and partitions mount at startup with the ubuntu system? I always keep my media and data files on separate partitions - one 2tb HDD and a 400 odd gig partition. I have been ...
3
votes
2answers
59k views

Copying file from folder 1 to folder 2 in terminal

I am trying to move a text file from folder 1 to folder 2 via terminal. I'm doing this for a school project to show what actually happens when you copy paste. I'm doing cp/home/rits/desktop/folder1 ...
44
votes
3answers
64k views

Can a Raspberry Pi run Ubuntu?

I was thinking about buying a Raspberry Pi, and running Ubuntu on it. I have looked around the web, and a lot of stuff says that it's difficult for it to work on ARM processors. Has anyone figured out ...
3
votes
2answers
22k views

Youtube causing black screen in chrome?

The issue started when I updated google chrome to the latest version; I'm not positive, but I think I went from version 31 to 38. When I go to youtube and click to play a video, the screen goes black ...
7
votes
3answers
32k views

Change default system font using terminal only in 14.04

The following question answers how to Adjust fonts using tweak tool but the luddite in me would like to know how to do this without installing unity-tweak-tool. How can I adjust the default system ...
45
votes
1answer
62k views

Dual boot Surface Pro with Ubuntu?

How could I setup a dual boot for Ubuntu and Windows 8 on my Microsoft Surface Pro with 128 GB. Note: My dual boot solution is below.
31
votes
2answers
59k views

How do I recover my accidentally lost Windows partitions after installing Ubuntu?

I have a Toshiba satellite A-200 laptop with a Vista OS on it with 4 NTFS partitions (C:) Vista (D:) Entertainment (E:) Work (F:) Sources and I wanted to start using Ubuntu instead. So I tried ...
9
votes
6answers
68k views

Every command fails with “command not found” after changing .bash_profile?

I was updating my .bash_profile, and unfortunetly I made a few updates and now I am getting: env: bash: No such file or directory env: bash: No such file or directory env: bash: No such file or ...
2
votes
6answers
52k views

Install Ubuntu in UEFI mode (unable to boot from USB)

I recently bought a Dell Inspiron 15R SE with Windows 8 (64 bit) pre-installed (UEFI supported). I want to install Ubuntu in dual boot with Windows 8. I tried to follow all these instruction and these ...
26
votes
2answers
59k 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 ...
0
votes
1answer
32k views

error: no such partition Entering rescue mode… grub rescue>

I am using Windows 8.1 and Ubuntu 13.10 as in dual boot. I have changed my disk size using disk management in Windows 8.1-- specifically I have clubbed another partition into local disc C in Windows. ...
101
votes
1answer
103k views

What are the meta, super, and hyper keys?

In System -> Preferences -> Keyboard -> Layout -> Options ->Alt/Win key behavior What do meta, super, hyper mean?
13
votes
3answers
54k views

How to configure Apache to run PHP as FastCGI on Ubuntu 12.04 via terminal?

I'm relatively new to the world of unix command line web server management/administration. Many hosts with control panel administration options allow you to change how PHP is run with a simple ...
26
votes
3answers
37k views

403 error after upgrading to apache2.4

After upgrading from Ubuntu 13.04 server, the www pages won't display themselves. Error 403 Forbidden You don't have permission to access / on this server. I've changed access control saves from ...
71
5
votes
1answer
39k views

Assigning a static IP to Ubuntu Server 14.04 LTS

I've installed Ubuntu 14.04 LTS Server in my machine on a separate hard drive while having my Windows 7 installation. The Windows OS has its full network connectivity and internet access through the ...
5
votes
2answers
83k views

How do you run update-grub?

I went into Live CD and activated Terminal. Then, I typed gksu nautilus to gain temporary access to my root directory. Once the Manager window opened, I clicked on File System and navigated to the ...
15
43
votes
5answers
106k views

Installing Ubuntu on a SSD

Going to install Ubuntu 10.10 on new intel x25M 80GB SSD. It will be fresh install. I have been googling for past few days and getting overwhelming articles/blogs/Q&As. One particularly very ...
5
votes
2answers
108k 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/ ...
3
votes
2answers
34k views

How do I install utorrent on ubuntu 14.04 other instructions seem specific to older versions of the os

I have tried following some of the step by step instructions given but I think some of eh codes and instructions that need to be entered into the terminal window may be specifically for older versions ...
6
votes
4answers
48k 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 ...
6
votes
4answers
41k views

How can I install libpcap header files on Ubuntu 12.04?

How can I install libpcap header files on Ubuntu 12.04? When I use apt-get install libpcap I receive following message: Reading package lists... Done Building dependency tree Reading state ...
17
votes
6answers
65k views

How to determine if a string is a substring of another in bash?

I want to see if a string is inside a portion of another string. e.g.: 'ab' in 'abc' -> true 'ab' in 'bcd' -> false How can I do this in a conditional of a bash script?
14
votes
7answers
45k views

How to start Virtual box machines automatically when booting?

I have many Virtual box machines in my Ubuntu12.04, each time i shutdown or reboot i have to start them one by one. I wanna a help in writing script for automatically autostart the VBox machines ...
14
votes
1answer
52k views

how to change the background color of terminal in Ubuntu 12.10?

How to change the dark purple color of terminal in Ubuntu 12.10. And can we place any image or photo instead of that purple color.
10
votes
3answers
39k views

How to set the JDK for Android Studio?

I can't compile a default new project for Android 2.1 because(?) the JDK used by Android Studio is JDK 1.7 but it should be JDK 1.6. To change it I go to File -> Project Structure and try to find the ...
8
votes
2answers
32k views

How do I enable wobbly windows?

Just a short question, I made a clean install of Ubuntu 14.04 yesterday and I have installed CompizConfig Settings Manager and ubuntu-restricted-extras, but I am still unable to enable wobbly windows. ...
50
58
votes
6answers
94k views

How to split larger files into smaller parts?

I have a large file (8GB for Example). How can I split it into multiple parts, let's say 3 equal parts, and after that how do I integrate them later?
39
votes
8answers
31k views

How to turn off baloo in KDE 4.13?

I have Kubuntu 14.04 and just installed the newest updates. Looking at the process list I see baloo indexer running. I could not find a checkbox in Baloo settings to turn off the indexing.
59
20
votes
3answers
65k views

How to configure ADB access for Android devices?

I'm using Ubuntu 12.10 and I have installed Android SDK, set it's path in my user .bashrc and it works. The problem is that my phone requires adb to be ran by root for permissions, but running adb ...
42
votes
7answers
34k views

Repeat a command every x interval of time in terminal?

How can I repeat a command every interval of time , so that it will allow me to run commands for checking or monitoring directories ? There is no need for a script, i need just a simple command ...
9
votes
3answers
79k views

How do I change directories in the terminal, and know which directory I'm in?

I am following the directions @ Ubuntu community Help; however, I am still confused about a few things. I researched it & found this post: using the terminal to change directory, but it's above me ...
40
votes
4answers
94k views

How do I configure a joystick or gamepad?

I recently received a Logitech Rumblepad 2 (a joystick, like a PS2 controller) from a friend. How would I configure this in Ubuntu? If possible, I would prefer to use a GUI utility. I tried ...
30
votes
3answers
73k views

In SSH, how do I mv to my local system?

Probably bad searching/not knowing the terminology, but: I've managed to ssh into my webhost's directory for me, and tar the webapp I want to back up and download. But when I try to mv to ...
59
4
votes
3answers
54k views

Ubuntu won't boot from a USB on my Windows 8 laptop

Yesterday I set up Ubuntu on a 32GB Sandisk flash drive. I booted it up on my Windows 7 PC, and it works flawlessly. I haven't had any problems getting it to boot with USB priority on that machine, ...
25
votes
4answers
38k views

What is the meaning of 'i686' in Ubuntu?

To check whether I am using 32bit or 64bit Ubuntu. I looked in How do I check if I have a 32-bit or a 64-bit OS? and found this answer uname -a. If it is shown as i386, it will be 32bit and amd64, it ...
35
11
votes
3answers
57k views

Using scp to copy files from remote to home machine

This is probably a simple error, but I can't work it out. My computer hostname is Felix (hostname -f returns Felix) I am trying to move a file from my university account to my home computer using scp. ...