Ubuntu :: Broken Shortcuts For Netbeans On Section Applications -> Programming?
Feb 16, 2010I have two broken shortcuts for Netbeans on section Applications -> Programming.
View 3 RepliesI have two broken shortcuts for Netbeans on section Applications -> Programming.
View 3 RepliesNetbeans 6.8 Ubuntu 10.04: I add php to netbeans and when I type $ gksu netbeans its open netbeans without php editor. Only when I type $ sudo netbeans its open it properly
View 1 Replies View RelatedI am currently running openSUSE 11.4 w/ Gnome 3.I wound up installing Adobe Digital Editions using Wine.Got everything working, except I ended up installing it twice (once as root and once as myself.Currently in my "Applications" I show 2 Adobe Digital Editions.I have ran wine uninstaller as both myself and as root, and the icons are still in the Applications window.I am not sure who is to blame and what I should try to access to rm these icons.
View 2 Replies View RelatedFirefox in openSUSE has a customized openSUSE toolbar menu. The hyperlink to openSUSE documentation is broken (HTTP 404). Please remove it; it is sufficient to visit the home page and to access the documentation from there.
View 2 Replies View RelatedInstalled netbeans via synaptic but when I click 'NetBeans' it doesn't open... no error nothing
Tried running 'netbeans' in terminal and it's the same!
It is possible to set a keyboard shortcut to start an application in KDE? As example, win+f to start firefox. I know it is an option in menu editor, but it doesn't work. From the many distros I tried with KDE ( openSUSE, Arch, Gentoo, Mandriva ), only in Fedora 12 worked this option, and I hoped it will in F13 too, this is one of the reasons I installed Fedora. So it is a bug, regression, or I am doing things not the right way?
View 2 Replies View RelatedJust got a problem that I've spent a few days trying to get around. Basically, what I am trying to do is create launchers/shortcuts on my desktop that will
a) Launch a terminal with root or sudo access
b) Launch an application.
For example, an application I might ordinarily use as a super user or root user is 'hping3.'
Basically, I want to be able to click on the launcher, and have it open up a terminal with sudo access and launch the hping3 application. I've tried messing around with the 'create launcher' function, and entering in a command to be launched in a terminal window, but to no avail (e.g. something like "sudo hping3" or "su && hping3"). How to write up a simple script to launch a terminal with su access and launch a given application?
I have started learning Java and I don't really get on with Netbeans. (I found it hard to compile and debug etc but that could because it is late here). What IDE do people use and why?
View 5 Replies View RelatedYou maybe know that VirtualBox has an "immutable" feature for HDD images. I.e. setup the system, if the stuff is in place, you can set the image to IMMUTABLE to prevent any changes to the image. Differences are written to a separated image. So on the next boot you'll see that all the (unintended) changes are gone and the "old" system is up & running again. I run an old SuSE 10.3 on a write-protected SD-IDE-Adapter. Changing and playing with RPMs is a mess due to around 50 changes I had to do to make that work. Is there any option to mount an SD-card as RO and having all the changes written to e.g. /dev/sda3? To make it clear: I thought about something like a RAID-X system, but could not find any description on how to setup a raidtab.
View 3 Replies View RelatedI recently upgraded from Ubuntu 10.04 to 10.10. All was going well until netbeans started throwing up errors about not being able to find the "stddef.h" header being called from the stdio and stdlib headers. Now I am unable to even initialize variables without failing.
I was using 6.9.1 from the netbeans website, but then I installed 6.9 from the repos alongside, and I still get the same error. Do I need to remove 6.9.1 ( I would rather remove it and keep the repo version), and if so, how do I do it?
where the stddef.h file is located so that I can replace it, or know of any work around?
In my project,Login window is created as a Dialog box.So when i tried to call the constructor of Login from Main it was generating an error regarding the arguments passed.I have not used any arguments when i called. when i looked at the code, the function was declared as public Login(java.awt.Frame parent,boolean modal)so when i call it from main(),what am i supposed to do ?
View 3 Replies View RelatedI'm trying to make a combo box which should have elements dynamically taken from a database. I've an Exam Table,and it has columns Sno,Ename,Month,year. i need the combobox to list to the elements that are present in Ename.
i read some things in the web and tried that out in the netbeans. it said to rightclick the combobox and set bind ->elements and bind->selecteditem. But i'm not sure how to set the binding expressions inorder to get the required list in the combobox.
For some reason I have two IDLE icons in my application programming section:
IDLE
IDLE(using python-2.6)
Both are the exact same versions, and I'm not sure if I need both. I understand that ubuntu runs on 2.6 so I'm a bit hesitant to just delete one without checking here first.
Below are the header files and the program:
using namespace std:
I'm trying to make a java application in netbeans 6.9.1 (ubuntu 10.10) and I need to use the webcam on the system. Now I found this project: [URL] I am able to run the program and see the vid imput from the webcam using: "java -cp /usr/share/java/v4l4j.jar -Djava.library.path=/usr/lib/jni au.edu.jcu.v4l4j.examples.DeviceChooser" The problem is how to import the libaries into netbeans, there is an explanation on the site how to do it with eclipse but I don't have any experience with ecplipse and judging from what people have to say about how it works I don't want that either. I get the following error as output:
[Code]...
I have a number of problems with Exaile. In my old windows days, I would try to fix a broken application by uninstalling and reinstalling it. Is that the best way to fix a Linux application that stops working?
I am running Ubuntu 10.04 on a HP Pavillion laptop. Exaile worked fine for a while, but then stopped downloading the Shoutcast station listings.
So I have file which looks something like this:
cat .opera/operaprefs.ini
Code:
[User Prefs]
Language Files Directory=
[code]...
The following two pieces of codes share printing to stdout with a POSIX semaphore /dev/shm/sem.abcd
sema1.c:
Code:
int j;
sem_t *sem = sem_open( "/abcd", O_CREAT, S_IRUSR|S_IWUSR, 1 );
j = 0;
while (j < 100) {
[Code].....
If started at the same time, the first will finish in about 10 seconds; the second 20 secs.
What I want to ask is, if the first program crashes at Checkpoint A, then B will never gets to continue, then normally how do programmers avoid this kind of deadlock due to crashes inside the critical section?
I would like to extract debug information but I have some problems. For example, I have a executable a.out...
Quote:
nm -f sysv a.out | grep ".global_var" >vars.txt
With this command I extract all my variables. All of them are in .global_var section, and it give me follow information:
Quote:
CAN_station_n |08073258| D | OBJECT|00000001| |.global_var
CONTROLend |080732a7| D | OBJECT|00000001| |.global_var
[code]....
Well, I have only address of my vars, but I would like to know type var or struct of the variables. With dwarf dump I have all of information, but it is a mess...
Quote:
<1><117bc>: Abbrev Number: 32 (DW_TAG_variable)
<117bd> DW_AT_name : (indirect string, offset: 0x153d): draw_limits
<117c1> DW_AT_decl_file : 128
<117c2> DW_AT_decl_line : 207
[code]...
Is there any parser or way to put in order this information?? create a file with the follow information:
name of var - address - type - size - struct or not
I have a file which looks something like this:
##########
some
text
text also includes empty lines
##########
some
more
text
##########
Basically all sections are separated by 10 hashes and I need to somehow only print all lines in the last section (the "some more text" part in the example above"). I tried all kind of things with sed and awk but I didn't find any way to identify the last "section".
From cat.c in GNU coreutils:
Code:
void
usage (int status)
{
if (status != EXIT_SUCCESS)
fprintf (stderr, _("Try `%s --help' for more information.
[Code]...
I don't remember ever seeing this in any examples I've ever seen, so I'm sure I've never seen an explanation of this.
Recently I installed MPlayer with its default gui and its interfaces SMPlayer and GnomeMPlayer. When I'm using GnomeMPlayer it responds to multimedia keys as configured in Gnome shortcuts, even if it's minimized or running in another virtual desktop. But it doesn't happen to the other two gui's mentioned above. I have also noticed that native Gnome applications or with Gnome support like Banshee and Rhythmbox rspond to multimedia keys even when the gui is closed and they are running only in the system tray. But it never occurs in non-Gnome applications like VLC, MPlayer and others. Jetaudio wich responds to these keys in MS Windows running under Wine doesn't even recognize them.
So I came to the conclusion that only native Gnome applications or with Gnome support recognize multimedia keys because, as it seems, they receive the signal from Gnome configurations. Others applications doesn't do so. Here is my question: Is there some way to make all applications recognize the configuration of Gnome multimedia keys shortcuts? (Of course it would not be fine if they recognized ALL Gnome shortcuts because they could conflict with shortcuts from another applications. The idela would be that they recognize ONLY Gnome multimedia shortcuts.)
Linux - Ubuntu 10.4 LTS
Firefox 3.6.8 Canonical v1.0
First off, I have been having disk error problems with Ubuntu, and I think that a file that involves the bookmarks was corrupted. I did remove and reinstall the latest firefox package with Synaptic and apt-get (they do the same thing right?) But I still have this problem: I can not add or modify my bookmarks in the toolbar. I can go to the window to organize my bookmarks but its like nothing is there on the left main view box or the right that shows the bookmarks. If I try to import or restore, it does nothing.
I'm new to vim and gvim, but I feel its power so I want to learn it. I've been searching very long how to use gvim keyboard shortcuts but I simply cannot find out what is for example the vertical splitting command '^Wv'? I've tried (ctrl/super+ a lot of things) (and other combinations, but without success).
View 2 Replies View RelatedI am developing a java application that deals with the parallel port I used the parport library, I have the following problem: I am using netbeans 6.9 and linux redhat, when I run the code (java code that controls parallel port) from netbeans I get: "ioperm error: Operation not permitted" I used the "clean and build" function in Netbeans to create the jar file (test.jar) then I changed the permission of the test.jar to root using this command "chmod 4777 test.jar" and the test.jar file worked just fine as a stand alone file, but I still get the same error message when I try to run the program from Netbeans
View 1 Replies View RelatedWhen I attempt to extract some webpages there are far too many jscript functions and html encodings. Hence, I can manually search the page, perform select all (^A), copy (^C) it, open a prepared file (^O), but cannot figure how to paste it (&V). I want to do this from a bash script. I know how to do the search. Now how do I send these shortcuts (especially ctrl-C) to Firefox. Once I have the page copied to the clipboard, I think I can figure out how to open a file and save the clipboard to a file using bash script on the Linux side. How do I send shortcuts to Firefox? Is this done with the hex equivalent of the keystrokes?
View 8 Replies View RelatedDoes the "Exhibit A" section at the bottom of the MPL need to be filled out within the license text itself? Is just including the "boiler-plate" license comment from [URL] in all source files and a verbatim copy of the MPL sufficient to cover a project?
There are blanks within the "Exhibit A" section that look like they should be filled out, yet it doesn't make sense that the license text should need to be modified in addition to the boiler-plate license comment.
I have this project for my operating systems class and I have put together the basic flow chart to aid me in writing the program. I know how to use pipes as a buffer to hold info. I know how to create a binary semaphore. But what I dont know is this:
How to "use a delay adjustment parameter K in the critical section to adjust the speed of the display process to show that without semaphore protection the displayed contents of the buffer are randomly interleaved."
First off, I am definitely not asking anyone to give me the solution. But I do need some guidance. So I figure there will be an if statement with two options:
1. If true, use semaphore protection to enter/exit critical section
2. If false, no semaphore protection -- this is where the contents of the buffer should be interleaved.
Now does that mean that as each child process enters the non-protected critical section, it should "sleep" for a randomized time? I mean, will this allow my output to be interleaved?
So lets say my command line looks like this:
what happens to the 100? Is it randomized using rand and srand and passed as a parameter to sleep() inside the critcal section?
i can not figure out why my program does not terminate if i type n when i read loop unless it is the last if statement in my program ?
while [ "$loop" = y ] ; do
echo "what does baket mean: " ; read word
if [ "$word" = why ]
[code]....
The usual answer is debian's ldd(1) and I found broken things due to past lib abuses I previously hadn't understood I'd did - or rather hadn't realized because by looking it "looked ok and worked" - but i had problems. many i fixed.
After I ran a new script: it showed some i'd STILL missed after carefully re-doing /lib by hand (and using /var/lib/dpkg/info/libs.list)
I just made something that might be nice. seems to be the only thing that does it. but its' small and quick and has (tty/stdout) output still.
the had part isn't finding info, objdump(1) does that wonderfully : it's using it..