Questions tagged [programming]

Questions about programming for and on Ubuntu.

Filter by
Sorted by
Tagged with
1 vote
0 answers
121 views

Recommended way to check/fire alarm in Python (PyGI/PyGTK)

I am learning to develop an application by using Quickly (quickly create ubuntu-application). This application will stay in Application Indicator / Notification Bar and only work when a defined "alarm"...
fikr4n's user avatar
  • 1,255
1 vote
2 answers
128 views

Ubuntu Developer Video Tutorial

I am Visual Studio .net developer. I like to check out "Ubuntu Developer Video Tutorials" for programmer and I want to develop application like VB.net Desktop application(Standalone or Web). Is ...
cicor's user avatar
  • 21
1 vote
1 answer
151 views

Development on an Ubuntu tablet

For college, I program now and then in C, C++, C#, JAVA, Lisp, python, Sql, ... Will it be possible to do development in Ubuntu tablet environment in the same I can on Ubuntu desktop?"
Scott Pintknocker's user avatar
1 vote
1 answer
304 views

Start application in the background on GNOME

Is there a way to avoid bringing an application to the front when opening it? I'm launching an app several times trough a terminal window (running a custom c++ program) and it keeps popping up when ...
João André's user avatar
  • 1,300
1 vote
1 answer
744 views

C++ Compiler Program IDE [duplicate]

I have just installed Ubuntu 12.10 on my old laptop and I want to start working on it. Is there any program like Visual Studio for Ubuntu 12.10?
ectoNano's user avatar
1 vote
0 answers
232 views

curl/types.h file or directory not found [duplicate]

I have a cpp code to compile but while compiling it is showing the error of curl/types.h file or directory not found, compilation error, fatal error. I am using ubuntu 12.10. please help me to fix ...
Vikas Agrawal's user avatar
1 vote
0 answers
43 views

Beginning Developing Applications For Ubuntu [duplicate]

Possible Duplicate: What is the best way to develop apps for Ubuntu? First of all thanks for reading this question: What programming language is used for developing Ubuntu applications? In other ...
David's user avatar
  • 11
1 vote
1 answer
65 views

I just downloaded gnu clisp via the synaptic manager. Now how do i use it?

So in windows, I got used to putting file names in my path variable and then using the interpreter/compiler from the commandline prompt. What's the equivalent on Ubuntu?
user73466's user avatar
  • 363
1 vote
1 answer
184 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 ...
user3417815's user avatar
0 votes
2 answers
1k views

Read logs real time with bash

I have this in the system logs: Feb 27 02:53:51 Latitude-E6430 rsyslogd: action up 7 Feb 27 02:53:51 Latitude-E6430 rsyslogd: action down B Feb 27 02:53:51 Latitude-E6430 rsyslogd: action up U .......
BurstBass BurstBass's user avatar
0 votes
2 answers
17k views

What is the Best Way to use & practice coding in C language on Ubuntu 12.04? [closed]

I want to learn C language . and i would like to know how I can practice it using Ubuntu 12.04 Is there any platform for it and if so how can I get it? Or can I learn it using the terminal?
amrro's user avatar
  • 515
0 votes
3 answers
470 views

best place to learn ubuntu linux for a windows programmer newbie [closed]

I am a programmer, I developed in C/C++/C#.NET, JAVA, HTML and Matlab Most of my work was in C# and .NET framework generally I recently switched to try linux for 2 months as exploration, I want to ...
smohamed's user avatar
  • 309
0 votes
1 answer
159 views

How to loop a program?

I'm using a program named 'SExtractor' which takes astronomical images in imput and subtracts the skyglow giving as output the same image corrected. More specifically the output it's composed by four ...
Vincenzo's user avatar
0 votes
1 answer
4k views

What is the full form of awk? [closed]

What is the full form of awk? I tried googling. Google doesn't answer me.
Anandu M Das's user avatar
  • 2,233
0 votes
1 answer
103 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 ...
Anon's user avatar
  • 12.1k
0 votes
1 answer
133 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 .. I'...
user37421's user avatar
0 votes
2 answers
897 views

go on the line where a variable define on any editor

Is there any add-on or ability on geany or any known linux editor for this purpose : when you click on one variable . The mouse coursor goes to when it initialize. My code is c language. what I am ...
Mohammad Reza Rezwani's user avatar
0 votes
1 answer
64 views

Weight of the commentaries in the source code [closed]

When I search for source-code of Linux parts (applications, kernels, ...), I often find commentaries to clarify the code. Now, I know that those commentaries are useful to help a human reading the ...
MrVaykadji's user avatar
  • 5,875
0 votes
1 answer
66 views

how do I load a program I have downloaded!

I'm trying to start programming and am sure I have downloaded python. how do I find and run this program?
user183155's user avatar
0 votes
1 answer
633 views

Error executing a command in Ubuntu

I am a newbie to Ubuntu. When I execute a command in a terminal I get an error. The command is: prompt>./h_affine.ln -haraff -i img1.ppm -o img1.haraff -thres 1000 The error is: modglue::...
krish's user avatar
  • 1
0 votes
1 answer
217 views

Problems with gtk2 programming

I'm starting to learn C and GTK2. So, I find tutorial at zetcode.com, and try to make a little program, but it doesn't want to start. I'm doing exactly as in tutorial, but there's some bug in my code. ...
yaroslav's user avatar
0 votes
2 answers
2k views

How to get Eclipse plugins working with Software Center based installation

I installed Eclipse from the Software Center. Then I installed a "Aptana" plugin by using: Help -> Install -> New Software. The plugin installed and Eclipse restarted, but I can't see any of the ...
Michael Forrest's user avatar
0 votes
2 answers
93 views

How to enumerate a variable in a loop starting at 01?

I have a question I have the rename command, but after I run the rename starting from 00, how to start from 01, please help me this is the command that I use for i in *.mkv; do new=$(printf "...
Joe Cola's user avatar
  • 343
0 votes
2 answers
2k views

bash script – for i in {x..y} [duplicate]

i am writing a script in bash and I would like to give the two numbers in the brackets, x and y to be precise, as variables. I wrote the script this way: echo "x?" read x echo "y" read y for i in {$...
Giovanni Di Mauro's user avatar
0 votes
2 answers
315 views

Can i access and modify any software code working on linux? [duplicate]

So there's a bug in a certain software and i thought maybe i could look at the software code, since it's all open source, and try to fix it. Is it possible? are all software accessible by any user, ...
Aqua-'s user avatar
  • 57
0 votes
1 answer
236 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 ...
muntasir adnan's user avatar
0 votes
1 answer
996 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?
Anon's user avatar
  • 12.1k
0 votes
1 answer
668 views

How does a graphical front-end control a daemon?

I'm developing a file sync daemon on Ubuntu as a hobby project, and I'm thinking I might want to develop a graphical front-end at some point which will let me control it. How can a GUI control and ...
Knowledge Cube's user avatar
0 votes
1 answer
5k views

how to get the address with /proc/kallsyms

cat /proc/kallsyms | grep "\ doexecve$" i run this command in ubuntu 13.04 in virtual box in order to get address. However, no result. How to get the address for kprobe debug
StateBoy's user avatar
0 votes
2 answers
154 views

Ubuntu stores variables in the wrong order

So I had this exercise in my class where I had to tell which of the two addresses is bigger when I create two char's in a main function. Because local variables are stored in the stack that starts ...
a2r's user avatar
  • 114
0 votes
1 answer
656 views

How to combine quickly and my python program?

Firstly, I'm not sure if I'm allowed to ask this question. I'll delete it if it's not welcome. I'm after some guidance on how to start programming. Perhaps I need to start somewhere else, but I'm ...
Jamie Twells's user avatar
0 votes
1 answer
296 views

Which programming language to develop software for USC that also runs on other OS? (Windows / OS X)

I have skills in Java and C#. First I had a closer look at Java (Eclipse with Windowbuilder-Plugin). - Swing: But there is no natvie GUI-Support for GTK3 (e.g., HUD seems not to work) Then I looked ...
Marian Lux's user avatar
  • 2,536
0 votes
1 answer
61 views

I am having some trouble programming this !/bin/sh code into a file on ubuntu?

I am new to Ubuntu and programming programs in general. I am supposed to edit this code into an Ubuntu file called ps1_script for an assignment for class. #!/bin/sh. However I am having some trouble ...
Sean Guberman's user avatar
0 votes
1 answer
111 views

Are Visual studio and VScodium softwares same?

I don't understand. Programmers says VS and VScodium. When i try to install VScodium, everything looks same as VS. Visual Studio (VS) community is freemium and the other part of enterprise software ...
Anupriya B's user avatar
0 votes
1 answer
275 views

sys_write doesn't print message to the terminal

I'm trying to explore GNU Assembler using this example: https://0xax.github.io/asm_1/ My code main.s is .data message: .ascii "ASSEMBLY OUTPUT" .text .globl _start _start: movq $1, %rdi ...
FAQ's user avatar
  • 121
0 votes
2 answers
1k views

How to automatically edit a file (which requires hex editor) in ubuntu

I have android boot image which needs to be patched evertime I flash a kernel. The patching includes adding 4096 bytes to the boot image using a hex editor (I used ghex), which is very tedious process ...
knoftrix's user avatar
  • 419
0 votes
1 answer
1k views

sbt command return an error

I'm trying to use SBT on ubuntu 16.04. This is what I get: luca@luca-VirtualBox:~/Documents/oni_ml_trial$ sbt Getting org.scala-sbt sbt 0.13.12 ... downloading https://repo.typesafe.com/typesafe/...
Donbeo's user avatar
  • 501
0 votes
1 answer
49 views

starting again the latest process within loop if specific condition isn't met

for (( j=1; j <= i; j++ )) do # process something as sequential within loop # if [ ! -f specific_file_$id ]; then echo " Necessary File not found! " echo " starting the current process again for ...
deepblue_86's user avatar
  • 1,194
0 votes
2 answers
79 views

Wireless card finding

I need to find out what wifi card my computers running while using Ubuntu and not my original OS, how can I do that? Brand new Linux user I just installed it
user557310's user avatar
0 votes
1 answer
232 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 ...
raz's user avatar
  • 1,852
0 votes
2 answers
2k 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 ...
Rehan Ullah's user avatar
0 votes
1 answer
176 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 ...
snoop's user avatar
  • 4,040
0 votes
1 answer
861 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?
snoop's user avatar
  • 4,040
0 votes
2 answers
542 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 ...
Egemen's user avatar
  • 1
0 votes
1 answer
727 views

Is there a programmable way to tell if the screen is locked with the new Unity interface?

I have lots of stuff in my crontab, including some that talks to my screen. If I'm not there for it to be notifying, I don't really want it to run. Is there a way I can check to see if the computer ...
Dave Jacoby's user avatar
0 votes
1 answer
322 views

Does Ubuntu have a clipboard that works differently from Windows?

Does Ubuntu have a clipboard that works differently from Windows? I've noticed an anomaly between the two, perhaps a bug, or perhaps I'm misusing the functionality. It works the same way every time ...
user273872's user avatar
0 votes
1 answer
55 views

Confusing Code, request help [closed]

I need help. I am recently coding a bash script, which I have 26 sets of variables. I'm stuck on this part which I need help with. I noticed when you install Ubuntu to check out this website if you ...
user245115's user avatar
  • 1,163
0 votes
1 answer
1k views

Not getting output after dmesg

I am a beginner. I wrote a hello world module (actually copied from the o'Reilly book). the code is: #include <linux/init.h> #include <linux/module.h> MODULE_LICENSE("Dual BSD/GPL"); ...
akshay's user avatar
  • 279
0 votes
2 answers
90 views

Can assembly directives corrupt my Ubuntu?

I want to start learning assembly language, and read some stuff about it. From a first impression, it seems like the assembler pretty much gives you freedom to do whatever you want with your registers,...
so.very.tired's user avatar
0 votes
1 answer
2k views

Python - NameError: global name 'plus' is not defined

So I am creating a program using shelve and I keep getting this error message. I can not for the life of me figure it out and google hasn't been much help. Is this a problem with Ubuntu/Python working ...
RPiAwesomeness's user avatar