Greatest Hits

30
votes
4answers
111k 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 ...
10
votes
3answers
134k 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 ...
23
votes
3answers
99k 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 option....
33
votes
2answers
126k 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 ...
15
votes
3answers
90k views

Upgrade OpenSSL on Ubuntu 12.04

I wanted to upgrade OpenSSL to 1.0.1 on an Ubuntu 12.04 system. I have noticed that an apt-get upgrade openssl does not end up upgrading OpenSSL. Is the newer OpenSSL supported on Ubuntu? I have also ...
7
votes
5answers
41k views

No audio after updating to 15.04

Missing sound after updating form 14.10 to 15.04, installing "Ubuntu restricted extras" doesn’t help. Is there a way fix this or easy way to rollback to 14.10?
23
votes
4answers
125k views

How to set static routes in Ubuntu Server?

I have used Ubuntu since Ubuntu 8.10; today I'm working with Ubuntu 12.04 Server. I am having difficulty keeping static routes on booting. I would usually put the route commands /sbin/route add -...
46
votes
3answers
82k views

How to exclude multiple directories with rsync?

I am trying to backup my home directory using rsync, and I want to exclude some of the directories that contain junk. I want to specifically exclude /home/ben/.ccache and /home/ben/build. ...
6
votes
11answers
28k views

Can't get Intel HD Graphics 530 (Skylake i7 6700) to work

I've updated the kernel to 4.3.0, but the driver still seems to be off. What else can I try? starfall@nx ~ $ IBGL_DEBUG=verbose glxinfo name of display: :0 i965_dri.so does not support the 0x1912 PCI ...
39
votes
7answers
65k views

How to update maven 3.0.4 - 3.1.1

First of all am new to Ubuntu as well as Maven. Does anyone know how to update maven. My current version of maven is 3.0.4. I would like to update it to 3.1.1 which is the latest version. I tried ...
5
votes
3answers
49k views

How can I fix E: Sub-process /usr/bin/dpkg returned an error code (2)?

I received this error after trying to download the icedtea plugin. After trying sudo apt-get upgrade I got the same exact error: Preconfiguring packages ... dpkg: unrecoverable fatal error, ...
17
votes
11answers
119k views

Access files on Samsung Galaxy S3 external sd card?

I have a Samsung Galaxy s3 running the stock Samsung ROM and I'm trying to transfer files - videos, photos, music and downloads, from my handset to my system via USB running Ubuntu 12.04. I have ...
81
39
votes
8answers
143k views

How to change the LightDM theme/greeter?

I downloaded a couple greeters for LightDM, but I have not figured out how to enable them. Is there a way to switch greeter, either by graphical or command-line method?. I do not intend to change ...
78
20
votes
2answers
77k views

Installing Eclipse Kepler

I need some help to set up the Eclipse Kepler 4.3 on Xubuntu, I whould like to do it by the command terminal. Which are the right commands?
23
votes
2answers
123k views

Script doesn't run via crontab but works fine standalone

I have a script that reminds me to restart my computer if uptime is more than, say 3 days (although its set to 0 days now just to check if the script is running as my computer has been up only over a ...
85
97
votes
7answers
113k views

Simple image editor?

I want something similar to "preview" in macs. For example: I want an image editor that ONLY does simple adjustments like increase/decrease contrast, saturation, exposure, color tinting.... rotate, ...
43
votes
9answers
104k views

How can I use a .ovpn file with Network Manager?

I have a .ovpn file with my VPN config - it works fine when I do sudo openvpn --config ~jrg/Documents/vpn-config.ovpn in the terminal, but I'd like to use Network Manager. How can I do this?
23
votes
2answers
60k views

Why don't I have a password for “su”? Problems with “sudo”

I have installed Ubuntu using the GUI, giving myself a password and everything. I do not intricately remember the process. However, what worries me is that I don't know the following password: $ su ...
92
19
votes
7answers
107k views

What command should I type to run Chrome from the terminal?

I have remote box accessed by VNC and jwm desktop. No menus, not desktop icons, only a terminal window. I have downloaded Chrome's .deb package and installed it. Now how can I run it from the ...
47
votes
1answer
40k views

Unknown Additional Driver: Processor microcode firmware for Intel CPUs for intel-microcode

After upgrading to 15.04, I have one additional driver (it did not appear in 14.10). What is the purpose of this driver and should I enable it?
10
votes
1answer
27k views

Dual Boot Mac El Captain along with Ubuntu 14.04

Due to lots of old stuff in the archive, I am little bit confused. How do I install Ubuntu 14.04 to my IMac with MacOS El Captain. Is it necessary to use Refit? What about direct installing from an ...
12
votes
4answers
30k views

Is there any Ubuntu 14.04 theme to make it look like Windows 10?

I used windows 10 in virtual box for a few days and i fell in love with its beauty. Is there a ubuntu theme to make it look like windows 10?
15
votes
8answers
97k views

500 OOPS: vsftpd: refusing to run with writable root inside chroot() Keep user jailed

Before you close this out to repetition, I have been researching all of the proposed solutions to this bug and so far I have been unable to keep a FTP user jailed to their website directory. While I ...
19
votes
4answers
125k views

Any way to manually make a bootable USB from ISO?

I've been using Unetbootin but it occasionally fails to create a bootable usb the way I need it to, especially with the newer versions. Is there a way I could extract the iso myself?
29
votes
4answers
79k views

How to view the `.bash_history` file via command line?

I want to view the contents of my .bash_history file but don't know how to get there via the command line.
60
votes
6answers
125k 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 ...
87
10
votes
1answer
96k views

configure: error: C compiler cannot create executables

I was trying to install rvm using \curl -L https://get.rvm.io | bash -s stable --ruby --autolibs=enable --auto-dotfiles. It worked fine until I got a configure error: Error running './configure --...
60
votes
1answer
149k views

Command to append line to a text file without opening an editor

Assuming i have a line that i want to add to a file without opening an editor. How could i append this line alias list='ls -cl --group-directories-first' to this file config.fish
7
votes
3answers
110k 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, ...
22
votes
7answers
116k views

Get rid of 0.5s latency when playing audio over Bluetooth with A2DP

As described in the title I experience a half a second delay when playing audio over Bluetooth with A2DP. This makes watching movies not possible as the sound is not synchronised with the video. I'm ...
26
votes
4answers
50k views

How can I use Kernel 3.19 in 14.04 now?

So I'm rebuilding my storage server. For stability, I want to use Ubuntu server 14.04 LTS as the OS. However, I'm planning to use Btrfs with RAID 5, and this has been greatly improved in kernel 3.19. ...
9
votes
6answers
80k 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 ...
46
votes
3answers
73k views

Adapt Ubuntu to a high-DPI resolution screen

What are the steps you need to adapt Ubuntu on a fresh installed Laptop with a high resolution display? I have a display with 3200x1600px on only 11'' which is all realy tiny.
9
votes
5answers
83k views

How to install OneDrive on ubuntu 13.10 x64

I have Ubuntu 13.10 and I don't know how to install OneDrive on ubuntu 13.10 x64.
65
votes
2answers
106k views

What is a <defunct> process, and why doesn't it get killed?

The chrome browser was not responsive and I tried to kill it, but instead of disappearing the process had <defunct> at its right, and didn't get killed: What is <defunct> for a process ...
34
votes
1answer
75k views

How to display all user and groups by command

I want to display 1. All users and 2. All groups in my pc by using command-line. users and groups displays users currently logged and groups a user is in respectively. How to display List of all ...
6
votes
7answers
109k views

How can I delete files in terminal fluently?

For example, I do cd Music dir and get 123456789.mp3 qweerkrtrkgljdjfkdjfdkf.mp3 a.mp3 b.mp3 blabla.mp3 how do I delete, say, files qweerkrtrkgljdjfkdjfdkf.mp3 and blabla.mp3 with least effort? ...
33
votes
4answers
77k 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 ...
52
62
votes
6answers
106k views

How do I copy files that need root access with scp?

I have an Ubuntu server to which I am connecting using SSH. I need to upload files from my machine into /var/www/ on the server, the files in /var/www/ are owned by root. Using PuTTY, after I log in,...
12
votes
4answers
67k views

Resolution doesn't change when resizing Virtualbox window

I've installed Ubuntu 64bit on Virtualbox 4.2.16. Guest Additions were installed in Ubuntu as well. However the display resolution of Ubuntu does not seem to change as the Virtualbox window is ...
14
votes
2answers
108k views

How to find python installation directory on ubuntu

I have just migrated from Windows environment. I have installed Python 3.2 in a separate directory. How can I get the python installation path on ubuntu shell ? Is there any way I can let shell know/...
7
votes
1answer
60k views

Can't SSH in as root

I'm using the default installation of openssh-server for my Ubuntu 14.04 server. I can connect through the console as root like normal, with my username and password. When I try to SSH with the same ...
24
votes
7answers
42k views

How to get date and time using command line interface?

How can I get current date/time in terminal. I mostly start up my system in text(console) mode and need the command to know the current date/time.
30
votes
2answers
106k views

update-java-alternatives vs update-alternatives --config java

On Ubuntu 12.04 LTS I have installed Sun's JDK7, Eclipse, and the Arduino IDE. I want the Arduino to use OpenJDK 6 and want Eclipse to use Sun's JDK 7. From my understanding I need to manually ...
46
8
votes
5answers
45k views

Uninstall Android Studio completely

I installed Android studio some time ago using the suggested method: To set up Android Studio on Linux: Unpack the downloaded Tar file, android-studio-ide--linux.zip, into an appropriate ...
21
votes
5answers
120k views

How do I improve the performance of my VirtualBox guest?

I run a guest ubuntu 12.04 on a host ubuntu 12.04, with VirtualBox, and the guest is much, much slower than the host (ALT+TAB takes 4-5 secs). I had a look around and I found contradicting opinions on ...
12
votes
3answers
94k views

Install on Second Hard Drive with startup boot option?

In theory, what I want to do is very simple, but I've done some google research and read some posts on this site and I'm still confused. I want to keep win7 on my primary C:\ drive, and install ...
33
votes
1answer
103k views

Where are the postfix log files?

I know this has been asked a hundred times. But I've done a lot of Google searching without success. My question: I want to log every activity of my postfix server. Neither the default file /var/log/...
21
6
votes
5answers
84k views

How to change ip address in ubuntu desktop through command line

In Ubuntu desktop 13.04 changing /etc/network/interfaces file don't change ip address or convert DHCP to static network interface configuration. after changing the file I tried sudo service ...
10
votes
3answers
56k views

How to setup virtual users for vsftpd with access to a specific sub directory?

I need to be able to add a virtual users to vsftpd that only have access to a sub folder. The reason why I want to use virtual users is I only want to have 1 real user on the server. The FTP ...