Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

1
vote
1answer
364 views

Desktop file for my python gtk3 app does not load the app

I am creating an GTK3 python application for Ubuntu. At the moment the application installs in the following locations. In /opt/NSTrain folder where NSTrain is the name of my application. The NSTrain ...
1
vote
1answer
539 views

gtk3 window is not redrawn correctly

I am creating a simple GTK3 application. The main toplevel window has a search button which will display another toplevel gtk3 window. When I click the close button (near the titlebar) on the second ...
2
votes
3answers
1k views

Loop in bash to create decimal number

How to generate a numbers 0.01, 0.02, 0.03 ... until 0.2 in bash ? i run this example but it doesn't work #!/bin/bash # # Script for running several experimentations one the same JVM # for ((i ...
2
votes
4answers
953 views

Is there any Graphical Control Panel available for apache2 and MySQL to start and stop them?

I dont like command line. Is there a Graphical Control Panel to start/stop apache2 ? and MySQL ?
1
vote
2answers
1k views

Customizing Texmaker

I use LaTeX a lot but I find quite obnoxious all the crappy files it leaves behind when you compile: .aux, .log... Fortunately TeXMaker has the option "clean" that deletes all of these. However, I ...
2
votes
1answer
487 views

I can't install ocaml plugin in my eclipse

I installed eclipse with sudo apt-get install ubuntu but when i try to install OCAIDE with Help->Install New Software. Appears this error : An error occurred while collecting items to be installed ...
0
votes
1answer
138 views

Unendable question C or C++

Got a question related to programming. I was planning to choose one more language, besides Java, and stuck between choosing C or C++. I am planning to create apps specifically for Ubuntu with GUI ...
-1
votes
1answer
9k views

Compiling C++ code raising “no input files” fatal error?

I am finding it hard to run/compile a simple C++ code in the terminal. Here's the code I am using to compile the file (helloworld.cpp). g++ helloworld.cpp -o helloworld I am getting an error. ...
-1
votes
1answer
1k views

How to use Kdevelop to write c++ programs ?

How I can build c++ applications using Kdevelop. Where I can find tutorials for kDevelop4 ? How to set the path for it ? How I can build a GUI application using Kdevelop 4.2? Whenever I try to ...
0
votes
1answer
238 views

Which programming language to develop software for USC that also runs on other OS? (Windows / OS X)

I have skills in Java and C#. First I had a closer look at Java (Eclipse with Windowbuilder-Plugin). - Swing: But there is no natvie GUI-Support for GTK3 (e.g., HUD seems not to work) Then I looked ...
1
vote
1answer
113 views

Fix Nautilus URIs in a Python script

I have a very basic Python script I wrote mostly for learning purposes. It opens a terminal in the current folder. However, I can't get it to work in folders with accented characters in the URI ...
1
vote
2answers
2k views

What do I install to start programming in java?

I have an ubuntu 11.10 with eclipse installed, now I am supposed to need JVM, Java compiler and something called API. I am starting to learn Java, because it is easy to make it work on windows after. ...
1
vote
4answers
2k views

Is there anyway to Compile Notepad++ from Source?

I really like using Notepad++ to write HTML and such. After I started using Ubuntu I looked around for an alternative to Notpad++. I found a thread which lead me to try Geany and a few others, but I ...
3
votes
1answer
599 views

I've installed golang with accordance with the wiki yet “go get” is missing

I've installed everything go-related from synaptic and later added ppa as described in the wiki: https://wiki.ubuntu.com/Go yet I cannot do "go get" for example go get code.google.com/p/gorilla/mux ...
2
votes
2answers
13k views

is there an IDE and compiler for c# in ubuntu? [duplicate]

Possible Duplicate: Visual Studio style tool? I'm looking for an IDE and compiler for C# in linux like visual studio or... to design forms an run programs. I'm moved to linux newly.
3
votes
2answers
3k views

Python Compared to BASH

I've been studying bash for the past three weeks or so, and it is very easy to learn since it is basically just command line inputs. I've decided to now move onto python but I've been lost the whole ...
0
votes
2answers
652 views

Can we install any assembler in Ubuntu

I have got to practice the assembly language, for that i need an assembler. I installed masm (Microsoft-macro-assembler) over DOSBOX emulator, but it does not give me the code-view of my program. Is ...
0
votes
1answer
348 views

Help with tool recommendation, to build a parse tree for C source code

I need a tool that can generate a tree for a C application. like walking through it to build which methods is called
3
votes
2answers
204 views

How do I daemonify my daemon?

As part of the Ubuntu Accomplishments system I have a daemon that runs as well as a client that connects to it. The daemon is written in Python (using Twisted) and provides a dbus service and a means ...
3
votes
1answer
14k views

Best text editor for Linux [closed]

What is the best text editor for ubuntu, mostly used for web development. Or a good all-round software like a IDE.
0
votes
1answer
5k views

Change home directory for gnuplot

Is there a way to change the gnuplot home directory permanently to a home/user/gnuplot directory without typing cd home/user/gnuplot after every gnuplot start?
1
vote
0answers
1k views

Programming error in 'aptdaemon' [closed]

Using Ubuntu 11.10 While performing updates through the update manager I get the following message: An unhandlable error occured There seems to be a programming error in aptdaemon, the software that ...
0
votes
1answer
293 views

Error executing a command in Ubuntu

I am a newbie to Ubuntu. When I execute a command in a terminal I get an error. The command is: prompt>./h_affine.ln -haraff -i img1.ppm -o img1.haraff -thres 1000 The error is: ...
4
votes
1answer
40 views

How can you figure out the dependencies of your project?

I am going to start a project soon, and want to make sure all libs are included that are not natively installed. Is there a way to check this without compiling on a clean machine?
4
votes
1answer
583 views

System programming in Ubuntu

I'd like to get into Ubuntu systems programming; to be specific - developing and debugging device drivers. However, I'm not sure about how to get started, even though I have prior experience ...
1
vote
1answer
5k views

How to get screen size through python curses

I'm writing a terminal program and need to get the size of the TTY I'm using. The Internet seems to suggest this can be done with curses, but I can't seem to find out how in python. I'm trying to ...
5
votes
2answers
410 views

How do I compile and use liboverlay-scrollbar from source?

I'm trying to install and use a patched version of liboverlay-scrollbar that matches my personal preferences. I've successfully downloaded lp:ayatana-scrollbar and ./autogen.sh; make; sudo make ...
0
votes
1answer
186 views

what text editors are available for ubuntu [duplicate]

Possible Duplicate: What IDEs are available for Ubuntu? Alternatives to LibreOffice What Text Editors are available for Ubuntu? I would like text editors for all usages. Programming ...
4
votes
3answers
4k views

portable Virtual Machine

I'd like to create a virtual machine with virtualbox and use it on different computers. The problem is that I need to work on my programming projects on different machines and syncing them over the ...
7
votes
3answers
2k views

What do I need to start programming? [closed]

I am a brand new engineering student, my teacher told us that we need to program in C++, I am new to programming and to Ubuntu, I am installing the latest version of Ubuntu but I would like to know ...
2
votes
2answers
354 views

Which Ubuntu is oriented to programming and robotics? server, desktop or other distro?

Well, rather than a question is an opinion from you, it goes well, What version of ubuntu is better oriented programming to robotics or anything related to programming languages ​​(like C, perl, c + ...
2
votes
2answers
359 views

Problem linking libunity

I'm trying to compile a basic C++ app consisting of the following code: #include <unity/unity/unity.h> int main() { return 0; } just to try and get the libunity library compiled before I ...
0
votes
3answers
149 views

Daemon wakeup via clock

I am writing a daemon (my first) and it needs to wake up every second and check a special piece of hardware. I have it checking the hardware, but how do I make it sleep, then wake on a specific ...
1
vote
3answers
332 views

best place to learn ubuntu linux for a windows programmer newbie

I am a programmer, I developed in C/C++/C#.NET, JAVA, HTML and Matlab Most of my work was in C# and .NET framework generally I recently switched to try linux for 2 months as exploration, I want to ...
3
votes
3answers
8k views

Fast way to create gui for bash app

I want to build a simple GUI for an app that use bash so for example clicking on a button would execute some bash commands and so one. There's a GUI creator also simple, i need only buttons and ...
4
votes
1answer
2k views

How do I install Clang Version 3 in 10.10?

How would I go about installing version 3 of Clang/LLVM in Ubuntu 10.10? Ubuntu 10.10 installs version 2.8 by default. Version 3 has more extensive/up to date support for C++ and possibly C (I am not ...
1
vote
0answers
136 views

Need pointer to make simple oss volume manager [closed]

I can not get my ALSA or Pulseaudio get working for my headphone sound. So for last 2-3 distros, I am using OSS. But problem is, with the introduction of Unity panel(which I could not get it work ...
1
vote
1answer
125 views

How to decide which version of Ruby to install, ruby1.8 or ruby1.9.1?

I am thinking about learning the basics of Ruby, so I want to install the ruby interpreter, irb, etc., on my Ubuntu 11.10 box. I quickly found that there are two main branches of ruby -- the 1.8 ...
4
votes
3answers
1k views

How to shutdown/restart/suspend … without authentication or confirmation?

I am looking for a terminal command to shutdown without having to write down my password and without installing any extra programs. As when clicking the shutdown button, why it is not asking me for ...
22
votes
4answers
6k views

What's the difference between GTK and QT?

Please bear with me as I'm a newcomer to Linux. I've been writing GUI programs in REALbasic on a Mac for several years. I'm trying to learn Python and I want to write GUI apps for Linux (primarily ...
10
votes
2answers
788 views

Is PyGTK still relevant?

I'm new to Linux but not to app development. I come from a RealBasic on a Mac background. I've accepted that I need to learn a new language to develop for Linux (since RB won't run on 64 bit distros ...
3
votes
7answers
905 views

Recommendation for a non-programmer's guide to self-teaching Python

I am new to Ubuntu and to programming, and I am seeking to teach myself Python. I installed the software from the Software Center and was wondering how to be sure it is up to date with the latest ...
1
vote
1answer
91 views

How can I observe what the kernel's doing when it tries to boot up a wireless card?

I have a netbook with a wireless card that doesn't work out of the box in Ubuntu, and I was wondering if I could use any profiling tools to observe what the kernel is doing when it tries to enable the ...
7
votes
2answers
3k views

How to restore/change Alt+Tab behaviour/ram usage and a few other things after Ubuntu upgrade from 11.04 to 11.10? [closed]

I use Ubuntu for programming. I recently updated it from 11.04 to 11.10. There are some things I don't like in the new version of Unity desktop interface. I don't actually know if it is hard to ...
1
vote
0answers
524 views

Is programming on ARM a good choice? [closed]

I'm looking for a portable, lightweight device to do some programming on. Up to now the natural choice would have been a notebook but with Tegra 3 tablets due in a few weeks the necessary performance ...
10
votes
3answers
86k views

What is a command to compile and run C++ programs?

I am new to Linux. I am using Ubuntu 11.04 and do not know how to compile and execute C++ program in it. I need to know the commands to Compile and Execute a C++ program in Linux.
7
votes
2answers
255 views

Dynamic shortcuts for Messaging Menu?

I'm Unity Mail developer and I wonder if it's possible to add a shortcut to Messaging Menu from within the application (it's written in Python). I need to connect it's user-display to a function in ...
4
votes
1answer
10k views

Downloading and Installing Latest Version of KILE

In the TeX - LaTeX group of Stack Exchange, I posed a question about the versions of TeXLive under Ubuntu. As I have installed the latest version of TeXLive under Ubuntu, I want to be able to use it ...
0
votes
1answer
471 views

Developer studio for ubuntu [duplicate]

Possible Duplicate: What IDEs are available for Ubuntu? is there any developer tool that is released by canonical for ubuntu like the visual studio for windows which is released by ...
0
votes
1answer
799 views

How do I get started writing an applet for the panel?

Currently I am personalizing my Ubuntu installation and i want to write a small applet to add it in the top left corner of the screen. This should be a "main menu" like in Mac OS X where i have a menu ...