Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

0
votes
2answers
27 views

Visual Studio alternative for Ubuntu? [duplicate]

I write programs in Windows casually (apps like notepad, web-browser etc.). But I don't see a good alternative available. I have used Mono but it is not one bit like Visual Studio. I am having a tough ...
0
votes
3answers
66 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!
0
votes
0answers
20 views

How do I fix Blurry Sublime Text 3 graphics?

I have this problem where I get a lot of buggy visuals in Sublime Text 3, any help? I have the following packages installed: bracket highlighter, tag, trailing spaces, sublime linter buggy text ...
0
votes
0answers
17 views

Modifying user accounts using Java Ubuntu 14.04 LTS

I'm trying to make a java program that retrieves the list of users on the machine and allows the user to delete users that shouldn't be there. I'm really new to Ubuntu and I know on Windows you can ...
2
votes
0answers
16 views

Two webcams of the same model are not working

I've been developing a dual webcam system for stereoscopic purposes, in a linux enviroment, using c++ with the opencv library The ideal setup would be with 2 webcams of the same model, but it didn't ...
0
votes
1answer
31 views

How to maintain a counter across multiple executions of a script?

I have a script with a conditional statement and I want to find out how many times the then clause is executed, across multiple runs of the same script. eg: if [condition] then Some code; ...
1
vote
0answers
17 views

How to get gnome session idle time?

Has the method to get the session idle time through dbus changed in the recent Ubuntu or my dbus code here is wrong? #!/usr/bin/env python import dbus bus_name = 'org.gnome.ScreenSaver' obj_path = ...
4
votes
3answers
84 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 ...
3
votes
1answer
22 views

Store in environment variable

I tried storing the contents of a file in an environment variable using one of those commands. a= cut -f 1 abc.txt cut -f 1 abc.txt >a neither works . So , can anybody help me out?
1
vote
0answers
17 views

How to prevent system updates from crashing my software? [closed]

This question is more related to coding practices. What do you guys do while programming, as a safety net, to avoid having system updates ruin the functionality (or the output) of your program? How ...
1
vote
1answer
34 views

How to show Aptana Studio 3 in the “Open with” list?

I've downloaded Aptana Studio 3 from their site and installed it successfully. Now it is showing in the Dash search. Problem is that, when I right click on any file (i.e HTML, CSS, PHP etc.), the ...
0
votes
0answers
29 views

Ubuntu 14.04 LTS + cnc plasma

I need some help with my project. I'd love to use Ubuntu 14.04 LTS for my cnc plasma table, but I don't know which programs do I need and how to install them (LinuxCNC does NOT work with my laptop so ...
1
vote
1answer
54 views

Ubuntu Phone - detect system type Desktop or Mobile

Is there a way to detect platform from QML or Qt C++ classes? I have Qt/QML project supplied to Linux/Android/Windows at one time, I see it's possible to deploy it to Ubuntu Phone. Is there a way to ...
0
votes
1answer
38 views

Recommended Languages to Learn Linux [closed]

This is a very common question i might be asking, but I have not come through a clear cut answer yet. I want to be a fully Linux Developer, (BOTH Backend/Coder and GUI). Which programming Languages ...
1
vote
1answer
68 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 ...
0
votes
1answer
15 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
0answers
44 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 ...
1
vote
2answers
55 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 ...
0
votes
2answers
39 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
15 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
87 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: ...
0
votes
0answers
121 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 ...
4
votes
5answers
764 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.
1
vote
1answer
53 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]. ...
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
45 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
33 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
71 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
3answers
1k 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
18 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 )
0
votes
1answer
22 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
163 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 ...
-1
votes
1answer
66 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
308 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
33 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 ...
0
votes
0answers
25 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
0answers
70 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?
1
vote
2answers
47 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
103 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
366 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 ...
2
votes
0answers
101 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
668 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
91 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 ...
0
votes
1answer
96 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?
0
votes
2answers
309 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
63 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
110 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 ...
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 ...
1
vote
1answer
71 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?