Ubuntu is a Linux distribution with an emphasis on ease of use and installation. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

learn more… | top users | synonyms (1)

11
votes
4answers
21k views

What program do I use to check mail?

I'm receiving "You have mail" messages and according to How to remove “You have mail” welcome message I should read my mail with mail. However I cannot find the command in my system (Ubuntu 10.04 ...
9
votes
4answers
7k views

How to truely install a tar.gz file on Linux - how to manage manually-installed (or standalone) applications?

I see all these links explaining packages and .debs... I know that... and there are many kludges to get tar.gz files working (eg: update-alternatives for Java or manually dropping the file in ...
9
votes
3answers
2k views

In awesome window manager, how can I make key bindings send keyboard events?

I don't think that title probably helps very much, but here's my issue: I'm using the awesome window manager and am trying to make my key bindings to be similar in flavor to OSX for special keys. ...
7
votes
1answer
818 views

How do I use colors in the MOTD?

I edited the default /etc/update-motd.d/00-header, adding some color to make it easier to read: printf "Welcome to \e[1;34m%s\e[0m \e[2m(%s %s %s)\e[0m\n" "$DISTRIB_DESCRIPTION" "$(uname -o)" ...
7
votes
1answer
901 views

Why root's default shell is configured differently with other normal user account's default shell?

As I know, root's default shell is configured csh and normal user's default shell is sh in FreeBSD. And in Ubuntu, root is dash, normal user is bash. (refer: What's the Ubuntu's default shell?) Why ...
6
votes
2answers
2k views

Configuring File Associations in Ubuntu with Wine

Related to this question, I have Ubuntu 20.04.1 LTS. I downloaded PlayOnLinux 4.1.9 (the Precise version) and used it to install Microsoft Office 2010 Pro. PlayOnLinux downloaded Wine 1.5.21 and ...
6
votes
2answers
3k views

My .xsession and .xinitrc files are not executing

I have installed xmobar, xmonad on ubuntu 11.04. #!/bin/bash trayer --edge top --align right --SetDockType true --SetPartialStrut true \ --expand true --width 10 --transparent true --tint ...
6
votes
3answers
1k views

Command line join of password protected wireless networks in Ubuntu, Arch Linux, or other distros?

Is there a way to join a password protected wireless network via the command line in installations of Ubuntu or Arch Linux with no desktop environment or any GUI installed? Also, could this be done ...
5
votes
2answers
291 views

How to control the time that users spend on

I need a solution that allows me to control the time that each user spend on the computer, excluding idle time (some kind of parental control). I've tried timekpr, but it doesn't work on Ubuntu 13.10. ...
5
votes
4answers
2k views

Spoofed MAC address ignored by wpa_supplicant?

I'm using wpa_supplicant to power my wireless card in my Ubuntu Server (yes I know wireless in a server is bad, but this is a special case) since it has the ability to automatically roam WAPs instead ...
5
votes
1answer
6k views

Where are NetworkManager's WiFi settings stored?

I remember the days of playing with /etc/$WE/wpa_supplicant.conf to try and force a semi-secure network on a debian based system, but now on to xubuntu, I haven't needed to do any *.conf-ing in a ...
5
votes
2answers
23k views

Why do I get an “rsync: failed to set times on … : Operation not permitted (1)” error on Ubuntu 10.10 with SME Server 7.4? [duplicate]

I am trying to cron an rsync via ssh between two fileservers that are running SME Server 7.4 and Ubuntu 10.10, respectively. The first rsync worked just fine (for reasons that I do not know), but now, ...
5
votes
2answers
770 views

What's up with this 'gnome' package?

I have recently grown tired of the way Rhythmbox starts up every time I plug in my MP3 player. I know I could simply disable this, but I've decided to uninstall Rhythmbox instead. It's such a ...
5
votes
1answer
758 views

`p` key doesn't work in X

Today I had to force-shutdown my machine after it froze during resume from suspend. Since the reboot, I've found that the p key doesn't work normally in X. It does work normally in the console. ...
4
votes
3answers
1k views

Ways to update Ubuntu (debian-based distros) offline

What is the easiest way to update/upgrade an offline Ubuntu machine with the help of a Windows machine that has internet access? This question also applies to installing new packages offline and not ...
4
votes
1answer
22k views

Suddenly, I Can't login with correct password (greeter & tty)

This might be a duplicate of other password related questions but it's somehow eccentric. I have 3 accounts in my Ubuntu 12.10 system (one standard and two administrators). One of the administrator ...
4
votes
2answers
3k views

I cannot install new packages: “Could not get lock /var/lib/dpkg/lock”

I am new to Linux (installed Ubuntu for the first time yesterday), and have never dealt with any unix-based OS. I started using Linux for the sole purpose of collaborating code with my partners via ...
4
votes
2answers
1k views

Installing OpenVPN to replace Cisco VPN because Cisco will not work with the kernel I am on or downgrade instead?

I had difficulties installing Cisco5.0 VPN on my Ubuntu 10.04 LTS. I asked for assistance in this question: link to previous question. The answer is that this Cisco program will run on only older ...
4
votes
4answers
1k views

Stripped down Kernel for a Laptop

I am a Linux noob, but I am willing to learn. My immediate objective is to compile a small kernel for my laptop without sacrificing usability. I am familiar with the kernel compilation steps (don't ...
4
votes
2answers
2k views

Having a bash script run at startup and display the results when I log in

I am running Ubuntu 11.04 and I want to be able to run a command like top so when I login it is running in a window. I been trying many things for a while now and can't seem to get it to work I ...
4
votes
3answers
6k views

Is it possible to export env variable via Upstart?

I need to export a variable FOO=stringhere so that system processes could use it. And the place I would like to do this, is Upstart job. Unfortunately, I tried as per Upstart manual to do env ...
4
votes
2answers
1k views

Run Python Portio script as normal user without root access

I know there are risks running a root script as a normal user, but in this case I don't have a choice and what I am doing is machine related. I have an Small Board Computer that has GPIO ports and I ...
4
votes
2answers
842 views

Power management hook for running scripts on wake

I'm looking for a way to run an arbitrary script every time my laptop wakes up.
4
votes
3answers
2k views

How come I installed Ubuntu 64 bit on a Pentium 4 machine?

I have just tried booting the Ubuntu 10.10 64 bit live USB on this machine and to my amazement everything works fine. I even installed the system, after which I checked with uname -a and the result is ...
3
votes
2answers
2k views

Apache ownership and permissions for wordpress

I'm new to running a VPS, but I managed to get the whole system setup and secured without any issues :) My question concerns Apache and the different ways it can operate. For this particular machine ...
3
votes
3answers
2k views

/usr/bin/host not picking up changes to /etc/hosts even after reboot

I have a Ubuntu Server 12.04 (amd64) machine on which, when I change /etc/hosts, the changes aren't picked up, even after a reboot. I am using /usr/bin/host to test, but none of the other programs ...
3
votes
2answers
599 views

remote desktop connection - similar to team viewer

I have a few different Desktop versions of Ubuntus (13.04, 12.04, Kubuntu,..) on different computers. I would like to manage all of them on a single computer via remote connection and be able to use ...
3
votes
2answers
3k views

sending email to IP address via postfix

My friend and I have configured two Postfix mail servers on our laptops. We succeeded in sending mail to a real network (to some Gmail accounts) from our computers; that was the easy part. We now ...
3
votes
2answers
5k views

How to Install Oracle 11gR2 on Ubuntu Server 13.04

I want to install Oracle 11gR2 for Linux on Ubuntu Server 13.04. I have downloaded Oracle 11gR2 for Linux, and when I execute use runinstaller it require GUI supported files. While Google I got ...
3
votes
2answers
345 views

Running a daemon as a non-privileged user

I am trying to set up a Thin Ruby application server on my Ubuntu VPS. I have created a specific account, installed rbenv under it along with all gems. I am looking for a convenient way to obtain the ...
3
votes
1answer
1k views

Sharing Ubuntu drives with Windows

I'm new to the whole Linux thing. I have a Linux server up and running and have been using this guide as a help. I have an issue with shared drives. My Windows machines can see them but cant write to ...
3
votes
1answer
471 views

Washed out colours with screencast software but not screenshot on Ubuntu (all versions)

I have experimented with screencast software on Ubuntu over a number of LTS versions and using pretty much every software I can get my hands on. I have used VLC, RecordMyDesktop and some others the ...
3
votes
1answer
355 views

Awesome & youtube

I run Awesome WM on Ubuntu. Recently when I try to watch youtube videos in full screen they have been playing in a small letter box - They have not 'full screened'. In the other hand, Vimeo & ...
3
votes
2answers
983 views

GNU Radio prerequisite libraries on armhf

After several attempts, I have managed to compile GNURadio on the Raspberry Pi. However, I am just not able to meet the prerequisites for the gnuradio build script on the Pandaboard (Linaro 12.04) or ...
3
votes
2answers
779 views

Package installation and dependancies - how to prevent installation of existing libraries?

I'm a relatively new Ubuntu server user, so I'm learning as I go. I have an issue with a software package I'm installing (QGIS) which has several dependancies one of them being gdal library. ...
3
votes
5answers
685 views

Modern distribution on old hardware

I have an old system currently running ubuntu jaunty. The main harware specs are: Processor: AMD Athlon 1,2 GHz RAM: 512 MB Graphics: [SiS] 65x/M650/740 (output from lspci) HDD: 40 GB Now jaunty ...
3
votes
2answers
5k views

Kernel Panic - not syncing: VFS: Unable to mount root fs after new kernel compile

So I've been at this for a while and have been poking around for an answer for a few days, and figure it's about time to ask for help. I am running Ubuntu 10.10 in VMWare Fusion, and have downloaded ...
3
votes
1answer
383 views

Moving from Ubuntu 32bit: Mint 64bit or Mint 32bit?

I have decided to try out Linux Mint instead of the horrible Ubuntu Unity experince. I have a separate partition for my /home folder, which I'd like to preserve of course. So I'm curious: is it ...
3
votes
3answers
6k views

Is there a way to write a script to do ftp login so I don't have to type things over and over again?

I am recently working extensively with a remote system via ftp connection, since the session time is so short that I have to re-login quite often when I finish my work on my local machine, so I need a ...
3
votes
1answer
130 views

Link a dependency in Synaptic to the one already installed from source

I want to install SVN version of Quantum GIS and already I have a SVN version of GRASS GIS. As instructed in QGIS Wiki here, I added the qgis repository to my sources.list file. Now I am able to see ...
3
votes
4answers
563 views

Send file to opened editor using command line

Recently I found out a new very useful command. It is: gnome-open or xdg-open or just open on mac. It opens file or directory in by default specified program. But, in the event ...
3
votes
1answer
423 views

How to recover a missing file

I am running ubuntu and last week the system didn't let me alter files as if I had no write permissions. Then on reboot the system did a check of the system which took some time. Then everything went ...
3
votes
1answer
666 views

How to have correct permissions of files from usb disks?

Does anyone have the following problem? I have an Ubuntu box at work and also one at home. I always copy folders/files to/from an usb disk to/from my boxes. I have to change permissions of ...
2
votes
1answer
75 views

Computer won't restart without recovery mode and mouse is flickering after I added the ppa ubuntu-x-swat/x-updates

I installed Steam a few weeks ago, and it kept bothering me to add the ppa ubuntu-x-swat/x-updates,so I did it yesterday. After I installed it, my computer was fine until I rebooted. The computer ...
2
votes
1answer
232 views

Is there a way to manipulate lines in logcheck rules before sending?

There are a few cases, such as netfilter logs, where it would be great if I could send the report logcheck is about to send through a filter. logcheck(8) doesn't seem to describe anything like this, ...
2
votes
2answers
1k views

How can I know if patch command is working?

I am trying to apply a patch that is provided by the seek-for-android project to code I downloaded from Cyanogenmod. The code compiled successfully with make, so I know all the files are there. I just ...
2
votes
1answer
646 views

How do I determine where DNS requests fail in the TCP stack?

I have the networking setup described here: Why is this static route not taking effect? Currently, I can ping my DNS server but all DNS requests fail: ~$ ping 130.35.249.52 PING 130.35.249.52 ...
2
votes
2answers
860 views

Difficulty with EncFS on CentOS

I'm trying to figure out encfs, but am having some difficulty. This is what I have done so far: I created 2 test folders mkdir /home/oshiro/Desktop/encrypted mkdir /home/oshiro/Desktop/decrypted ...
2
votes
2answers
3k views

How to solve problem related to black screen with cursor only after loging in?

Suddenly, I got crash report after logging in to my primary account. It says "cannot open display". But, everything work just fine while loging in with "Guest" account. I tried using these methods ...
2
votes
0answers
998 views

Rotating a video (ubuntu 12.04)

I have a video, shot on my android phone, which I want to rotate 90 degrees clockwise for computer viewing. Here's what I expect should work: ffmpeg -i infile.mp4 -vf "transpose=1" -an -vcodec mpeg4 ...