Questions about programming for and on Ubuntu.

learn more… | top users | synonyms

1
vote
2answers
2k views

Cannot compile java code [Unicode Byte Order Mark 65279]

I wrote a simple Java program with the gedit text editor. public class Example{ public static void main (String args []) { System.out.println("hi yaar"); } } When I tried to ...
4
votes
3answers
908 views

How can I run a single C source code on code:block or in geany?

I am new in Ubuntu. Now I am using ubuntu 12.04(lts). I want to run my C programming code (.c/.cpp). But I dont know how to compile and run code in ubuntu. SO i need help. Please tell me How can I run ...
1
vote
1answer
84 views

What GUI library does geary use?

I am thinking of starting a small side project and developing a piece of software. I would like to base it's design on Geary, which I like very much. Which GUI library can I use to achieve this? ...
5
votes
1answer
1k views

Installing google Go in Ubuntu [duplicate]

Can Google Go be installed on Ubuntu? I want start to test these tools and it will be great if I could. Thanks in advance.
0
votes
0answers
48 views

How to build an operating system that is built on top of Ubuntu [duplicate]

Hey I'd like to build my own operating system (really just the Ubuntu distro as I know the task is difficult) But what I mean by this is I wish to build atop of the Ubuntu operating system as like ...
4
votes
1answer
98 views

What is the maximum allowed files open?

Is 1048577 the limit of open files in Ubuntu? If I try the following code it works. However, if I change the value to 1048578 the setrlimit function will return the code 1 and errno will be set to 1 ...
2
votes
1answer
316 views

PyGTK changing theme for popup menu

I spent few hours searching on google and I gave up now... I need to change background for popup menu in my app. It set to whatever system default theme is... and I need this to be set to Radiance ...
-1
votes
4answers
154 views

Programmer AND student on Ubuntu? [closed]

I'm currently set up with a Windows 7 PC for work, with notepad++ and Sublime Text 2, and a XAMPP server. I'm also using the PC for studying. I'm considering switching to Ubuntu, but I wanna make ...
0
votes
1answer
90 views

pygtk inline toolbar background

as in topic I need your help with inline toolbar for my app. I'll need this background bar to be expanded to the end of the widget while buttons remains on the left, as it is in keyboard layout ...
1
vote
2answers
888 views

What is the best Fortran 77 IDE?

I use Ubuntu 12.04. I need to do some coding with Fortran 77. I have'nt found any IDE for Fortran 77. What is the solution?
3
votes
1answer
122 views

Can't get iconify() and deiconify() to work properly

I'm writing app for Ubuntu with C++ and Gtkmm. In my app i use libappindicator to show icon with simple menu in notification area. Icon and menu works ok, i can minimize window to panel (using ...
3
votes
2answers
944 views

How to add buttons in Glade and resize

Trying to create the framework for a calculator. I add the window I add the vbox using 2 boxes. 1 for the display, the other for the buttons When I add 1 button it fills the entire panel and I can't ...
2
votes
1answer
324 views

Further information on the Ubuntu Phone SDK [closed]

We saw many threads on the Ubuntu User Interface Toolkit that will be available for the Ubuntu Phone application development (see this thread for example). But there seems to be no information about ...
3
votes
2answers
268 views

Is there any ubuntu API?

in Windows, a programmer can use Windows API to write a Windows application. Windows API can be used with C (not necessarily C++). In Windows API you have a message loop and you have to program ...
3
votes
1answer
176 views

Need more information about API for 'Ubuntu for Phones' [duplicate]

Possible Duplicate: How do I start developing applications for Ubuntu mobile? I would like to develop a app on Ubuntu for Phones. I have already developed apps on iPhone and Android. Could ...
4
votes
1answer
6k views

Run program from a shell script but behave as one process only?

Is there a way I can execute an application from a shell script but not create another process. I want it to look like one process only. It doesn't matter whether my shell script is replaced by a new ...
2
votes
1answer
112 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 ...
2
votes
1answer
172 views

How to add in-app advertising?

I'd like to code something cool for the ubuntu software center. I'll release my app for free, but I'd like to add some in-app advertising. Is it possible ? how can I do that ? is it hard ? Thanks to ...
2
votes
2answers
103 views

Is it possible for emacs to appear on right side of the desktop area when invoking it from the command line?

My standard programming mode is to have a bash shell open on the left side of my desktop and to have emacs open on the right side. However, when I type emacs "filename" in to my shell, it comes up on ...
0
votes
1answer
31 views

what is use of get_HZ()

please tell me what is the use of get_HZ() system call. Any link for its documentation?? I tried to search for this in google but could not get the usage of this function Thanks, Vivek
2
votes
0answers
240 views

Blogengine.NET on mono

I'd like to set up the new 2.7 Blogengine on Mono using Ubuntu, but I experience issues with it. It has support for mono because there is another project called Blogengine.Web on Codeplex which is ...
1
vote
0answers
25 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 ...
3
votes
1answer
238 views

How can I test if a variable matches another value and move to another function?

I am writing a script where I store a predetermined line of text into a string (we will call abc). I am storing the results from grep -iqs $USER file (we will call def) into another string. How can ...
7
votes
2answers
2k views

Can I write programs in C# on Ubuntu?

I am forced to learn and practice C#, is there any applications that support and can be used to write programs in C#?
-4
votes
1answer
35 views

TOOL For MOnitoring Usb [closed]

i need to develop a tool in c which will detection& and removing of the usb include accessing time of the users . so anyone will copied or use my machine that need to show like demon process
0
votes
2answers
405 views

programing language of application in linux [duplicate]

Possible Duplicate: What is the best way to develop apps for Ubuntu? i'm wonder programs and application on linux has written by with programing language ... I think most of them have ...
0
votes
1answer
239 views

How to install clpqr library in SWI-Prolog

I am using Ubuntu 12.10 and going to write Prolog program with clpqr. I write this in first line: :- use_module(library(clpr)). I got this message: source_sink `library(clpr)' does not exist So, ...
4
votes
1answer
1k views

Python Global Hotkey

I'm looking to create a global hotkey in Python 3.2 for Ubuntu 12.10. That is, my script will run in the background and whenever I press Shift+F4 (for example), no matter what the active window is, ...
6
votes
2answers
809 views

PYGTK to PYGI: gtk.timeout_add equivalent

I have converted some Python code to use PYGI but I can't figure out how to convert this line: gtk.timeout_add(PING_FREQUENCY * 1000, self.doWork) To by clear, since I don't really know the ...
3
votes
2answers
1k views

syscall_table_32.S file not found

I want to add a systemcall to Linux, but in training data we need to change the file linux/arch/i386/kernel/entry.S or arch/x86/kernel/syscall_table_32.S. I can not found the files. I looked and ...
3
votes
1answer
227 views

C++ programming - Is there a way to make gedit recognize new classes?

I'm C++ programming in ubuntu 12.04 using gedit and it recognizes c++ default commands. I was wondering if I can make it able to recognize the new classes I define and change their color in the code ...
0
votes
2answers
154 views

LOVE2D Graphics are not working

I sudo apt-getted (grammar ftw) LOVE2D Lua API, and when I try to run a game on my machine, it doesn't work at all. When I use a simple love.graphics.print("Hello, World!") I get a blank screen, and I ...
1
vote
2answers
126 views

Is there an alternative to VS 2012?

Hey I'm not sure if this is the right place to ask and sorry if its not, But I'm needing an alternative to Visual Studio 2012 for Linux and I found 2 so far called Netbean and Eclipse, Out of those or ...
3
votes
2answers
5k views

C# on ubuntu 12.04

Is C# a good choice for ubuntu programming? E.g unity, or applications that will run on ubuntu? Am I doing good wanting to learn C# when I'm determined to stick with ubuntu and develop on it or for ...
2
votes
0answers
76 views

Both 64-bit and 32-bit support for development purposes

I'm looking for directions to complete in the most convenient way (well at least without lots of troubles) set up as in subject. I need (probably): 64 bit platform for running 64-bit Vmware Win7 ...
0
votes
2answers
585 views

Can't install libpcap0.8-dev:i386 to compile 32bit App under 64bit environment [closed]

I am writing a little program which uses libpcap and my target machine is i386, while my dev machine is x86_64. Now, when I install libpcap0.8:i386, which works, I get under /usr/lib/i386_linux_gnu/ ...
0
votes
1answer
199 views

Can't Compile A Simple C Program

I installed the last version of Ubuntu. I tried to compile and run simple c program. I was get error: fatal error: stdio: No such file or directory I installed and updated gcc compiler few times, ...
3
votes
2answers
4k views

Howto install google-mock on Ubuntu 12.10

I am having hard time trying to install Google C++ Mocking Framework. I have successfully run sudo apt-get install google-mock. Then I tried to compile this sample file #include "gmock/gmock.h" int ...
5
votes
3answers
5k views

How to use Verilog HDL on Ubuntu?

I tried to begin a small course with some examples in Verilog Hdl and after spending much time searching for the best Simulator or IDE to practice with some examples , I failed to figure out how to ...
0
votes
1answer
21 views

Where does one get the info to run software off of the software center download site?

Like for instance I see a lot of Qt and C++ programs but where is the background info, like getting on IRC and using the kde gui? Is there info in the archives on how to program or am I going to have ...
1
vote
3answers
148 views

Someone tell me why people writing GNU code use { like that?

I saw the rules on how to type code for UNITY project or GNU software in general. Why do they write code in such an ugly form? Is there a particular reason why they don't put brackets the way (from ...
0
votes
2answers
554 views

What Language is unity written in? [duplicate]

Possible Duplicate: How do I build Unity from source? What Language is Unity written in? Also, where can i get its source code? I have an idea for a windowing enviroment or shell (dont ...
2
votes
2answers
8k views

Learning how to use Python in Ubuntu? [closed]

I've recently installed ubuntu 12.04 on my oldie ThinkPad, along with Python-interpreter idle and obviously Python. I'm looking to learn the basics of this programming language, but I've had no luck ...
2
votes
1answer
483 views

how to find a samba share's gvfs path?

If Nautilus is used to drop a file on a samba share into an app, then the app will see: "SMB://server/share/file" How is the app supposed to detect real, working gvfs path of that file ? different ...
2
votes
2answers
2k views

Learning the base for programming in C [closed]

it's been a while since I think about starting to programming in C and after that to learn programming in C# and I search a lot on google but couldn't find a good guide to start learning base ...
2
votes
1answer
56 views

What part of the update manager do you have sift through for, to avoid errors in one's system?

Are the updates on the update manager all by Ubuntu? What part of the update manager do you have sift through for, to avoid errors in one's system? Thanks.
3
votes
2answers
387 views

DEB installer - Dependency Checks

Using a third-party install generation tool, I created a .deb package for my application. There are several dependencies that are required to be present on user’s Linux OS for my application to run ...
1
vote
1answer
5k views

What is an alternative Linux application for Visual Basic? [closed]

What is an alternative Linux application for Visual Basic?
0
votes
1answer
401 views

C programming on Ubuntu

I have problems related to C programming on Ubuntu 12.04. While compiling C program consisting pow I faced difficulties. Then I searched the Internet and got the solution with -lm. But that's the ...
12
votes
3answers
6k views

How do I make Geany my default editor on Ubuntu?

I actually want to change the default text editor on my Ubuntu 12.04 from nano to Geany. When I used this code: update-alternatives --config editor .. I don't see Geany in the list. So to add ...