Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

0
votes
4answers
22 views

Help with reminder script in Bash

I have stacked trying to make a simple reminder script which can compare the running date with the date that a file has. for example I have a file that contains: Apr 25 2015 cycling \n Apr 26 2015 ...
0
votes
2answers
266 views

My CPU usage is unnecessarily high while creating a C program in Ubuntu 14.10

I have an MSI GE60 2PC Apache model Gamebook. I also use it for my collage work. It runs Ubuntu 14.10. I have a CPU usage problem while creating a ".c" file. I use the default text editor; while I ...
0
votes
1answer
12 views

How to make geany or vi understand Maxima (or any other less known) syntax

I tend to program a lot in a symbolic language called Maxima, but I haven't found any editor that highlights its syntax. Is there I way I can make vi or geany (or whatever) understand this syntax and ...
1
vote
1answer
468 views

How to add more languages docs to Devhelp? (Java etc)

I was wondering if there is a way to add more languages (such as Java, C, C++ etc) to Devhelp. I know that there is a software named zeal, but Dev help seems to be more mature. By the way, I'm on ...
1
vote
2answers
38 views

GCC Fatal Error

everyone Here's my problem; So, I'm new to Ubuntu and programming and I just wanted to start with C. I created the classic "hello.c" file #include <stdio.h> main () { printf("Hello ...
1
vote
0answers
41 views

Start programming [closed]

I am a beginner ubuntu user, and I am interested in learning a programming language. My demands are that I would like it to help me master the command line, and be a good base voor learning future ...
10
votes
3answers
9k 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 ...
0
votes
1answer
13k 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. ...
5
votes
1answer
1k views

warning messages while compiling c program using gcc [closed]

I am new to linux. I use gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 on Ubuntu 12.04 LTS. When I compiled the c program using pointer, I got the -Wformat warning as shown below. But if I execute a.out ...
55
votes
14answers
8k 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 ...
0
votes
2answers
26 views

Installation with wine error

I downloaded vds 6.0 (a script type programming language for windows OS's) and now I am trying to install it in ubuntu 14.04. I looked at wine app database and I found that vds 6 works on wine. Here ...
1
vote
0answers
11 views

I can't log back in my Ubuntu account after logging out (I have a cromebook acer C720)

I have installed ubuntu on my crome book (acer C720) and when I was updating something I dicided to log out (I usually hit shut down and I would be able to get back in) and now I can't get back in.
1
vote
1answer
54 views

How to run C program on 14.04?

I'm trying to run some C programs using Geany and Code::Blocks. After coding them, when I run them, a message is showed in the terminal like this: In Code::Blocks: sh: 1: /home/c program files/2: ...
4
votes
1answer
702 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 ...
8
votes
2answers
4k 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 ...
17
votes
3answers
13k 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.
26
votes
7answers
8k 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.
0
votes
0answers
71 views

Arduino COM port

Everything was fine until arduino IDE suddenly closed my COM port and sent me a message about error when opening COM port. processing.app.SerialException: Error when opening serial port ...
23
votes
3answers
4k 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?
1
vote
0answers
43 views

Catch program crash when there is no terminal

This question may belong to Unix/Linux in general, but I guess the answer is dependent on distro or desktop environment [I use KDE and Xfce so I would like an answer that is applicable on booth]. ...
4
votes
5answers
724 views

How can I run a program and watch its activity using top?

I have a small program which I compiled myself. It’s CPU intensive, so I want to watch the CPU usage when it’s working. However, when I run ./myprog, I can’t run top immediately and sequentially.
25
votes
8answers
9k views

Multiple terminal windows

I develop code. I use terminal alot. I use many terminal windows alot. I hate how tabs look. Any useful applications that allow for multiple terminal use, and streamline my development. allow me to ...
0
votes
0answers
23 views

Programming in Linux [duplicate]

so I've never used Linux as a programmer I code C++ in Windows(I am newbie) and today I installed Code::Blocks.I opened some of my projects from Windows but Code::Blocks can't include some of the ...
0
votes
1answer
41 views

Is there any application which interacts with the user? [closed]

I'm very comfortable while using Linux or Lubuntu although Windows seemed a little faster but it hangs at a certain point. So I would like to thank all the programmers of Linux I really liked it .. ...
0
votes
0answers
27 views

Programming and debugging embedded systems using Ubuntu

I have switched from Win7 to Ubuntu and I got some problems to configure toolchain for programming embedded systems. On Windows I have used Em::Blocks with GDB and J-Link from Segger. It was very ...
0
votes
0answers
13 views

grub cursor position

after an incident that happened years ago caused by tee, my "down" button didn't work anymore. Now I want to set my cursor position in to the bottom. My Aim is that I can use the up button to choose ...
0
votes
1answer
66 views

How do i write a terminal script to setup ubuntu for me instead of spending days every time?

From what I understand I can make a text file with all commands same as I would type in terminal, make it executable and run it. Would running sudo mysetup.sh or mysetup.txt be OK so not typing PW ...
18
votes
4answers
6k views

Any PPAs for Google's Go Language?

Do you know of any URLs for PPAs of Google's Go Language?
0
votes
3answers
290 views

What is the best editor for HTML, CSS etc? [duplicate]

in Windows I'm using Komodo & Notepad++ for coding HTML, CSS etc. In Ubuntu, what's the best editor I can use? Thanks :)
0
votes
1answer
14 views

Loading Session Applications

How does Ubuntu Load previously opened applications on startup? (I want to code and modify that functionality present in the system preferences manually )
14
votes
7answers
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
5answers
130k 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.
0
votes
1answer
20 views

How can I delete menus in Glade?

I'm writing a program using Quickly and I can't figure out how to delete menu bar entries.
1
vote
3answers
148 views

Start a programs in terminal only by name

I'm new to the Linux environment and I noticed there are many programs of which we can use only the program name to start them in the Linux terminal. E.g. gedit, vi, firefox Instead of providing ...
0
votes
1answer
77 views

Cobalt theme for Geany?

Is there any cobalt theme available for Geany Editor just like Gedit cobalt theme? Also how to install these themes. Is there any way we can create our own theme for these types of editors?
-1
votes
1answer
60 views

What programming language would be ideal for making a note taking app for Ubuntu in which you use a wacom digitizer app? [closed]

I have some, but not much experience in programming, so I decided that now that I will have some spare time, I'll choose one language and try to master it to a level. I am not sure which language ...
0
votes
1answer
220 views

OSError: [Errno 101] Network is unreachable

When doing a network broadcast from Python, I get this: OSError: [Errno 101] Network is unreachable My code is as follows: def send(ip, message): sock = socket.socket(socket.AF_INET, ...
0
votes
0answers
29 views

Fortran Compiler

I 'm programming in Eclipse platform,I intend to install Phortran compiler on eclipse but every time I try to install the plug-in,There 's an error in installation PTP,Distribution that I 'm using is ...
1
vote
0answers
60 views

How do I bundle a python interpreter in my qml app?

How do I bundle a python interpreter in my qml app? I can not use the system's python interpreter due to the nature of Ubuntu’s new Click Packages, and App-Armour. How do I do this?
0
votes
0answers
23 views

Check a programming language module or library information before installing and downloading

With aptitude, we can do something like: aptitude search package-name to display availability. aptitude show package-name to display package information. aptitude why package-name to display reason ...
1
vote
2answers
46 views

No editors installed to fix sources list

I 'm in Ubuntu 12.04 but I'm using it with crouton in a Chromebook, the terminal emulator it uses is UXTerm but it seems that it doesn't have any editor installed - gedit, nano and pico are all ...
0
votes
0answers
80 views

Detect charset encoding

Need good tool to detect encoding of the strings using some kind of mapping or heuristic method. For example, String: áÞåàÐÝØÒ ÜÝÞÓÞ ßàØÛÞÖÕÝØÙ Java, ÜÞÖÝÞ ×ÐÝïâì Òáî ÔÞáâãßÝãî ßÐÜïâì Expected: ...
-1
votes
1answer
269 views

Is Ubuntu a good Linux OS for php developer? [closed]

I want to switch from Windows OS to Linux OS for developing in Php. I can't decide which Os is perfect for me. Please suggest me. Is Ubuntu a good choice for a Php developer? What are the pros and ...
5
votes
2answers
373 views

How to write an internationalized manual using gettext?

I need to write a manual to the software I made. If it possible to use gettext when writing a manual, or other documents?
1
vote
3answers
186 views

Someone tell me why people writing GNU code use { like that? [closed]

I saw the rules on how to type code for UNITY project or GNU software in general. Why do they write code in such an ugly form? Is there a particular reason why they don't put brackets the way (from ...
0
votes
1answer
192 views

using system(“clear”); command to clean the screen yet last line printed. using GNU gcc compiler please help

I am using 'system("clear");' command to clean the output screen yet the last line printed is displayed.I am using Geany text editor using GNU gcc compiler.Please help and tell me clear the whole ...
1
vote
2answers
179 views

Unendable question C or C++ [closed]

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 ...
2
votes
0answers
78 views

Ubuntu Touch App with Simple UI (QMake) - how to connect C++ to QML

I've noticed that the Ubuntu SDK now has a template for an 'App with Simple UI (QMake)'. This creates a C++ Ubuntu application project with a sample UI containing a Label and a Button (Needs a 15.04 ...
-1
votes
2answers
497 views

Is Gedit-3.14.2 available for ubuntu?

From where I will get gedit latest version? Current I have 3.10.4 installed on my Ubuntu version 14.10. Do we have any ppa available to download latest gedit?
0
votes
1answer
85 views

How do I write perl code for following example? [closed]

I have file content like this: aaa accounting exec ... aaa accounting exec ... aaa accounting commands .. aaa accounting commands .. aaa accounting commands .. aaa accounting commands .. aaa ...