Questions tagged [programming]
Questions about programming for and on Ubuntu.
573
questions
128
votes
5
answers
974k
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.
79
votes
12
answers
10k
views
How to learn vim on a high level? [closed]
I know that vim (like emacs) is very powerful editor for programmers, as long as you know how to use it, its shortcuts, and so on. What steps can I take and what tutorials can I read to become an ...
60
votes
13
answers
30k
views
What advantages does Ubuntu have over Windows as an environment for programming?
Why is writing a program in text files or via the terminal a better option (as I read) than using IDE(s) like Visual Studio on Windows?
Do the features an IDE provides exist there (eg. showing ...
57
votes
5
answers
87k
views
Is knowledge of C# of any use in a Linux system?
I know C# and I like to switch between systems and use Linux. Can I use C# to build applications that will natively work on Linux? What should I do to make use of my knowledge of C# in a Linux system?
...
54
votes
8
answers
26k
views
Any PPAs for Google's Go Language?
Do you know of any URLs for PPAs of Google's Go Language?
47
votes
2
answers
3k
views
I want to fix a bug. Where do I start?
Although I am not a professional programmer, I have written a program or two. Yet, nowadays every engineer and scientist learns to program a bit as well, and as such I am used to writing programs in ...
44
votes
5
answers
13k
views
Native, FOSS GUI prototyping tools? [duplicate]
As part of my job as a web developer, I spend an amount of time doing UI prototypes to show the client. It's a pain in the behind but sometimes it has to be done.
I've seen Shuttleworth (and the ...
43
votes
4
answers
78k
views
Can I write programs in C# on Ubuntu?
I am forced to learn and practice C#, is there any applications that support and can be used to write programs in C#?
43
votes
8
answers
29k
views
How do I develop .NET apps on Ubuntu?
at college we use Microsoft .NET for developing applications. I recently switched to Ubuntu and would like to know similar tools for making apps on/for ubuntu.
42
votes
18
answers
65k
views
Is there a Visual Studio style tool/IDE? [duplicate]
I have been developing in the windows space with Visual Studio for a while now with work, but I have also been using Ubuntu for a while and am keen to get into some software development for linux.
I ...
41
votes
5
answers
89k
views
How Can I Add, and Use, a Color Scheme for Geany?
I have found that one of my favorite text editors for programming is Geany, however the default color scheme is very bright and hurts my eyes when programming for awhile. There are other color schemes ...
38
votes
8
answers
20k
views
Keeping multiple terminal windows in focus
I write code. I use terminal a lot. I ofter use many terminal windows. I hate how tabs look.
Are there any applications that allow me to keep multiple terminal windows in focus to streamline my ...
38
votes
2
answers
7k
views
How do I create a PPA for a working program?
Let's assume I have a working application written in C, C++ or Python. I want to create a Launchpad PPA so others can easily install it from a package. Please give step by step instructions for doing ...
37
votes
7
answers
163k
views
How could I begin C++ programming on Ubuntu?
I recently switched to Ubuntu from Windows 7. I was previously learning C++ with Microsoft's IDE, Visual Studio.
How would I go about programming C++ on Ubuntu, preferably with an IDE?
35
votes
7
answers
5k
views
I am looking for a small (Ubuntu) open-source-project for which I can code
I have basic C and C++ programming skills as well as a little bit experience with gtkmm and Linux-programming in general (not to forget I have lots of spare time). I want to participate in an Ubuntu ...
34
votes
15
answers
10k
views
C programming suites/IDEs
I know that asking for something like Visual Studio is too much but something that will let me write, debug and compile in a GUI instead of the command line is good enough for me. (Not that I'm lazy, ...
34
votes
3
answers
53k
views
Installing gtk development environment
Not new to Ubuntu or programming but I am new to programming in C and gtk. Have been using Quickly for the odd program. I want to play around with C and gtk.
What gtk packages do I need to install to ...
32
votes
3
answers
19k
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 ...
30
votes
9
answers
22k
views
What BASIC intepreters are available?
Was asked by a new Ubuntu user - who also wants to learn about programming - what he could use to run BASIC code. He was working through a BASIC book before trying out Ubuntu, and he'd like to ...
29
votes
4
answers
6k
views
How do I make a program quit with "q" and restore the console like "man" does?
The man command closes when you press q and restores the console to like you previously had it.
What is this called?
How could you make another program behave in this manner?
29
votes
2
answers
55k
views
Why won't strace/gdb attach to a process even though I'm root?
I logged in as root but strace gives me this:
root@kyznecov-System:/home/kyznecov# ps -e | grep 111
3807 pts/2 00:00:00 111
3810 pts/2 00:00:00 111
root@kyznecov-System:/home/kyznecov# strace ...
28
votes
4
answers
10k
views
Would Android apps be able to run in Ubuntu touch natively?
I'm wondering why Android apps won't be able to be run natively on Ubuntu Touch. I mean, isn't it all just Linux?
28
votes
1
answer
2k
views
(QML) Flickable not working as supposed
So, while building an Ubuntu app I needed to use flickable for scrolling, so now I have code of the form
Page{
...
Flickable {
anchors.fill: parent
content.height: element1.height + ...
27
votes
3
answers
5k
views
How do I propose my project to be part of Debian too?
I have a new project hosted at launchpad.net. My project can be useful for both: Ubuntu and Debian. However, I can't find a documentation to start host my project at launchpad.net and get my package ...
26
votes
6
answers
28k
views
How to program for Windows in Ubuntu?
Is there anyway to create (C++ or C#) windows console applications inside Ubuntu's IDE (e.g Anjuta) and compile it for Windows?
24
votes
5
answers
48k
views
How to compile and run a COBOL program?
Can anybody explain me how to compile and run a COBOL program in Ubuntu? I have never written any program in Ubuntu. Please, give me a simple program to compile and run.
23
votes
4
answers
19k
views
How do I make Geany my default editor on Ubuntu?
I actually want to change the default text editor on my Ubuntu 12.04 from nano to Geany. When I used this code:
update-alternatives --config editor
.. I don't see Geany in the list.
So to add Geany,...
22
votes
5
answers
13k
views
What programming languages should I learn to become an Ubuntu developer? [closed]
Although I have used NetBeans once for a project, what languages do I need to learn to become a full-fledged Ubuntu developer?
My project in NetBeans (Java only) was to design a calculator (...
19
votes
1
answer
50k
views
Can I develop iOS Applications in Ubuntu without using a virtual mac OS system? [duplicate]
I'm a developer of Android applications and a java programmer. I'm learning IOS programming but I don't have mac OS; I use Ubuntu.
I want way to program IOS apps in Ubuntu without using a virtual ...
19
votes
2
answers
4k
views
Putting an arbitrary gtk.Widget into an appindicator.Indicator
Putting any gtk.Widget inside a gtk.Menu works, somewhat, by putting an empty gtk.MenuItem in first. It doesn't seem to be reliable - but it basically works. With an appindicator.Indicator, it doesn't ...
18
votes
3
answers
25k
views
Valgrind does debug error
I have been trying to follow the online tutorial for
Learn C The Hard Way.
However after setting up valgrind (I followed other links that help setting up valgrind on ubuntu 12.04), when I try to ...
18
votes
8
answers
17k
views
Which IDE should I use for Vala?
I think the title explains it already...
18
votes
2
answers
78k
views
Is there an easy way to log all activity that a shell script does?
Is there an easy way to log all activity that occurs from a shell script to a file?
I have a script. It outputs things like echo "instructions", as well as other program output. I know the commands:
...
17
votes
4
answers
48k
views
How do you check if a property is undefined in qml?
How do you check if a property is undefined in qml?
This is what I am trying to do:
Button {
id: myButton
text: if (text === "undefined"){"default text"}
}
17
votes
2
answers
40k
views
Which is the best git client for linux? [closed]
I am moving out of a windows enviroment where i used Tortoise Git. I heard linux git clients are pretty poor... can you guys help me finding a good one?
16
votes
2
answers
32k
views
VB.NET programming in Ubuntu
I have just started at sixth form college, and I'm going to take a Computing A-level. I have been informed all the programming in the first year is in VB.NET on Windows (I believe you are allowed more ...
16
votes
5
answers
32k
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 ...
15
votes
5
answers
1k
views
User guide for users migrating from Windows?
I am new user for ubuntu. I want to use ubuntu for my python development.
I used windows7 for .net development.
Is there any guide which help me in migration from Windows to Ubuntu?
15
votes
1
answer
6k
views
How can I make and distribute an Ubuntu screensaver?
I have no programming language preferences and I have a good knowledge of OpenGL coding. If I could use something like OpenFrameworks or Processing as a base, that would be ideal.
14
votes
7
answers
2k
views
Wanting to start development for Ubuntu (and most Linux distributions in general), which is suitable? Python or Vala? [closed]
I'm a computer science graduate, and learned languages like C, C++, C# and Java. Though I have more experience with Java. I want to develop for Linux and I'd prefer to develop for GNOME, I'm confused ...
14
votes
1
answer
12k
views
How can I get tab-completion in the interactive Python interpreter?
I often use Python 3000's interactive interpreter, but it's missing the convenience of tab-completion I'm used to from ipython, which isn't available for Python 3.x.
How do I enable tab completion in ...
14
votes
1
answer
26k
views
Run program from a shell script but behave as one process only?
Is there a way I can execute an application from a shell script but not create another process. I want it to look like one process only. It doesn't matter whether my shell script is replaced by a new ...
14
votes
1
answer
891
views
How to enable overlay scrollbars in my app?
I'm testing my app in Natty 2nd beta, in which most applications are showing the new overlay scroolbars, I guess only non-native GTK apps can't show it (like LibreOffice or Firefox).
My app is coded ...
13
votes
2
answers
31k
views
How do I set up an OpenGL programming environment?
I want to setup openGL programming environment on ubuntu. What packages or tools I should install and what is the best way of getting into openGL as a newbie.
12
votes
1
answer
6k
views
How can I write a dynamically updated panel app / indicator?
I am trying to write some panel apps for ubuntu Mate.
I know C/C++, and SDL reasonably well.
I have seen the Mate-University panel apps github page, but i cannot get it to work properly / Im having ...
12
votes
2
answers
15k
views
What's the difference between python-minimal and python-all?
Basically the question. I need to setup an environment that supports tkinter programming in python and maybe some network socket stuff too. I'd also like to emphasize that I need python 3.
11
votes
4
answers
4k
views
Which language is ubuntu-desktop mostly coded in?
I heard it is Python
11
votes
5
answers
36k
views
How to use Verilog HDL on Ubuntu?
I tried to begin a small course with some examples in Verilog HDL, and after spending much time searching for the best Simulator or IDE to practice with some examples, I failed to figure out how to ...
11
votes
4
answers
26k
views
How can I create a new socket in /dev?
I want to create a new socket file in /dev. Does the way to get it is adding a new rule to udev?
11
votes
2
answers
2k
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 ...