ubuntu

Python 2.7 cannot import PyQt4

I've upgraded to Python 2.7 from Python 2.6 on Ubuntu Maverick Meerkat (10.10) and I'm unable to import PyQt4. austin@gerald:~$ python2.7 Python 2.7.0+ (r27:82500, Sep 15 2010, 18:04:55) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import PyQt4 Traceback (most recent call last): Fil...

HOWTO: disable touchpad with key sequence

Hello, I'm using Ubuntu 10.10, and would like to know how to enable/disable "tapping" mouse clicks. When I have my mouse plugged in, this feature is pain in the *ss, but when mouse isn't here, I really need it since my left mouse button on touchpad is broken. To make it quick: Q: How to set key sequence to toggle mouse left click by ta...

Has my linux server been attacked?

I feel as if my server (ubuntu 10.4) has been attacked. I'm a bit of a linux noob. I run a website and a few rows of mysql data have been deleted. This has happened three times now. The auth log is empty prior to 2:00pm ET today. All that shows prior to my logins were a few cronjobs running. The data disappeared between 7pm and 10p...

ubuntu linux -- mouse scroll wheel up or down to type letters?

Is it possible to have the scroll wheel on my mouse send a keystroke instead? so when i scroll upward it sends the letter "a" and downward it sends the letter "b"? ...

what is tool like TortoiseSVN(Windows) on ubuntu?

what is tool like TortoiseSVN on ubuntu? please help me. ...

How to display a warning when update package which depends on the particular version of an existing

Example: Package Foo wich depends on package Bar on version 0.1 When I update package bar to version 0.2 I want to see a message that, there is package Foo which depends on version 0.1 of the package Bar, but I do not want to abort the install process. Is there any way to do this? (maybe some extra line in control file) Thanks ...

How to setup an open toolchain for iphone 4.x development on ubuntu?

It would be great to develop iphone software on ubuntu. ...

Shortcut with meta-shift key doesn't work in emacs

Hi,I can't use any shortcut that has meta-shift (alt and shift) in it because ubuntu will treat it as "change keyboard layout" shortcut (I map it to alt-shift since I use the same shortcut in windows) as soon as I press m-s. In windows change keyboard layout shortcut doesn't register until you release the key so any shortcut with m-s is ...

Know more about shared libraries of a executable file.

Is there a way to know what shared libraries are used from a executable file ? From DivFix++ for example: $ file DivFix++ DivFix++: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped ...

creating a permant folder in /tmp/ of ubutu 10.04

hello. how to create a permanent folder in the temporary folder in ubuntu? without being deleted when the computer shuts down, and not have to repeat the process every time the computer restarts ...

how to automatic deleting files to a folder in ubuntu?

hello. how to automatic deleting files to a folder in ubuntu?, I need to do a script to delete files from a folder that is filled with the execution of a process on my server. thanks for your answers and hel ...

Giving a unix process exclusive RW access to a directory

Is there a way to sandbox a linux process into a certain directory, and give this process exclusive rw access to this dir? For example, create a temporary working directory, and start e.g. python or another scripting tool in such a way that it can only write in this directory, without limiting too much of its functionality. And also that...

Setting up django for the first time

I'm used to setting up a server for nginx with php and mysql. I understand that just fine. But I'm extremely confused at where to even start with django. I know nothing about python by the way. I'm running ubuntu 10.04 Python is already installed (not sure what version though. I read I need less than 3 or something) So firstly, how do...

ubuntu bookmarks

Hi, I want to backup my ubuntu bookmarks (not browser bookmarks, but the ones in the places pane in nautilus). However, I can't find any application that does it already or any info on where bookmarks are stored and how. Can anybody tell me a way in which this can be done? Any suggestions about a script is also welcome. ...

filename encoding issue

I am getting a file with a faroese name and trying to save it in a PHP script: 2010_08_Útflutningur.xls In Ubuntu 10.04 LTS is saving it as : 2010_08_�tflutningur.xls (invalid encoding) I've installed and run utf8-migration-tool, but with no effect. Is this a ubuntu error that I can fix or I just have to give up and modify the nam...

Installing git to be used in a multi-user system

I need to install git on a Ubuntu server that will be shared and accessed by multiple users. I assume I will use git+ssh, so each user will have a system account, but how do I go about installing git and a repository so that each user can push/pull over a local IP? ...

Setting Keyboard Shortcuts in Ubuntu

Is it possible to do the following in Ubuntu? If so can someone point me in the right direction. Say you want to set a keyboard shortcut to do the following: For examples sake, set Alt+F to open Firefox and maximize it, but only if Firefox is not already running. If it is running and not maximized, then maximize the most recently tou...

RMagick + Ubuntu - wrong jpeg library?

I'm having an issue getting RMagick to behave on Ubuntu Intrepid. RMagick installed correctly, but when I attempt to use the JPEG manipulation functions, I get the following error: Magick::ImageMagickError (Wrong JPEG library version: library is 62, caller expects 80 However, when I look in /usr/local/lib, I see libjpeg.so.8.0.2 is i...

Exception Error when I try to initialize hudson.war

Hi there, I have installed hudson on Ubuntu server and then run java -jar hudson.war, giving me this exception error message: Status Code: 500 Exception: The error below occurred during context initialisation, so no further requests can be processed: java.lang.ExceptionInInitializerError at java.lang.Class.initiali...

why apt-get cannot install any application?

Hi , when trying to install application using apt-get, I always get /bin/sh: /usr/sbin/dpkg-preconfigure: not found for example: $sudo apt-get install libssl-dev [sudo] password for camino: Reading package lists... Done Building dependency tree Reading state information... Done .... Do you want to continue [Y/n]? y WARNING:...