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)

0
votes
0answers
447 views

Running uinput code on DM368 board

I am using DM368 TI board. I want to send keystrokes to gstplayer in ubuntu 10.10 For that purpose i used uinput function in C code. My code works properly on console but not on the hardware. I even ...
4
votes
2answers
4k views

Switch Fn key state

I have this issue with Lenovo Thinkcentre Edge. Its keyboard has Fn key, which acts in my Ubuntu (with Fluxbox) as if it is always "active/pressed". I can't use standard F1-F12 keys unless I hold ...
0
votes
2answers
901 views

Dovecot version upgrade

I am using ubuntu 12.04 and dovecot version is 1.2.9, I want to upgrade my dovecot version from 1.2.9 to 2.1.7
8
votes
2answers
795 views

CPU stuck at 99% for a few hours. Really need help figuring out logs

extract from syslog: CRON[pid]: (user) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin ...
6
votes
2answers
2k views

How can I set up a remote port forward on port 80 to my localhost with the help of setcap?

I'd like to accept connections briefly for development when I'm NATed, and so I'm attempting to do this: $ ssh ubuntu@example.org -R 80:localhost:80 Which fails as I'm trying to bind a port that is ...
-4
votes
2answers
3k views

How to install/uninstall .deb packages?

.deb is the extension of the Debian software package format and the most often used name for such binary packages. Debian packages are also used in distributions based on Debian, such as Ubuntu and ...
5
votes
3answers
1k views

Is Ubuntu LTS binary compatible with Debian?

RedHat and CentOS are binary compatible. So everything that works on the one will most propably work on the other (same RPMs, same libs, same versions, same dependencies)... Does the same hold true ...
2
votes
0answers
471 views

PPPoE connection problem

I have just installed Backtrack 5 R2 and I'm finding it difficult to make a DSL internet connection. What troubles me is that I think I have all the steps figured out, and after completing them, the ...
7
votes
1answer
270 views

Finding the library versions a library was linked against

I have a library that was compiled on an unknown Ubuntu machine, And I'd like to determine what version of Ubuntu that machine had at the compile time. My idea was to try and find the versions of ...
2
votes
1answer
238 views

Run an application under Tomcat

I have an application that needs to run under Tomcat. I have installed Tomcat but I don't know where can I put the directory of the project.
1
vote
1answer
179 views

Rake - “bundle exec” - how can I avoid `bundle exec` with my `rake spec`

When I try to bundle exec I'm getting You have already activated rake 0.9.3.beta.1, but your Gemfile requires rake 0.9.2.2. Using bundle exec may solve this. ... I have rake, version 0.9.3.beta.1 ...
1
vote
3answers
354 views

How can I share a desktop / log in graphically for an Ubuntu that I have ssh but not console access to?

http://www.ubuntugeek.com/share-your-ubuntu-desktop-using-remote-desktop.html tells how to share a desktop by setting multiple features from within a GUI. Is there such a HOWTO that is based on ssh ...
2
votes
0answers
129 views

Forcing X to recognise video ram, saving the file 99-vesa file

So I was looking at a question about forcing X to recognise video memory to achieve 1080p resolution, however when I finished the following piece of code: Section "Device" Identifier ...
1
vote
0answers
89 views

Have network always wait for a network connection?

Just as the title says, is there a way to tell Ubuntu Server to constantly wait for an ethernet connection after it gets disconnected? Use case: Ethernet cable gets unplugged (intentionally) for a ...
1
vote
0answers
192 views

Dual/Triple Booting with dmraid and non-raid disk

I currently have 3 hard drives in my computer The first two disks are in a RAID-1 array, using an Intel P55 chipset, and accessed through dmraid, with the third drive partitioned like so: Filesystem ...
4
votes
3answers
7k views

Applying changes to xorg.conf without restarting

I'm using Ubuntu 12.04 and making some changes to /etc/X11/xorg.conf. I now need to restart X server to apply the changes, but I don't want to restart my machine. I know restarting the display ...
1
vote
1answer
2k views

In Ubuntu, is there a way to virtually merge two folders without unionfs or aufs?

I've got a source control system at work that I can't modify which scatters a bunch of files in unfortunate places. My IDE expects these folders to be in a single unified location. Normally I'd just ...
2
votes
1answer
530 views

Lm-Sensors: Run specific commands when temperature goes above/below limits

I have a pretty badly ventilated computer whose temperature reaches 100º C in some occasions. The poor thing can't be ventilated any better ("put a bigger fan" is not a suitable solution). When the ...
1
vote
0answers
197 views

Unable to login due to invalid screen resolution

I changed the screen resolution on Ubuntu 12.08 using the GUI, but I think I've changed it to an unsupported resolution, and now the system logs me out immediately after I login. I tried using xrandr ...
1
vote
1answer
463 views

Partitioning scheme for a virtual machine host

I am planning to use an Ubuntu Server 12.04 with KVM to create 2 virtual machines. Reading some docs on the net, I have found that a good approach is to use LVM based VM, so my idea is to have: 1 ...
3
votes
2answers
8k views

(L)ubuntu 12.04 syslog to custom file (not /var/log/syslog but /var/log/mylog) - ubuntu 12.04

I successfully tested the following syslog "hello world" example on ubuntu 12.04: // gcc giuspexample.c -o giuspexample #include <syslog.h> int main(int argc, char *argv[]) { ...
2
votes
2answers
4k views

How do I resize GNOME shell top bar

I am on Ubuntu 12.04 and installed gnome-shell, but I found the top bar is larger than it normally is, how can I change its size?
3
votes
1answer
291 views

how do I enable fluxbox instead of Gnome by default in Ubuntu

I'm working on a VPS which I can control with PuTTY and FreeNX. I don't have enough RAM for Gnome, so I want fluxbox to start by default instead of Gnome. how do I do that?
3
votes
3answers
1k views

A system-wide way to set or get $JAVA_HOME in Ubuntu?

I wonder whether Ubuntu itself provides a system-wide way to find the current JAVA_HOME or whether there is right place for setting JAVA_HOME. Mac OS X does well in this, for /usr/libexec/java_home ...
0
votes
3answers
215 views

Why “Linux Generic” use RPM extension in MySQL download page?

I need to install MySQL 5.5 from source in Ubuntu 10.04. So I'm trying to find tar.gz source from here. But when choosing "Linux Generic" from the drop down menu, it is showing an RPM extension I ...
0
votes
2answers
358 views

Will suspension or hibernation of OS suspend running programs?

I am running a program in my terminal. BUt I need to suspend or hibernate the OS (Ubuntu 12.04) for a while. Do I have to Ctrl-Z my running program before doing that? Or will suspension or hibernation ...
9
votes
4answers
34k views

“Input/output error” when accessing a directory

I want to list and remove the content of a directory on a removable hard drive. But I have experienced "Input/output error": $ rm pic -R rm: cannot remove `pic/60.jpg': Input/output error rm: cannot ...
4
votes
3answers
3k views

How do I switch from Ubuntu desktop to Ubuntu server?

I'm currently setting up a home server using a very, very old PC. It has Ubuntu 11.10 installed on it, but it can't actually handle the GUI. I want to install the server edition of Ubuntu, which is ...
1
vote
1answer
458 views

How does apache determine what directory to show from public_html?

I am using Ubuntu 12.04 and have configured apache to serve from ~/public_html. I am trying to serve some directory contents over http on LAN. When I did the following: ln -s ...
1
vote
2answers
5k views

How to fix non-responsive Ubuntu system?

I use Ubuntu. Sometimes, the system does not have any response with mouse and keyboard. Is there any way to solve this problem except hitting the reset button on the machine?
2
votes
1answer
182 views

Should 'LC_ALL=fr_FR.UTF-8 date +%x' give consistent results across machines?

The %x format specifier to the date utility should, according to the man page, use the locale specific date format. However, when I specify the same installed locale and try this on two different ...
2
votes
2answers
570 views

RAM usage doesn't add up? (Free+used < total)

Lately I've been noticing that my monitoring script which reads from /proc/meminfo and /proc/<pid> has been showing odd readings, where several hundred MB seem to be missing. htop is showing the ...
0
votes
1answer
150 views

relation between unity on ubuntu and unity game engine?

I am just curious to know if there is any kind of relation between Unity(the latest shell interface for gnome in ubuntu) and the Unity game engine, apart from having the same name ? I'm no expert in ...
2
votes
2answers
3k views

telnet to localhost and loopback device IP works, but not LAN ip (Xen + Ubuntu)

I have set up Xen + Ubuntu per the instructions at https://help.ubuntu.com/community/XenProposed. I am now ready to install a HVM guest OS (Ubuntu Desktop 12.04). After I start my HVM guest OS xen ...
0
votes
2answers
687 views

Linux Ubuntu / Mint Live CD user-home customization

I'm trying to customize Linux Mint Live CD with these instruction (uck doesn't work for me). What I want is to have more icons at its Live CD user (/home/mint/Desktop) but I can't find /home/mint on ...
2
votes
3answers
525 views

Dead (compose) keys not working in GTK apps since upgrade

I'm running Kubuntu with KDE as my main desktop environment. A while ago I set up dead keys so I can type Chinese pinyin and other accented letters and special characters. As a side note, I use IBUS ...
5
votes
2answers
8k views

domain 'ubuntu-hvm' does not exists, xen + ubuntu, hvm guest os installation problem

I am following the installation/setup instructions at https://help.ubuntu.com/community/XenProposed to install ubuntu + xen. I was able to install a PV guest OS. However, when I got to the HVM guest ...
3
votes
1answer
6k views

chmod: What does the `+a` parameter mean?

I was following a tutorial and it told me to run sudo chmod +a "SOME_PARAMS" some/dir I was surprised to see that fail telling me chmod: invalid mode: `+a' So I wonder: What does the +a mode ...
4
votes
2answers
1k views

Why does debian and ubuntu default to runlevel 2?

I never thought about this before, but I was wondering why they chose runlevel 2. Every other distro and OS I've used default to runlevel 3 (with the exception of AIX which also defaults to runlevel ...
4
votes
4answers
4k views

How can I check if mysql is installed using a bash script?

I need to check if mysql is installed from within a bash script. What would be an efficient way of doing that? I thought I could do this: if [ ! -f `which mysql` ] ; then echo "foo" fi But I ...
2
votes
2answers
116 views

Is there an easy way to stop and reissue a command?

I am doing Node.js development in Ubuntu and I'm curious if there is a way to quickly stop and restart a node server. I run this command to start my app: $ node app.js When I make changes to ...
7
votes
5answers
1k views

Unable to connect to a wifi network with a special SSID

My current wifi network (and i'm writing this with the help of Windows -.- ) has a special character in it's SSID: "ö", a so-called "umlaut". If changing the SSID is not an option, how to connect to ...
0
votes
0answers
891 views

Wireless connection connecting and disconnecting all the time

I am running Ubuntu 11.04 on my laptop and I use a 3G USB modem for my Internet connection. I wanted to share this Internet connection with my girlfriend's laptop that is running Window XP. ...
10
votes
4answers
3k views

'mv' equivalent of drag and drop with replace?

In a GUI environment, a drag-and-drop with replace will replace files and entire directories (including contents) with whatever is being copied in. Is there a way to accomplish this same intuitive ...
2
votes
2answers
10k views

Problem with SSH “ Write failed: Broken pipe ” [duplicate]

Possible Duplicate: What does the Broken pipe message mean in an SSH session? I run a program on server with SSH ! the program runs normaly and after a period of time i receve a message ...
5
votes
3answers
1k 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. ...
1
vote
0answers
276 views

Adding a second user to a system group? [closed]

I am trying to get around a permission issue I am having. The only reasonable option (other than ACL) is to add the user that needs access to the system group of the user that has access. Yes, the ...
3
votes
1answer
1k views

inode limitation on a 500GB hard disk? Can you explain please?

I am launching a social networking website on LAMP Stack on Linux Ubuntu, I know that people are going to upload lots of pictures. Let's say I have 5000 users and each user upload a minimum of 100 ...
1
vote
3answers
2k views

Can't install pg gem

I cant get the pg gem to install. I have tried --with-pg_config and it didnt work. Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. ...
1
vote
1answer
549 views

Hiding files on FTP server

I have an Ubuntu server and I run an FTP server on it. I changed its folder structure and want to restrict access of users to some of the files not all of them in a way that other files be hidden to ...