Ubuntu :: Write A Script For Generic Mapping Tools?
May 23, 2010bash shell is deafult in my ubuntu and i need to use csh shell to write a script for Generic mapping tools.Can use csh while bash is still the deafult shell
View 2 Repliesbash shell is deafult in my ubuntu and i need to use csh shell to write a script for Generic mapping tools.Can use csh while bash is still the deafult shell
View 2 RepliesBellow is a script I'm running to produce several diagrams but I just can't get the pstext command to produce any text
Code:
#!/bin/csh
#Script "plotdata" for the assessment
[code]...
I am trying to figure out how to load the generic kernel in Grub2.
I have run the /usr/hare/mkinitrd/mkinitrd_command_generator.sh and ran the output:
Code:
Why this will not load.
When writing a script using command-line tools why is it more difficult using graphical tools?
View 3 Replies View RelatedI need to install the scripts of angstrom distribution
ie ARM gcc..................how to install the scrpits from the site [url]
I checked xen-tools on a Debian Lenny system
Got following
Code:
This package contains tools to manage Debian based XEN virtual servers.
Using the scripts you can easily create fully configured Xen guest domains (domU) which can be listed, updated, or copied easily.
Homepage: [url] in the above output I am getting a line Conffiles and then you can see a series of /etc what are that and is it an error or some conflict?
I switched to the generic-pae kernal image, which works great, but update now wants to update both generic and generic-pae.
How can I set it up so that it only uses generic-pae?
If I try to deselect generic in synaptic it just wants to mark it again.
solve the following problem...mtrr: type mismatch for c0000000,10000000 old: write-back new: write-combiningThis i am getting many lines in DMESG.
View 10 Replies View RelatedIve installed Gaussian '03 on fedora Core 10, but I'm unable to run it. It aborts and i get the following error
Code:
Erroneous write during file extend. write -1 instead of 4096
Probably out of disk space.
Write error in NtrExt1
I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.
View 8 Replies View RelatedI have found that the <Enter> key on the numeric keypad does not act the same as the <Enter> key on the main keyboard. Confirming a file copy in Gnome Commander for example. Using xev I found the following
Quote:
Main <Enter>
------------
KeyPress event, serial 36, synthetic NO, window 0x5600002,
root 0x25d, subw 0x5600003, time 44244330, (50,55), root799,113),
[code]....
So based on some research it seems I should be able to edit my ~/.Xmodmap to assign the same key (Return) to keycode 104 - the keypad <Enter> key. Except - I have no .Xmodmap. Did it move in Ubuntu 9.10? Do I have to create it? or does Ubuntu 9.10 use a "better" method of handling key mappings?
I am very very productive with the new Windows 7 taskbar. The ability to press Winkey + # to either:
1) Minimize that window if it is the window that currently has focus set to.
2) Restore the window the key combination is pressed but the window is not currently open. For example, if Firefox is the third tab across the bottom of the taskbar, and not currently open, I would like <Super> + 3 to restore this window for me, instead of having to do alt + tab, tab, tab, tab [OH! Now I finally got to it!]. I just work much faster with this convenient shortcut.
The Problems
1) I need to know how Ubuntu remembers the current location of an item on the taskbar. It must, as you are able to re-arrange items with a drag of the mouse. I need this to find out what item #, so when I press <Super> + num I can figure out what is the numth window across the bottom currently.
2) I need to know how to execute something like [psuedo-code for bash script]:[ie: How do I minimize? How do I check if a window is currently the focused window? How do I make it the current window?]
I am a programmer, I am willing to figure this out for myself at least partially, but how the hell do I find #1 without diving into thousands of lines of source? I could use some push in the right direction. I just switched to Ubuntu a month ago [from Windows, but I was very much a power-user and know my way around it well].
I just ran my first Lubuntu session using a USB SD card install.Not bad overall.I would like to re-map two keys on my netbook to make this Lubuntu usable.I have learned that these two apps are the way to go.xevxmodmap Are they built into Linux?If they are, how do I run them?How do I get to a command line to run them once Lubuntu has loaded and I'm at the main screen?
View 9 Replies View RelatedI can't write to USB on Natty. I can read the files and copy them to my netbook fine, but I can't change anything, I can't write or delete files
View 1 Replies View RelatedI've got an old Nostromo n50 speedpad that I decided I wanted to try to get to work with WoW. I have looked into the Nostromo Linux drivers and Pystromo, but I decided to dip my toes into Python with Gizmo Daemon because I should be able to use it for other gamepads in the future. Here's what I've done so far: Installed GizmoD from Synaptic. Read through the tutorials and HOWTOs on the website. Used gizmod -g to record the input from my Nostromo n50. Attempted to modify a GizmoD map file to do what I wanted. Up until the last part everything has been going fine. Here's the mapping of my input keys:
Code:
Key 01 Press
onEvent: Standard -- /dev/input/event3 | [EV_MSC] c: 0x4 Val: 0x90001
onEvent: Standard -- /dev/input/event3 | [EV_KEY] <BTN_A> c: 0x130 v: 0x1
[code]....
The last four keys are commented out in my map file for the moment since I'm not quite sure how to do them. The map file is attached to this post. As you will see from the map file, I just want keys 01-10 to translate into my normal keyboard keys 1-9 and 0. The DPAD I want to translate into a normal WASD for gaming. I'm kind of stumped as to where to go from here. I run gizmod from a terminal, but it doesn't seem to work.
I've just upgraded my installed software packages to last version of Lucid and noticed a weird issue: my keyboard keys are all messed up. Although my keyboard layout is still US-105 keys, when I press (for instance) "asdfg", I get "abfhj" and for "ASDFG" I get "1a1b1f1h1j" !? This only happens when I am logged as user in a X session. Root sessions are OK
View 2 Replies View RelatedI've found that simply sharing a folder on my Ubuntu PC with other Linux PC's on my network proves unwieldy from an 'ownership' standpoint. For example, if I create a file from my Ubuntu Laptop and save it onto my Ubuntu Desktop 'share', I find that if I try to access it from the Desktop that the group/ownership prevents my access so I end up having to chown it. I'm finding sharing in a mixed environment to be a pain.
So, I recently configured an old desktop box with FreeNAS and I want to move all of my files from my main Ubuntu PC over to it, and have those files accessible from various clients (both Windoze and Linux) from thoughout my network. Now I've got the FreeNAS all set up and shared, and I'm ready to transfer files to it. What's the best way to mount Mr. FreeNAS on my various desktops and laptops such that sharing is not a problem from a security (group/owner) standpoint? Should I be using CIFS/SAMBA or is NFS mounting better? Will there be sharing problems or ownership issues when accessing from Windows?
Using Anthy with IBus I'm having troubles typing the correct characters. I have stickers set on my keys that correspond with the correct keys for Windows/Google IME. Unfortunately Anthy and IBus have my keys mapped differently than this for some reason. If I have "Use System Keyboard Layout" checked in IBus settings the character ろ isn't mapped at all and if I uncheck it, a very large number of characters are mapped to completely different keys. When I look at the keyboard layout for Japanese Kana I've also noticed that ろ is unmapped. If it's not clear, I typically type using 1 keystroke being equal to a single character rather than typing in Romaji.
View 2 Replies View RelatedI used to use super + x to open guake terminal. But now, in natty, super (solo) key is mapped to the unity launcher. How can I change that?
View 2 Replies View RelatedI have 4 computers/users and we need to put all the files on a central server. The server is running Ubuntu 10.04. What is the best way for these 4 XP users to see the files that will be stored on the server?
Or basically, how will I either share or map the files *from* Ubuntu *to* XP? Also, the users will be reading, writing, creating and deleting files on the server.
I have Ubuntu 10.04 (Netbook Remix) installed on Asus EeePC 1000. Sometimes I use Apple Wired Aluminum keyboard for comfortable typing. There is no problem for me with netbook's keyboard, but i want to change the keys for the Apple one. For example: make F1-F12 keys really work like F-keys, not control keys; make Fn key to work like Insert key, and swap Cmd/Alt keys.
So, the main question - is it possible to change the layout of apple keyboard without changing the behavior of netbook keyboard? If not, then maybe there are some "switchers" that can constantly change mappings from one to another and back? And, at last, if there is no such tools, then what is the easiest way to do it manually?
So, I was working with Ubuntu 9.10 and I wrote a C program which was working just fine. Then, I have installed Ubuntu 10.10 and tried to run this same program again. However, I get the following error: Code: Memory Mapping failed. Error: 1 Part of the code has the following: Code: volatile ulong *memory;
int fd = open("/dev/mem", O_RDWR | O_SYNC);
if (fd < 0) {
printf("Could not open memory.
");
return(0);
}
code....
Does anyone have an idea what the problem could be? I do not know if there would be any significant change between Ubuntu 9.10 and 10.10 that could be generating me this problem.
I want to change my right alt key to perform a spacebar function.
how do I do this?
I want to compile a custom kernel, because I need a path for a device. Here is what I've done:
Code:
$ cd /media/work/temp/
$ apt-get build-dep --no-install-recommends linux-image-$(uname -r)
$ apt-get source linux-image-$(uname -r)
$ cd linux-2.6.31
[Code].....
i cant download and install anything. it appears i need to install linux-image-2.6.31-21-generic (version 2.6.31-21.59) but when i try to i get You have 1 broken package on your system! Use the "Broken" filter to locate it. can someone tell me how to fix a broken package
View 3 Replies View RelatedWhat is the difference between those kernels that you can install from this PPA:
[URL]
ppa:kernel-ppa/ppa
...which currently has 2.6.35-19.25-generic
AND
[URL]
...which currently has 2.6.35.3-maverick (even has later version 2.6.36-rc2-maverick)
AND
[URL]
...which currently has 2.6.35.3 (even has later versions 2.6.36-rc2 and 2.6.36-rc2-git4)
Are they the same? Which is newer? Is 2.6.35-19-generic = 2.6.35.3?
I have a Medion Akoya E1212 netbook (which is an ALDI rebrand of the MSI Wind netbook) and naturally I'm trying to get the longest battery life possible Already running Ubuntu (Lucid) Netbook Edition (though Moblin seems interesting too) and of course keeping a close look at powertop.One of the things powertop can do, is disable unused USB devices [with the 'U' key]. There is, however, one persistent USB device that keeps popping up in powertop's list no matter how often I press 'U': my SD-card drive (which is apparently internally connected via USB). And it appears in the list regardless of whether I have inserted an SD-card in it or not.
When I use Nautilus to navigate to computer://, I can see the SD-card drive as an icon named "USB Generic Multicard", sitting next to my internal harddisk. I can rightclick and "eject" it, causing the icon to disappear, and the entry in powertop's list disappears as well.My question, is there a way to make sure that the "USB Generic Multicard" USB device doesn't mount at all during startup? [Or, preferably that it detects whether an SD card it present (rarely) to decide whether to mount or not].And if anyone knows the command-line command to "eject" the USB Generic Multicard device, that would also be great cause it would save me starting Nautilus every time (which is slow).
I've just installed Ubuntu 10.10 on a USb drive, using the 4gb persistence option, and tried to install all available updates. The process went smoothly until it tried to update the kernel, and it just refuses to do that. I now only have 1.5gb of space left, that might possibly be causing the problem?Here's the terminal output of sudo dpkg --configure -a
Code:
ubuntu@ubuntu:~$ sudo dpkg --configure -a
Setting up linux-image-2.6.35-25-generic (2.6.35-25.44) ...
[code]....
recently I upgraded to test Ubuntu Natty. It's very unstable, so I don't recommend you trying it yet.
Anyways, the thing is that when I upgraded it build two new kernels 2.6.38-8-generic-pae and 2.6.38-8-generic. For some reason when I boot with 2.6.38-8-generic-pae nothing happens, and I can boot only with 2.6.38-8-generic. So I have a couple of questions:
1) What's the difference between the pae kernel and the generic kernel
2) Does anybody else experience this problem?
Just installed the patches/upgrades for the 2.6.35.30 kernel. Ubuntu will not boot without me typing "y" and hitting enter and later hitting the enter key again. Just have a blank screen unless I do this. Discovered what to do by booting into recovery mode. Had to make a display selection. Just guess at the enter key the second time the boot process stopped. I new to Ubuntu so don't know where to look in the logs to provide additional information to help trouble shoot the problem. If some one can guide me as to where to look I'll post log info. Hope this is the right place to post this. If I need to make a bug report let me know.
Forgot to add: HP Pavalion dv5000 (dv5020us to be specific). AMD Turion64 processor. ATI Radeon Mobility 200M video.