Questions tagged [programming]

Questions about programming for and on Ubuntu.

Filter by
Sorted by
Tagged with
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 ...
Tim's user avatar
  • 635
128 votes
5 answers
966k 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.
user avatar
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 ...
lofidevops's user avatar
  • 20.9k
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, ...
david25's user avatar
  • 2,207
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 ...
18 votes
2 answers
77k 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: ...
j0h's user avatar
  • 14.8k
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 ...
Ingo's user avatar
  • 6,288
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 ...
j0h's user avatar
  • 14.8k
36 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?
Neal's user avatar
  • 887
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 ...
cortexuvula's user avatar
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 ...
Tim Lytle's user avatar
  • 926
1 vote
5 answers
4k views

How do I run my C program?

I am a newbie in C programming language. I am following a course right now, but I have a small problem which is run the file for testing. I have opened gedit and I wrote those lines of code: int ...
PhotonProgramming's user avatar
42 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.
Owais Lone's user avatar
  • 7,372
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?
Behzadsh's user avatar
  • 3,903
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,...
Programming Noob's user avatar
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 ...
Nootrino's user avatar
  • 657
8 votes
6 answers
15k views

Which window has current focus?

I'd like to know (programmatically) which window has current focus. Is there a window-manager independent way of discovering that? Otherwise, how does one determine which window has focus in Compiz ...
Erigami's user avatar
  • 4,466
4 votes
4 answers
10k views

C# on Ubuntu 12.04

Is C# a good choice for Ubuntu programming? For example, Unity, or applications that will run on Ubuntu? Am I doing good wanting to learn C# when I'm determined to stick with Ubuntu and develop on it ...
Not Amused's user avatar
3 votes
1 answer
7k views

Code completion for gedit

Is there any code completion plugin for gedit which supports all common programming lanuages (especially C and HTML/CSS)?
Ambar Mutha's user avatar
2 votes
1 answer
309 views

Installing a program on a ubuntu touch phone

I searched on the website but didn't found an answer. I heard a lot that developing an application with C, C++ or anything else. Is it really possible ? What I mean : Imagine I develop a program in ...
zilot's user avatar
  • 79
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 ...
Zango's user avatar
  • 5,011
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 ...
Nootrino's user avatar
  • 657
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?
user287536's user avatar
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 ...
crncosta's user avatar
  • 2,839
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 ...
8128's user avatar
  • 28.7k
15 votes
1 answer
5k 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.
Michael Forrest's user avatar
9 votes
3 answers
28k views

How I can monitor new files in a directory and move/rename them into another directory?

A program generates output textfiles, named output.txt, after every 15th iteration of a certain process. Doing so, it overwrites the last output.txt. I want to keep the files however, and I can't ...
Sajid Iqbal's user avatar
8 votes
2 answers
7k 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?
vhbsouza's user avatar
  • 448
7 votes
6 answers
12k views

What editor is as good as TextPad for compiling and running Java programs? [duplicate]

I want an editor that is as good as TextPad (for Windows) for compiling and running Java programs on Ubuntu 12.04. Please suggest one.
Ankit's user avatar
  • 6,779
7 votes
2 answers
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 ...
fiktor's user avatar
  • 307
4 votes
3 answers
2k views

Any IDE's in Ubuntu for Windows Development with C Sharp?

I'm wondering if you folks could steer me toward some Window's Dev IDE tools for ASP.Net and or C Sharp? Is there a good site for finding IDE's for Ubuntu? I've not totally installed yet, just looked ...
Tim's user avatar
  • 51
4 votes
3 answers
3k 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 ...
Black Block's user avatar
  • 4,991
3 votes
2 answers
232 views

What language is the Ubuntu Software Center written in?

Just been wondering, since elementary AppCenter is written with Vala and Gtk+3. Also, what GUI wrapper does it use?
TellMeWhy's user avatar
  • 17.5k
3 votes
7 answers
3k 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 ...
John's user avatar
  • 691
3 votes
6 answers
6k views

What Programming Language Would Be Best For Ubuntu Programming? [closed]

Hi I've recently switched from Windows 7 to Ubuntu 12.10 and love the OS. However I have had trouble deciding which programming Language would be the all-around best for Ubuntu programming. I have no ...
Brooks's user avatar
  • 231
3 votes
3 answers
4k views

What is the best Fortran 77 IDE?

I use Ubuntu 12.04. I need to do some coding with Fortran 77. I have'nt found any IDE for Fortran 77. What is the solution?
CodeMascot's user avatar
0 votes
2 answers
2k views

bash script – for i in {x..y} [duplicate]

i am writing a script in bash and I would like to give the two numbers in the brackets, x and y to be precise, as variables. I wrote the script this way: echo "x?" read x echo "y" read y for i in {$...
Giovanni Di Mauro's user avatar
-2 votes
1 answer
3k views

IDEs for running C# programs in Ubuntu [closed]

Which is the better option for running C# programs in Ubuntu? using Mono and compiling in the terminal Microsoft Visual Studio Code Microsoft .NET SDK.
Kai Iyer's user avatar
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 ...
Muhammad Charaf's user avatar
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? ...
Jacob's user avatar
  • 1,120
53 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?
Marty's user avatar
  • 2,095
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 ...
bean's user avatar
  • 353
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?
printf burner's user avatar
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 (...
fffdf's user avatar
  • 249
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 ...
Stefano Palazzo's user avatar
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.
nixnotwin's user avatar
  • 5,023
10 votes
3 answers
49k views

Do we have to install Python or It is already installed in Ubuntu 14.04LTS?

I need it for learning Python language. Please Help!
Mervin Jacob's user avatar
10 votes
2 answers
5k views

Is there a programmable way to tell if the screen is locked?

I have lots of stuff in my crontab, including some that talks to my screen. If I'm not there for it to be notifying, I don't really want it to run. Is there a way I can check to see if the computer ...
Dave Jacoby's user avatar
8 votes
2 answers
618 views

Is it possible to alter and update the status icon of a running indicator applet?

I'm trying to create a simple application indicator that mimics the CPU load applet for the gnome-panel. I currently do this by updating (overwriting) the status icon of the indicator with the new ...
htorque's user avatar
  • 64.8k
8 votes
2 answers
21k views

What computer languages do Linux-based OSes use?

What programming languages are used to make/create Linux-based Operating Systems?
Bacco Diranga's user avatar