Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

-1
votes
0answers
11 views

normal distributions vs studio oriented distribution [on hold]

I am new to ubuntu and I am interested in development(programming) and music at the same time. I am thinking of installing AVlinux for my music creation. My question is can I still be able to proceed ...
0
votes
0answers
21 views

Good programming/coding laptop [on hold]

Hello I am looking for some input on a good laptop for programming/coding any thoughts.I already looked up the operating system I plan on using and it is ubuntu.And i have a budget up to $1,400.
0
votes
0answers
19 views

Linux executable file [duplicate]

Are there anyway to build a Linux executable file or .DEB? I have been trying to make my plain game file that can be built into either .exe or .DEB But I don't know how? I will need a very simple ...
0
votes
0answers
7 views

Is there a way to properly format an Ubuntu font?

I'm trying to distribute Ubuntu Mono Regular with a Media Player I'm developing: https://github.com/ki4jgt/SIMP It is my understanding that a font is defined like in line 27 uMono = ...
0
votes
1answer
21 views

Can not run a command at startup in ubuntu14.04 LTS

I am trying to run command with start up of computer, for that I add the command in cd /etc && sudo gedit rc.local But still when I restart the computer it's not running automatically. I have ...
-2
votes
0answers
24 views

How to run a C program that compiled on other linux distro?

I am using Ubuntu Linux and Kali Linux both so, I compiled a C program on Kali and tried to run on Ubuntu but it gave an error Permission Denied?
3
votes
3answers
193 views

Is Ubuntu or Linux OS more on coding? [closed]

There is some problem when install this OS because I cant connect to wifi so i saw some tutorial about using nautilus keyword and works. I switch to use Ubuntu just now but is Ubuntu more on coding or ...
0
votes
1answer
32 views

Programming on Ubuntu [closed]

To begin with I'm a new Linux user, my distro is "Ubuntu GNOME 15.04" if that matters. I would like to start writing code on Linux, I have to install editors, compilers, IDE etc just like windows or ...
0
votes
0answers
25 views

How does Click/Snappy solve dependency issues?

There is a bit of confusion surrounding click and snappy. For one, I understand that there are certain packages that are not allowed to be shared due to app-armor. For example, if I write a Qt ...
12
votes
2answers
689 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: ...
0
votes
2answers
67 views

How to encrypt or protect folder with password in ubuntu 14.04

Myself looking for encrypt or protect folder with password. Myself found some programs, but they are not enough. I need a way to protect folder with password , whenever i access the folder it will ...
0
votes
0answers
14 views

Would there be any disadvantages to using Pyglet for GUI programming?

On Linux systems (such as Ubuntu), would it present a problem to program a GUI (for a media player) using OpenGL? I don't like WXPython b/c it's ugly as poop and PyQt requires a license when being ...
0
votes
1answer
36 views

Streaming a raw data bytes by byte into gstreamer pipeline

I have a problem that a gstreamer pipeline which has to take raw data byte by byte into pipeline, and it has to played. I have used appsrc to stream a data chunk by chunk into pipeline but it is not ...
2
votes
1answer
43 views

How to multiply negative numbers in bash

This is my script for multiplying negative numbers #!/bin/bash p="1" h="-10" z=$(echo "(($p)*($h)+2"| bc -l) echo $p $h $z and this is the result (standard_in) 2: syntax error 1 -10 how to ...
0
votes
0answers
17 views

How do I install Game Maker

I went to a page that claimed to have sucessfully installed Gamemaker ( the old version 8.1 legacy program by Mark Overmarrs. However despite doing the following (after first seeing if WINE would do ...
0
votes
0answers
20 views

Is it acceptable code style to leave binding loops in QML applications?

Backstory: I am working on a patch for the ubuntu-filemanager-app that will shrink the fontSize: for a Label {}, if the width: is larger than the window size. Think this: Label { id: myLabel ...
0
votes
0answers
20 views

creating nested loop within ftp

echo "which stations you want to download (example input, brmu ankr) ? : " read stations echo "which years interval (example input, 2013 2015 or 2010 2010)? :" read year echo "which days of year ...
1
vote
0answers
45 views

What are the advantages of using GTK3 and GTK+3 over GTK-2?

I'm creating a utility program for Ubuntu in Python using GTK-2 and have been told by several people to use GTK3. Why would I want to do so, and would are the advantages of using it instead of GTK-2? ...
0
votes
1answer
41 views

Which system monitors are able to show me a non-rounded memory usage?

Backstory: I am trying to detect memory leaks in a program by viewing the memory used from the system monitor, and seeing if it rises while doing a certain activity. System Monitor unfortunately ...
1
vote
2answers
92 views

What is the best C compiler and IDE for Ubuntu? [closed]

I want to write c or cpp code on Ubuntu. I am new in this platform.Which one is best IDE and compiler for Ubuntu?
3
votes
1answer
868 views

What is the logical mistake in this code?

I have written some code for downloading favicons. It has a logical error which I am not able to see. #!/bin/bash ico="1"; if [[ $ico =~ ^-?[0-9]+$ ]]; then wget -P $HOME/Downloads/ ...
-1
votes
2answers
54 views

Strange behaviors in adding integers from Python script [closed]

This python script is adding the sums of the numbers entered in a single line delimited by space except that it is not adding correctly. Thanks in advance. Print "Enter Numbers:" ...
-1
votes
1answer
33 views

first in c++ program don't compile and execute [closed]

#include<iostream> using namespace std; int main() { cout << " hello world !! good job nothing & something" << "\n" ; cout << " i jitendra singh in ...
0
votes
1answer
39 views

Using in-house programs in C++ with a DLL library in Ubuntu

I have a number of in-house programs coded in C++ using microsoft visual studio and a microsoft .dll librairy. I'm serching for a way to use those programs in Ubuntu without having to change all the ...
1
vote
1answer
35 views

how to make my own drivers? [closed]

I am learning basic c++ now, and am still learning the ins and outs of Linux. How can I learn to make drivers (keyboard etc.) For Ubuntu?
0
votes
2answers
43 views

New program development - need help

I would like to develop a new program for Ubuntu that will monitor the user's activity ,If user frequently uses a particular software "X" in certain time (like 8:00 A.M - 10:00 A.M ) ,when the time ...
0
votes
1answer
190 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 ...
-1
votes
3answers
261 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
76 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
33 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
43 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
39 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
62 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
220 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
25 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
19 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
74 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
78 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
70 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
46 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 ...
2
votes
1answer
100 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
33 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
48 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
151 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
89 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
23 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
315 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
233 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
815 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
65 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]. ...