Software :: NAM With NS 2.34 - No Event Type Or Button
Aug 6, 2010
My OS is F12 with Gnome desktop, after many alternatives I installed ns-allinone-2.34 so ns-2.34 run very well:
[dreams@localhost ~]$ ns
% exit
When I try nam, I got this error:
[dreams@localhost ~]$ nam
nam:
[code omitted because of length]
: no event type or button # or keysym
while executing
"bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D / 120) * 4}] units }"
invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D)}] units }
bind Li..."
I m not familiar with Linux so I don't understand what it means. I want to tell you that I can run nam when I access to the folder with this command ./nam and I can see the samples so I run simulation. I visit some pages when they speak about gcc and their compatibilities with F12. When I use Makefile I got access dined.
View 5 Replies
ADVERTISEMENT
Sep 15, 2015
CNEE(1) General Commands Manual says this. RECORD OPTIONS --first-last Print only first and last of multiple successive MotionEvent. So I try this. my test window is Calculator 3.14.1 cnee --record --mouse --keyboard --time 5 --store-mouse-position --first-last --stop-key h -o xnee.xns -e xnee_record.log -v;The result is, xnee.xns lists every mouse movement.But I only need to record the mouse location when there is a mouse button event. it seems --first-last does not work. How can I make it work?I use
hardware HP pavillion 20.
The only avalible resolution is 1600x900.
/etc/debian_version 8.1
GNOME Terminal 3.14.1
xnee 3.19
View 0 Replies
View Related
Aug 31, 2010
Running any freeglut based application from a terminal with Opensuse 11.3 cause that terminal to be spammed with freeglut messages like the following one:
freeglut (./myglutapp): Unknown X event type: 105
There are some bug reports on redhat and ubuntu as well
[url]
[url]
View 1 Replies
View Related
Apr 1, 2011
While searching the net I found how to complete disable the functionality of the middle mouse button but I need this button for many other uses.I want to disable only it's paste action.
View 2 Replies
View Related
Mar 17, 2011
I know how to make another button act as the middle button but how can I map several mouse buttons to the middle button? xmodmap complains if I repeat button numbers in the pointer option.
View 2 Replies
View Related
Jan 20, 2010
So I have a intel wifi link 5100 , the drivers should work BUT iwconfig doesn't show my card ..
However doing a ' sudo lshw -C network ' command , it DOES show my wireless card is recognised but not enabled and here is where the problems start ..
I have a touch button on my laptop to enable/dissable it And when I touch it in Ubuntu it doesn't light up like in W7
How can I enable it :s? I really want to use ubuntu !
View 9 Replies
View Related
Feb 4, 2011
In my system around 73gb(pc-desktop) i have,1 primary partition(windows)-25gb, 1-extended partition(remaining gb) 3 logical partitions were there in (under) extended partition in one of the logical partition is d:drive. in my hard disk d: drive is -/dev/sda5
previosly i was fat -file system , (d:drive-/dev/sda5), i remember i changed the d: drive(d:drive-/dev/sda5) file system to ext4file system ,with following command using terminal
After doing(changing the file system)this one ,i couldnt see the d:drive data
By doing that
1q) Did i reformatted the partition? i think the new filesystem(ext4) has no knowledge of the data that was on it when it had a FAT filesystem.
2q) How to do undo operation,i tried to change the filesystem type to fat/ntfs in terminal using command --sudo mkfs -t FAT /dev/sda5.
Result:its showing text message-'mkfs.FAT: No such file or directory'(not in single quote)
I had very imp data in d:drive
View 1 Replies
View Related
Feb 26, 2010
I just loaded octave. I ran through a few examples of how to implement a script file. Everything works until I get to "plot". When I run the "plot" command I get the following.
octave:2> test1.m
error: can't perform indexing operations for <unknown type> type
sh: gnuplot: not found
Just to double check my work, I ran the following code:
y=[1 2 3];
plot(y);
View 3 Replies
View Related
Apr 19, 2011
i m using ubuntu 10 .10.for 2 weeks it was working fine yesterday onwards it changed.tried all themes but still i cant drag the window to make it small in sizethere is no close button minimize and maximize button in all the application and files[URL]
View 1 Replies
View Related
May 24, 2011
I am copying the file form one directory to another directory using shellscript.
Here i want to get the Mimetype/Content-type of the file.
How to i can get the MimeType.
View 9 Replies
View Related
Jun 22, 2010
I have a server hacked when i try to log in i type root but won't let me type a passwdthere are no services up, can't see page mail nothing
View 11 Replies
View Related
Jan 26, 2010
I'm trying to compile a program and it gives me the following:
I checked cmath-util.h:46 and cmath-util.h:48:
I'm not a C person, and the author is unavailable so far.
View 5 Replies
View Related
Feb 3, 2011
i was so happy using the window buttons applet in gnome panel. it was working fine in maximize window , now suddenly i find the close button has vanished i tried to remove and re install, changed theme and all the jugglery within my limits... have absolutely no idea what went wrong, any clue ? to get back the "CLOSE" button ? its funny with just the minimize and restore button visible in maximised mode... its the close button i use most in maximise mode
View 1 Replies
View Related
Feb 11, 2010
With /usr/bin/canberra-gtk-play set to --id='desktop-login' in the startup Applications dialog one expects a sound to play at login. This is not the case with fedora 12. I set the variable to --file=/home/me/sounds/myloginsound and I got sound.
I'm curious as to why the event id failed. I suspect that id was not linked/associated with any sound before fedora 12 was released. How does one troubleshoot sound event ids and their associated sounds in f12.
I'd like to get audio when I log out as well. I recall seeing a dialog box with events and associated sounds in f11 (or was it f10?) .... I don't see it in f12
1. Does anyone know which package adds that functionality?
2. In the absence of a GUI approach, how can this be achieved (with the terminal)?
View 2 Replies
View Related
Feb 3, 2010
I have a program running on my server which I want to restart in the event that it ever crashes. Someone suggested "Watchdog" to me, but it appears to me that watchdog restarts the whole system, not the program. I couldn't find much documentation for it. Another suggestion I was given was crontab, except that I don't want to relaunch the program every 60 seconds, as it doesn't run on screen or anything, it forks itself into the background after launching it. Perhaps a bash script that would check to see if the program were running or not, and if it weren't, relaunch it? Not sure how to do that, I've never written bash. In any case, I just want to keep this program running full time.
View 6 Replies
View Related
May 3, 2010
Ever since 9.04 or thereabouts, I have noticed that it's impossible to change individual system event sounds in System -> Preferences -> Sounds. It only gives me a few lame choices of "themes". While it used to be possible to define my own sounds for startup, shutdown, new e-mail, etc, I can't find ANY dialog to facilitate this in newer versions of Ubuntu.
A question: HOW do I do this without having to hack apart my stock system sounds? There should be a way, but google and forum searching turns up nothing.
A comment: Ubuntu continuing to "nerf" their dialogs like this is infuriating, especially when the underlying system works so well. I actually don't know if Ubuntu or Gnome is responsible, but either way taking away rock-bottom basic functionality like this only hurts the OS and Linux's cause.
View 9 Replies
View Related
Jan 19, 2011
I was turning off my pc and my brother pulled out his sd card while the pc was shutting down. Now when I try to boot up I can't boot into my ubuntu partook it just hangs and then comes up with inittramfs. I can boot into my windows partition just fine. I also tried rebooting with the sd card in the slot but same thing. I managed to load up a live disc but have no idea what to do next if I want to save my old partition (if it can be saved) otherwise as a last resort ill have to overwrite the partition.
View 3 Replies
View Related
Oct 26, 2010
I am on debian lenny and I am trying to make a script that will run in the background and checks the ethernet connection. If the ethernet connection goes down it will connect to wlan. I have found 2 ways of checking ethernet connection, via proc/net/dev and via ifconfig eth0. But if possible I want to avoid polling. So is there any event that is triggered when the table gets disconnect or at least the connection goes down and up?
View 1 Replies
View Related
Nov 30, 2010
I'm using mq_notify to be notified about events on a message queue. But my registered notifier function is not being called. I'm pasting my code snippet below:
[Code]....
View 4 Replies
View Related
Apr 16, 2010
In window , I can catch all of systems event by window API, but in Linux,I don't know how to do it.
View 2 Replies
View Related
Mar 14, 2010
I have a Logitech Media Play mouse with many buttons. I'm using xbindkeys to create some shortcuts to programs e.g. firefox, gnome-terminal--these work wonderful. What I cannot figure out is how to get the buttons to work for the media player(Ubuntu>System>Keyboard Shortcuts>Sound). I set shortcuts using my win key and letters, hoping to use xbindkeys to send out a keystroke. I have tried to use xmacro but to no avail. xdotool was not helpful, I think it may be outdated(desktop/workspace functions did not work).
My preferred option would be to get mouse events to keystrokes working with xbindkeys and program x(x being whatever works); however, just getting my media buttons to interact with the media play is my ultimate goal.
View 1 Replies
View Related
Aug 21, 2009
I know in windows xp there is a registry key and an entry in the Plug and Play log file as well as maybe an event id, that is produced when a device (say usb) is plugged in. My question is, besides /var/log/ (messages?) Is there any other location that that information is stored in?
View 3 Replies
View Related
Jun 7, 2010
Is it possible to catch the power management events(hibarnate/standby/sleep)o the code(c++)?
View 2 Replies
View Related
Jul 13, 2010
I am trying to write an app that will perform some actions when a network interface is unplugged. Is there a way to get the OS to signal me when a network interface is unplugged. I have looked at DBus but can't figure it out.
View 1 Replies
View Related
Jan 7, 2010
I'm running SuSe 11.2 32 bit. I noticed today that what ever program, window, or what have you I open there is no close "X" button or resize button in the top right corner.
View 9 Replies
View Related
Oct 25, 2015
I am installing canberra for event sound and input feed back sound. I installed freedesktop sound theme and moblin. All sound files are there but only trash empty event trigger sound.
Other events like: login, dialog error , etc etc no sound...
For login I created login.ogg link to destop-login.ogg but canberra-gtk-play claim unknown event id?
I like to have startup sound at xfce login and other event...
View 0 Replies
View Related
Jan 24, 2011
I recently gave XFCE a try, after using Openbox for a long time and I really like it, so that I think I will switch totally to XFCE. All is working fine, except one thing: I really would like to have event sounds.
So I launched the Appearance-Module and checked under the Settings-tab both Enable event sounds and Enable input feedback sounds. Following the tooltip for the event sounds I also installed libcanberra, but I get absolutely no event sound.
[Code]...
I thought, maybe there is a lack of a sound theme, so I also installed freedesktop-sound-theme, but that didn't help. I did already searched with Google and in this forum, but have found nothing that would help me. I would be very happy if anyone can give me an advice what to check or has a link to a tutorial for this sounds.
View 11 Replies
View Related
Mar 3, 2010
I use network-manager-pptp to connect to my VPN server. However, occasionally my VPN drops out (although my Internet stays up). I was just wondering how I could make the VPN drop-out trigger a bash script, for example playing a sound to alert me that the VPN has dropped?
View 1 Replies
View Related
Oct 1, 2010
Does anybody how to open .evt files exported from a Windows System Event Log?? I've searched the forum and googled around but I can't see anything related to .evt files on linux.
View 2 Replies
View Related
May 26, 2010
$ cat /etc/redhat-release
CentOS release 5.4 (Final)
I've tried two copies of a: Microsoft Natural ergonomic Keyboard 4000 v1.0 Both fail. The result is my screen fills up with whatever key was missed. Re-pressing the key does no good. I have to unplug the keyboard and then plug it back in. So, I'm interested to know if this is a general problem or just my system. Meanwhile, I'm turning down the key repetition rate so it doesn't immediately fill my screen when it happens.....
View 3 Replies
View Related