Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

3
votes
1answer
13k 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
285 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
538 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
4k 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
397 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
184 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
335 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
332 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
142 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
328 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
7k 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
135 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
119 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 ...
21
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
758 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
802 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
89 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
2k 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
513 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 ...
8
votes
3answers
73k 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
245 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
436 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
772 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 ...
5
votes
1answer
436 views

How to become a UBUNTU developer? [duplicate]

Possible Duplicate: Developing Ubuntu Applications I have some knowledge in shell programming, and lot of interest in using ubuntu os. I have to go deeper as a programmer for ubuntu. What i ...
2
votes
2answers
3k views

How to add a system call to the Linux Kernel?

I'm currently reading Operating System Concepts 7th edition by Silberschartz, Galvin and Gagne. At the end of chapter 2, there is an exercise "Add a system call to the Linux Kernel". Unfortunately, I ...
6
votes
1answer
3k views

“command 'gcc' failed” when trying to install a Python package from pypi

I'm trying to install 'pyskein' from the Python package index (sudo easy_install3 skein), but the installation fails with this error: src/threefish.c:23:20: fatal error: Python.h: No such file or ...
5
votes
2answers
532 views

How to re-start a python script without killing other python processes

I develop an app called Unity Mail. A quicklist option «Edit accounts data» needs to restart it. File /usr/bin/unity-mail: #!/bin/sh python /usr/share/unity-mail/unity-mail.py $@ File ...
-1
votes
1answer
252 views

Bundle of important softwares [closed]

Is there any bundle of softwares to download in a package for free? I want software for everyday use and for general programming development. Edit Editor and other required programs to run PHP, C, ...
2
votes
2answers
475 views

Executable execution path. Does it depends of the place the executable is called from?

as I'm still a new Linux user, I still discover some behaviours and I'm unable to tell if they are "normals" or not. I searched the Internet but as I can't really find an answer I guess it's time to ...
8
votes
2answers
5k views

How can I get gedit ready for programming in Ruby and Ruby on Rails?

I'd like to know which gedit plugins I could install to make programming for Ruby and Ruby on Rails easier?
2
votes
1answer
73 views

Indicator menu from gtk.Builder ui string

I've created an indicator that I think should work, but doesn't. I've added the UI interface from a glade file, loaded it and added the menu to appindicator. The following is the entire source code ...
6
votes
3answers
7k views

Is there a Source Insight alternative?

I am not a developer, but for my work I trace a lot of codes. It is actually rather difficult reading other people's code, especially for bigger projects. Source Insight is a great application that ...
1
vote
1answer
80 views

Graphical shortcut to command

In this answer, this command is recommended: wine /media/cdrom/app.exe How can I make a simple graphical program to let me choose a variable for the file that was chosen in the command?
6
votes
2answers
3k views

How do I download old unsupported packages such as Kernel headers?

I am using the now unsupported Jaunty. However, I'm also running an older unsupported kernel which I wish to programme. i'm trying to make new system calls in kernel 2.6.21 and one of the new system ...
0
votes
2answers
1k views

Can I open visual basic .vbp files using gambas?

I had installed gambas 2.21 but i cannot open .vbp files format. Why? If it can, how to do it?
2
votes
2answers
508 views

PyGTK - events from gtk.Menu in Unity global menu

I have an GUI application written in PyGTK and need to read key-press/release events from application menu. For example, when pressing shift key and click on menu item, do something else, then ...
5
votes
1answer
872 views

How do I write a Screenlet?

I'm trying to write a screenlet. It should basically just display a background (could be generated in screenlet or svg) and display some text. I know about the template screenlet and documentation, ...
1
vote
1answer
967 views

symlink for dbus headers

Source code for something that won't compile has the line #include but in real life that header file is in /usr/include/dbus-1.0/ Similarsituation exists for the dbus-c++ package. Why doesn't ...
2
votes
3answers
2k views

How do I save files in /var/www in netbeans?

http://www.howtogeek.com/howto/ubuntu/installing-php5-and-apache-on-ubuntu/ I followed that site and installed php on my ubuntu 11.04. I'm using net beans 7 rc1 to develop programs. A small problem ...
1
vote
1answer
244 views

How to decorate a GTK window like eg. the gnome-panel?

I would like to make a panel-like application, in appearance much like the gnome-panel. I would like to use GTK for this (although i've also looked into Qt), preferably using Python. How can i ...
4
votes
2answers
78 views

Hosting files, such as PDFs, alongside your code on Launchpad

I'm using Launchpad to host the code for my masters project and would like to host file that are ancillary to the project, such as documentation in PDF format, alongside the code. I've been looking ...
2
votes
2answers
484 views

Fortran and C IDE

I am currently working on a Fortran 77 program which includes several C routines, and using the KDevelop 3.5.3 (Using KDE 3.5.11) IDE for that matter. I had to stick to KDevelop 3.5.3 since the newer ...