ubuntu

Quickest way to run a linux dev-environment inside windows

Hi everyone, I get more and more trouble from running WAMP on my XP computer to solve my local development needs. It feels like as more and more things just go wrong or could not be installed at all to a Windows version of PHP. I have been looking for an alternative and found AndLinux plus this link. Would it be a good idea to get an...

Doctrine (on Ubuntu): What command generate models from database without delete existing models?(I add new tables soo i want update models)

Hi, Doctrine (on Ubuntu): What command generate models from database without delete existing models?(I add new tables soo i want update models) Thanks ...

MonoDevelop debugging?

Ok, this seems like a dumb question because MonoDevelop is getting more mature, so I'm sure I'm just missing it, but I looked around and all the questions about this subject seem to be about remote debugging or debugging on a Mac. I'm using Ubuntu 10.04 Lucid Lynx, and I just installed MonoDevelop 2.2.1 from the software center. I creat...

how to make PHP lists all Linux Users?

Hello I want to build a php based site that (automate) some commands on my Ubuntu Server first thing I did was going to the file (sudoers) and add the user www-data so I can execute php commands with root privileges! # running the web apps with root power!!! www-data ALL=(ALL) NOPASSWD: ALL then my PHP code was <?php $command...

How to display a status message in the Gnome panel?

I have a Gnome applet I've been working on. It is written in Python and it displays the progress of something in a small label. My question is: what is the best way to display status notifications to the user? On Ubuntu, I notice that whenever I connect to a network or adjust the volume, a black box appears in the upper-right corner. Is...

How to set a local image in pynotify?

If I run the following in python in Ubuntu 10.04: >>> import pynotify >>> p = pynotify.Notification ("Notice","","/home/george/Pictures/test.png") >>> p.show() true The message displays as expected, except the image does not appear in the OSD. How can I display a local image? In fact, for what I need, it would be better if I could di...

How to convert character names to character codes on linux

Hello! I'm looking for a way to convert the character names found in the files in the /usr/share/X11/xkb/symbols/ folder like: key <AE01> { [ 1, copyright, registered, trademark ] }; key <AE03> { [ 3, numbersign, section, paragraph ] }; key <AE04> { [ 4, EuroSign, dollar, sterling ] }; key <AE11> { [ masculine, ordfeminine, dead_circu...

How can you check if your built in hdmi port is working under ubuntu 10.4? and what software would be needed?

i've installed ubuntu 10.4 on my acer aspire 5920G laptop with built in hdmi and firewire and would like to use it on my hdtv + i'm looking at buying an external hard drive that uses firewire. Is there a way to check these ports are working before i buy and if not what would i install to get them to work. ...

using Eclipse to develop for embedded Linux on a Windows host

I got a question of using Eclipse to develop for embedded Linux on a Windows host Here are now I have and where I am. 1. a Windows host that have the latest Eclipse + CDT (c/c++ development tools) installed 2. a Ubuntu host (ssh + samba installed) that contains sources and toolschain to build the project. (the windows and ubuntu hosts ar...

Ubuntu crashed, Eclipse lost .metadata, Java Perspective gone, missing, lost

I am running Eclipse Galileo on Ubuntu 10.04 LTS. Ubuntu crashed on me today, and after rebooting, I found that Eclipse has completely lost the Java Perspective (it's like the perspective and all associated views never existed) and the .metadata dir in my workspace is empty except for version.ini. What's up with that? Why did it happen?...

downgrade mapserver

hello all, a question, as I can uninstall and install mapserver an older version, since I is causing roughly following error and I think is the version of the same Warning: [MapServer Error]: msLoadSymbolSet(): First token must be SYMBOLSET, this doesn't look like a symbol file. in /var/www/obtra/vcauca.php on line 25 Warning: Failed t...

Ubuntu terminal questions

I am wondering about my VPS providers ubuntu terminal. Are all these terminals the same? I think they are so user-UN-friendly. I can't copy-paste into the terminal, when I try opening textfiles, I can't scroll up and down easily. I cant save easily. Nothing is easy... Is it always like this with Ubuntu? Is there any way to make it e...

Trying to setup a PHP daemon using System_Daemon and I'm having issues getting it to run.

I get the following error when trying to start a daemon using Ubuntu 10.04 and the PHP5: PHP Warning: PHP Startup: Unable to load dynamic library 'usr/lib/php5/20060613/pcntl.so' - /usr/lib/php5/20060613/pcntl.so: cannot open shared object file: No such file or directory in Unknown on line 0 Does System_Daemon try to call pcntl? If s...

Problem using help in Octave

Hi, I cannot get any help information from my octave command prompt. Example, when I enter octave:1>help rand I get the error message error: fwrite: invalid stream number = -1 error: called from: error: /usr/share/octave/3.2.3/m/help/makeinfo.m at line 147, column 5 error: /usr/share/octave/3.2.3/m/help/h...

Which Language to target on Ubuntu?

I'm a c# programmer by trade and looking to move my wares over to Ubuntu as a business concern. I have some experience of Python and like it a lot. My question is, as a developer which would be the best language to use when targeting ubuntu Mono c# or python as a commercial concern. please note that I am not interested in the technical ...

RW - Primary/Secondary DNS Address In Python

I want to read the primary and secondary dns addresses from the system and want to change it to any user given address. Is this possible through some library. An alternative approach is that I read the /etc/resolv.conf and do the changes, which is what I've done. BTW the current solution I have is for Ubuntu OS, and for now if I get ...

Android Source code download error

Hi all I have followed the instructions on the Android website on how to download the latest android source code files but it gives errors when i run this command: repo init -u git://android2.git.kernel.org/platform/manifest.git It gives the following error: Getting repo ... from git://android.git.kernel.org/tools/repo.git android....

Starting an Erlang slave node in escript fails when using custom Erlang in Ubuntu 10.4

I have the following escript: #!/usr/bin/env escript %%! -name [email protected] main(_) -> NodeName = test, Host = '127.0.0.1', Args = "", {ok, _Node} = slave:start_link(Host, NodeName, Args), io:format("Node started successfully!"). When running it on Ubuntu 10.04 I get this: $ ./start_slave Node started ...

How to compile a Windows binary in Ubuntu?

I have a Qt application that I can compile in Ubuntu 10.04 64-bit and on Windows. However, I would like to avoid switching to Windows every time I want to compile the Windows version. Is there a way I can compile a Windows Qt executable in Ubuntu with mingw32 or something? Further, is there a way to integrate that compiler into Qt Crea...

Can I copy a cross compiler tool chain between systems (I did before)?

I tested fairly extensively with Ubuntu 10.04 Beta 2 Server in a VM, and was able to simply copy (read tar x) a cross compiled tool chain from an Ubuntu 8.10 VM. I created the tar myself, which is essentially a lot of stuff in \usr\local. Now that I've got a bare metal installation of Ubuntu 10.04 proper, the copy isn't working. In p...