Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

0
votes
0answers
3 views

Logkeys keylogger not working on Ubuntu box in Vagrant; appears to not see keyboard events

I'm trying to get logkeys to work on an "ubuntu/precise64" Vagrant box for a work project, but nothing is getting logged. I've spent several hours reading and trying to track down the issue. The ...
0
votes
0answers
9 views

opengl give the compilation error

I have install opengl in my linux and when I tried to compile the file it give the message this : gcc test.c -lGL -lglut -o test test.c:1:16: fatal error: gl.h: No such file or directory ...
0
votes
0answers
26 views

How should I start to learn c++? [on hold]

I have a good knowledge of programming in C and I want to learn c++. Should i start again from data types and variables ? Where from should I start with c++ if I know C?
0
votes
0answers
14 views

How do i install libraries for tcl programs?

I want to install all the libraries required to run tcl.However i dont have any error asking me the absence of any lib but i dont want to get stuck in middle of a presentation. Also nam is giving a ...
0
votes
1answer
47 views

Can I use Ubuntu for programming effectively? [on hold]

I am taking a course to become a programer and I am using Windows 10. Every time I do an update of Windows it loses all my code, and breaks genymotion. So, my question: Could I use Ubuntu for ...
1
vote
1answer
27 views

Run C++ program like a command from the terminal [duplicate]

Hi, I've created a small program in C++ I would like to run like a command from the terminal. With that I mean that I can open the program from and in the terminal (as it is a console application) ...
0
votes
1answer
29 views

Are there any really good bash scripting guide? [closed]

I really want to learn bash scripting, where should I research? I am pretty good at programming but I do not know how to program using bash
0
votes
0answers
9 views

I'm trying to install rpl/2 from rpl2.net. Need desperate help

I've been using a Hewlett Packard HP50g for programming and I found that the emulators on hpcalc.org aren't really designed as a fully developed programming language for a computer. This is very ...
-1
votes
1answer
37 views

Pair Andorid Studio with github, git error?

I'm working on a project with my teammates but when i try to pair the project on my andorid studio fro github on VCS into checkout from version control, when i click on clone i get this error Clone ...
-1
votes
1answer
29 views

Why .cpp files can run on xterm when .c or .cc files can't?

i wrote a code on codeblocks, compiled it and it created a executable file but didn't run. xterm is showing permission denied. but when i saved the program with .cpp extension it worked well and ...
1
vote
0answers
25 views

How can I create a chromium-like background app?

I want to create an application that (like chromium) creates an icon on the top menu bar and after you close the application, the icon is still there and the application continues running in the ...
0
votes
0answers
12 views

Can't install library in Ubuntu 14.04 [duplicate]

I tried to install cairo-1.14.4 library. After make install: /usr/bin/install: cannot create regular file '/usr/local/lib/libcairo.so.2.11400.4': Permission denied
0
votes
0answers
11 views

How custom report in Gnucash?

I'm going to report about INVOICES of CUSTOMERS in Gnucash, but all REPORTS are not what I'm looking for :( I want REPORT that I can check which CUSTOMER what ITEM ordered. I searched but I'm not ...
0
votes
1answer
461 views

Dell Inspiron 15 5559 hangs at shutdown, wierd start ups

I just bought a new Dell machine. It's awesome! It has a 6th Gen Intel i5, Radeon M335 (4gb ddr3), 8gb of ram< win 10. Nothing special, but still quite good. Anyways I wanted to install Ubuntu on ...
1
vote
0answers
27 views

HIbernation or Suspending & Restarting for NON-root users

My purpose is to run a main shell script which calls many sub-processes like other shell scripts, perl sources, and compiled c++ files. I want to run the main shell script "run.sh" at some line in ...
1
vote
3answers
235 views

How do I run my C program?

I am a newbie in c programming language , i am following a course right now , but I have a small problem which is run the file for testing I have opened gedit and I wrote those code lines int ...
0
votes
1answer
86 views

BASIC programming language [duplicate]

I want to run some BASIC codes on Ubuntu 14.04 . Can someone please refer to the interpreters or IDEs which are available for running BASIC codes?
0
votes
1answer
71 views

Logo programming language

I want to setup the Logo programming language in Ubuntu 14.04. Can someone please suggest me the appropriate compiler which is available?
0
votes
1answer
46 views

Install minimal MonoDevelop, only for C#?

I'd like to install MonoDevelop with only the tools and libraries for creating console/GTK apps, but I'm unsure how to only select certain packages I need. How could I do this? Thanks!
2
votes
1answer
109 views

Eclipse Marketplace

I have installed Eclipse with: sudo apt-get install eclipse Now I doesn't find the Eclipse Marketplace in the menu "Help". Where is the Marketplace or how can I install it?
0
votes
1answer
52 views

lubuntu: How do I run .64 files?

I have problem with a .64 file I downloaded from the Godot Engine website. How do I execute this file? I really have no clue. Thanks you.
1
vote
1answer
29 views

Probing system file interactions

I need to monitor all interactions with Linux file system (include interactions through interrupts, kernel functions and system calls). To do this, I use SystemTap. I have two questions: According ...
0
votes
0answers
23 views

How do i install Blitzmax

Its this game programming IDE. Here is the download page for blitz max http://www.blitzbasic.com/Products/index.php. I found some documentation on how to install but all of it is very old. For Ubuntu ...
0
votes
0answers
205 views

Not Able To Compile Hello World Kernel Module

I am currently following this tutorial of making a makefile for the simple kernel hello world module. However, I have not been able to do so even after searching on the internet thoroughly for several ...
2
votes
2answers
53 views

What language is the Ubuntu Software Center written in?

Just been wondering, since elementary AppCenter is written with Vala and Gtk+3. Also, what GUI wrapper does it use?
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 ...
1
vote
0answers
27 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
62 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 ...
3
votes
3answers
337 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 ...
1
vote
1answer
53 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
56 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
3k 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
239 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
37 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
103 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
149 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
50 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
37 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
29 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
74 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
65 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
608 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
884 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
63 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
40 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
112 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 ...
0
votes
2answers
45 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
1k 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
vote
3answers
3k 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
131 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 ...