Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

0
votes
0answers
11 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
16 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 ...
0
votes
1answer
30 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; ...
2
votes
0answers
8 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
0answers
21 views

Python Imaging Library (PIL) in UNIX jpg - bmp [on hold]

The Python Imaging Library (PIL) is meant to Convert a jpg (Jpeg) image into bmp (Bitmap) image on python. I am attempting to have this program on UNIX Operating System on a raspberry pi and cannot ...
-1
votes
0answers
17 views

Should I study “Advance Programming in the Unix environment” for understanding ubuntu? [on hold]

As I come to know the book is very much old. I don't have computer background. I learn by myself. Also i have "Unix Network Programming" and "TCP/IP Illustrated, Volume 1" by the same author ...
1
vote
1answer
53 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 ...
14
votes
5answers
135k 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.
1
vote
0answers
12 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
78 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
20 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?
54
votes
13answers
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 ...
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
28 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 ...
2
votes
2answers
143 views

What's the best approach in migrating currently C# and VB.net (Windows) developed applications?

I would like to start to "translate" my Windows applications to Ubuntu users. These are mainly CRMs or CRM related programs written in VB.net and C#. What would be the best language and IDE for these ...
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.
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
22 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 ...
22
votes
18answers
18k 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 ...
0
votes
1answer
35 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 ...
17
votes
3answers
30k views

Completely Remove Ruby + Rails + Gems?

I have messed up my ruby dev environment on Ubuntu 10.04. I need to install Ruby this time using RVM. What is the best possible way to remove: Ruby All Gems RubyGems From my machine, so that I ...
1
vote
1answer
63 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
2answers
304 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
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
1answer
489 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
54 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
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 ...
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
14k 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
2k 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 ...
0
votes
2answers
34 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
13 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
76 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
713 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.
0
votes
0answers
113 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?
4
votes
5answers
758 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
44 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
32 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
70 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 ...
19
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
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 )
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 ...
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.