Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

0
votes
0answers
9 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 ...
1
vote
1answer
42 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 ...
0
votes
0answers
18 views

What are some ways to start out coding games in Python? [on hold]

I'm looking to create a 2D RPG similar to Final Fantasy 5 and 6, but I don't know what my options are. Please list instructions as well if possible, as I am a novice with Ubuntu. I am learning ...
18
votes
4answers
5k views

Any PPAs for Google's Go Language?

Do you know of any URLs for PPAs of Google's Go Language?
0
votes
3answers
56 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
13 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 ...
13
votes
5answers
119k 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
18 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
124 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
40 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
42 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
75 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
18 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
46 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
20 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
42 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
46 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
149 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
367 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
175 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
133 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 ...
0
votes
0answers
50 views

Localhost is extremely slow

I am developing a very basic PHP site on my localhost but it's taking over 5s to display a less than 10Kb page. It's fetching nothing from the internet and all my images, javascript files, css files, ...
1
vote
2answers
172 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
48 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 ...
0
votes
2answers
248 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
80 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 ...
1
vote
1answer
178 views

IDE for libpurple (Pidgin)?

I'm interested to develop an app using pidgin & libpurple, but how can I "import" the code to some IDE that manages GTK? someone use/is aware of one like that?
0
votes
2answers
161 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 ...
1
vote
0answers
35 views

Gtk.HeaderBar not appearing in Python Application [closed]

I've created a Python Application to which I'd like to add a Gtk.HeaderBar. However, when I try to run the code below, the window opens with no titlebar whatsoever. I have the code below: class ...
0
votes
1answer
75 views

Extending Python lightblue module to use multiple bluetooth dongles

I'm using the lightblue module and pybluez to send files via bluetooth to obex protocol object push. But I need to use multiple bluetooth dongles (3 and more) to send files to multiple devices (20 and ...
1
vote
1answer
55 views

How do I open C libraries and functions implementations?

I am having a problem that I cannot browse the header files /libraries to get the implementation of the C functions like mssget, msgsnd, shmat etc. How should I open these files?
0
votes
0answers
12 views

Using C++ in Ubuntu [duplicate]

I'm new to Ubuntu and and want to know how to run and compile programs in C++ Can i get a step by step detail please? I did try once but got only a blank thing nothing else i really want to use this ...
0
votes
0answers
186 views

Network Manager gui link to terminal network config listing 14.04

I am using 14.04. I am trying to figure out how the connections listed in Network Manager's GUI: is connected to the files found in /etc/NetworkManager/system-connections/ ...
0
votes
1answer
30 views

Can't find window builder on ubuntu

I am searching for window builder in eclipse.
-1
votes
1answer
48 views

Are QStrings mutable? [closed]

In python; strings are not mutable as far as I know. To change a string in python, you would have to create a new object. Is this the same for QString?
0
votes
1answer
20 views

How do you return a list of the current project folders and files of your current project in QtCreator?

I think Qt must have this, because QtCreator has a list on its sidebar: Ideally I am just looking for a Qt function that will just return this list. Thanks.
4
votes
3answers
689 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"} }
22
votes
17answers
16k views

Is there a Visual Studio style tool/IDE?

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 ...
1
vote
0answers
26 views

How do I develop for the Unity Control Center? [duplicate]

I found no source on how to create an entry in Unity Control Center. Is it even possible? What languages can I use? Edit: I'm searching for a method to have an entry appear in the Unity Control ...
4
votes
2answers
603 views

How do I detect when my system wakes up from suspend via DBus or similar in a python app?

In a background Python script I need to detect, when the system just woke up from suspend. What is a good way that does not rely on a root script but rather on python modules such as DBus? I'm new to ...
2
votes
1answer
442 views

How to automatically restart an application for using too much RAM or CPU

I'm going to be running an Ubuntu 14.04 LTS server that will have a few Garry's Mod (Half-life 2/Source based) servers running on it. I don't want any one of those servers getting out of line by ...
1
vote
1answer
188 views

Assembly: TASM illegal command

Few weeks ago I asked for a similar TASM compiler, but seems that the instructor wants nothing but TASM. So I installed this using wine in DosBox. But no matter what my code is, when I run tasm ...
0
votes
0answers
22 views

Extension to submit problem codes on Hackerearth, Codechef from editor

Is there any extension available in any editor to submit code directly from editor to the competitive programming sites like codechef, hackerearth, hackerrank, topcoder, codeforces etc.?
3
votes
1answer
398 views

Prolog files recognized as Perl

Prolog .pl files are shown as Perl files, both in files browser and in Geany/Gedit syntax-highlighting. Is there a way to let it recognized Prolog files as non Perl files?
1
vote
0answers
44 views

how to encode a shell script so others can run it but they can not read it

I want to encode a script, so others can run that script to get relevant result but when they run command cat it should throw output in encoded format.
18
votes
5answers
8k 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?
7
votes
1answer
816 views

Assembler similar to TASM on Ubuntu

I have an HP computer running 64-bit Ubuntu, so you could say Intel. I'm taking a assembly course at the university. The instructor wants us to use TASM. While it may run on wine I'm not sure about ...
0
votes
0answers
46 views

Ubuntu 14.04 Color Variable Troubles

I have tried all the links from the first 2 pages of google searches regarding editting the LS_COLORS variable, but I can't get it to work as expected. I want all my source code files to show up as ...
-2
votes
1answer
36 views

Make operating system with Ubuntu? [duplicate]

I just had a quick question is it true that you can make your own operating system with Ubuntu and if so where can i go to learn how to make my own operating system with Ubuntu. Thanks