KeyEvent under GNU/Linux

Hi
I'm building a simple logindialog with a TextField and a PasswordField that listens to keyevents. when you have typed your name and presses the enter button the cursor will automatically transfer focus to the PasswordField.
My question is this, I can't get the following if expression to be true???
if(evt.getKeyCode() == KeyEvent.VK_ENTER) {...}
and if I print out the evt.getKeyCode() all it prints is 0's.
have any of you got a similar problem if so how did you solve it?
thanks in advance
Marcus

and if I print out the evt.getKeyCode() all it prints is 0's. You didn't really include enough code to tell what you are doing.
However, the line above implies that you are listening for the
KEY_TYPED events. The keycode for a KEY_TYPED event
is always VK_UNDEFINED (which is zero).
You might try listening for an ActionEvent instead of a KeyEvent.
Good luck.

Similar Messages

  • Memory leak under GNU/Linux when using exec()

    Hi,
    We detected that our application was taking all the free memory of the computer when we were using intensively and periodically the method exec() to execute some commands of the OS. The OS of the computer is a GNU/Linux based OS.
    So, in order to do some monitoring we decided to wrote a simple program that called exec() infinite number of times, and using the profiler tool of Netbeans we saw a memory leak in the program because the number of surviving generations increased during all the execution time. The classes that have more surviving generations are java.lang.ref.Finalizer, java.io.FileDescriptor and byte[].
    We also decided to test this simple program using Windows, and in that OS we saw that the memory leak disappeared: the number of surviving generations was almost stable.
    I attach you the code of the program.
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    public class testExec
        public static void main(String args[]) throws IOException, InterruptedException
            Runtime runtime = Runtime.getRuntime();
            while (true)
                Process process = null;
                InputStream is = null;
                InputStreamReader isr = null;
                BufferedReader br = null;
                try
                    process = runtime.exec("ls");
                    //process = runtime.exec("cmd /c dir");
                    is = process.getInputStream();
                    isr = new InputStreamReader(is);
                    br = new BufferedReader(isr);
                    String line;
                    while ((line = br.readLine()) != null)
                        System.out.println(line);
                finally
                    process.waitFor();
                    if (is != null)
                        is.close();
                    if (isr != null)
                        isr.close();
                    if (br != null)
                        br.close();
                    if (process != null)
                        process.destroy();
    }¿Is anything wrong with the test program we wrote? (we know that is not usual to call infinite times the command ls/dir, but it's just a test)
    ¿Why do we have a memory leak in Linux but not in Windows?
    I will appreciate any help or ideas. Thanks in advance.

    Hi Joby,
    From our last profiling results, we haven't found yet a proper solution. We think that probably the problem is caused by the byte[]'s/FileInputStreams created by the class UNIXProcess that manage the stdin, stdout and stderr streams. It seems that these byte arrays cannot be removed correctly by the garbage collector and they become bigger and bigger, so at the end they took all the memory of the system.
    We downloaded the last version of OpenJDK 6 (build b19) and modified UNIXProcess.java.linux so when we call its method destroy(), we assign to null those streams. We did that because we wanted to indicate to the garbage collector that these objects could be removed, as we saw that the close() methods doesn't do anything on their implementation.
    public void destroy() {
         // There is a risk that pid will be recycled, causing us to
         // kill the wrong process!  So we only terminate processes
         // that appear to still be running.  Even with this check,
         // there is an unavoidable race condition here, but the window
         // is very small, and OSes try hard to not recycle pids too
         // soon, so this is quite safe.
         synchronized (this) {
             if (!hasExited)
              destroyProcess(pid);
            try {
                stdin_stream.close();
                stdout_stream.close();
                stderr_stream.close();
                // LINES WE ADDED
                stdin_stream = null;
                stdout_stream = null;
                stderr_stream = null;
            } catch (IOException e) {
                // ignore
                e.printStackTrace();
        }But this didn't work at all. We saw that we were able to execute for a long time our application and that the free memory of the system wasn't decreasing as before, but we did some profiling with this custom JVM and the test application and we still see more or less the same behaviour: lots of surviving generations, at some point increase of the used heap to the maximum allowed, and finally the crash of the test app.
    So sadly, we still don't have a solution for that problem. You could try to compile OpenJDK 6, modify it, and try it with your program to see if the last version works for you. Compiling OpenJDK 6 in Linux is quite easy: you just have to download the source and the binaries from here and configure your environment with something like this:
    export ANT_HOME=/opt/apache-ant-1.7.1/
    export ALT_BOOTDIR=/usr/lib/jvm/java-6-sun
    export ALT_OUTPUTDIR=/tmp/openjdk
    export ALT_BINARY_PLUGS_PATH=/opt/openjdk-binary-plugs/
    export ALT_JDK_IMPORT_PATH=/usr/lib/jvm/java-6-sun
    export LD_LIBRARY_PATH=
    export CLASSPATH=
    export JAVA_HOME=
    export LANG=C
    export CC=/usr/bin/gcc-4.3
    export CXX=/usr/bin/g++-4.3Hope it helps Joby :)
    Cheers.

  • JTextPane buffer and KeyEvent under Windows/Linux

    Hi,
    I have written a mud client but have 2 problems:
    1. Many data are written in the JTextPane and make my client slower and slower. Is there a way to set the max buffer length of this Component? Something like setting a max number lines and when it exceed, it automatically delete the first lines.
    2. the other problem is about KeyEvent. I use the constant defined in that class to perform test but it's not working. For example, if the user type the key '8' on the numpad, its code under Linux is not VK_NUMPAD8, anyway the code remains unchanged whatever NumLock is on or off. Should I change my code if the client is used under Windows or Linux??
    Thanks in advance.

    Check out this tutorial:
    http://java.sun.com/docs/books/tutorial/uiswing/components/generaltext.html
    In the part customizing a component there's also something about the keyevents you want to use ...
    Gianni

  • How can I run a Flash Projector(exe) under GNU/Linux without wine?

    I was received a flash on projector type(exe), there's no another swf file on there.
    I'd like to ask: How can I run that on a Linux?
    Thanks for reading and paying attention.

    This sounds like a question for the linux distribution forum that you're using.  The .exe is a stand alone executable, if you can run win32 binaries then you should be able to run this.
    Thanks,
    Chris

  • Adobe and GNU/Linux

    Hi. For when Adobe products under GNU / Linux native? Why Adobe is not interested in this OS?
    Greetings.

    hello, here's a thread in the lounge with an adobe engieer participating that you might be interested in...
    http://forums.adobe.com/thread/749724?tstart=0
    this forum is for questions and comments about the forums themselves, not adobe products.

  • Video is not captured in Applet under redhat linux.

    Hi!
    uname -a
    Linux 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386 GNU/Linux
    and whenever i m running my code for start and stop the webcam, i m finding a error/exception as:
    javax.media.NotRealizedError: Cannot get visual component on an unrealized player
    at com.sun.media.BasicPlayer.getVisualComponent(BasicPlayer.java:491)
    at com.sun.media.MediaProcessor.getVisualComponent(MediaProcessor.java:50)
    at CamSource.getVComponent(Complete.java:156)
    at Complete.actionPerformed(Complete.java:71)
    at java.awt.Button.processActionEvent(Button.java:382)
    at java.awt.Button.processEvent(Button.java:350)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    javax.media.NotRealizedError: Cannot get visual component on an unrealized player
    at com.sun.media.BasicPlayer.getVisualComponent(BasicPlayer.java:491)
    at com.sun.media.MediaProcessor.getVisualComponent(MediaProcessor.java:50)
    at CamSource.getVComponent(Complete.java:156)
    at Complete.actionPerformed(Complete.java:71)
    at java.awt.Button.processActionEvent(Button.java:382)
    at java.awt.Button.processEvent(Button.java:350)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    java.lang.NullPointerException
    at java.awt.Container.remove(Container.java:762)
    at Complete.stop(Complete.java:53)
    at sun.applet.AppletPanel.run(AppletPanel.java:442)
    at java.lang.Thread.run(Thread.java:534)
    AND THIS CODE IS RUNNING SUCCESSFULLY UNDER WINDOWS ENVIRONMENT IN APPLET.
    Wht is the problem ? and how to solve it.

    This is what I did:
    import java.awt.*;
    import java.applet.*;
    public class BookmarkApplet extends Applet {
       public void init() {
              //String fileName = this.getParameter("gx26187") + ".ser";
              String fileName = "gx26187" + ".ser";
              Bookmark bookmark = new Bookmark(fileName);
              LinkHolder linkHolder = new LinkHolder();
              for(int i = 0; i < 10; i++) {
                   linkHolder.add(new Link("url"+i, "link"+i));
              if(bookmark.save(linkHolder)) {
                   linkHolder = bookmark.retrieve();
                   Link[] retreivedLinks = linkHolder.getLinks();
                   if(retreivedLinks != null && retreivedLinks.length > 0) {
                        Link [] trimmedLinks = new Link[linkHolder.getSize()];
                        System.arraycopy(retreivedLinks, 0, trimmedLinks, 0, trimmedLinks.length);
                        for(int i = 0; i < trimmedLinks.length; i++) {
                             add(new Button(trimmedLinks.getDescription()));
    LinkHolder is a wrapper class in which I used Link[] to store objects.
    Link is a class that stores 2 strings: links and description.
    I tested this on JBuilder ==> worked fine.
    I tested on IE ==> applet is running but nothing shown up.
    Thanks if any ideas.
    Tom
    Yeah I do.
    If its anything like my problems you will find Treeset
    is from JDK 1.2+
    IE's virtual machine runs using the == of jdk 1.1
    This means with out using plugins you HAVE to use
    features of 1.1 Im sure you could use another
    datastructure instead.
    Hope this helps.
    U can extract the Treeset files from rt.jar but im
    still unable to determine if thats legal

  • Solaris 10 - impressions from a GNU/Linux user

    Firstly, this isnt flame bait, honest!
    Until 10, I hadnt seen Solaris since rev6, then, I was worn (then) down by trying to configure a dial up model hacking chap scripts. Anyhow, I thought I'd look at Solaris 10, seeing as it was 'free' to play with. What follows summarises my feelings after looking at it again.
    Download and install went smoothly, even the accompanying freeware DVD was installed in its entiretly to add all that utility/application-candy that makes a platform usable, or more than usable.
    OK, so the java desktop is actually pretty good but now what? There is a dearth of anything useful in the distribution, all but the cut down linux distros come with a wide range of applications and supporting tools, they 'just work', and cusomizing program access paths to include all the freeware bin folders etc etc is not necessary, unlike Solaris with its truly painful packaging structure.
    Solaris seems to have changed a great deal since I last used it, but as I spend most days running Linux development and deployment systems I had some expectations of what I should (by now) be able to do with Solaris. After observing the lack of configuration files I stumbled accross the web 'tool' to do the configuration (there were no default desktop shortcuts, no menu links, nothing - even under CDE), I was beginning to get that '6' feeling again.
    What do people do after an install, they configure the network and set the hostname up.
    I personally found the network configuration a royal pain. Using any other linux distro (suse and its yast configurator, gnome or kde configuration tools etc) all make the experience painless.
    For the gigabytes of downloads I kind of expected something that would be useful out of the box. Yes, I can go and download xyz from sun freeware one package at a time but COME ON! After using Debian based UBUNTU perhaps Im spoiled by the Synaptic package manager. I was honestly shocked, thinking there must be something I'm missing but once again I could not find a single reason to switch to Solaris for my use (development, or deployment).
    Im sure there are those who would tout Solaris as rugged, scalable, secure etc but all of that is irrelavent to me and my usage. From my perspective the targetted user base for Solaris appears to be narrow.
    I can appreciate the licencing issues involved and that may indeed be the reason why many additional tools arent provided. In any event, I cant think of any reason to keep Solaris 10 installed, I can do everything I need with Linux with less effort thanks to the range of GNU/open source apps readily available.
    If it works for you thats great, Im sure there will be plenty of points and my lack of time spent (a) reading (b) configuring (c) dowloading and compiling, but to be honest, I havent got the time!

    compiing packages one at a time is possible but is
    prone to non-trivial issues over symbols etc etc.
    Never mind it takes time to find the source package
    from website x, install the package, compile the
    package, fixup your paths ready for running, try and
    figure out if the app needs an icon in the menus -
    and figure out how to do that too.Or, as you mentioned you could use Sunfreeware or the Companion CD with the caveat that you've already mentioned.
    Contrast this method with the APT/Synaptic package
    manager a) search by keyword for app (eg firewall)
    from multiple repositories with thousands of
    applications etc, select and hit go, it resolves its
    own dependencies, it downloads, it installs, it just
    runs, its integrated immediately with no further
    effort. Blinding!Must be nice!
    There are some apps that actually do this on Solaris. If they use the Midnight Commander shell on the download page I've had things like version 2 of Nessus configure, compile and install itself automatically.
    These are few and far between though.
    What I expected to do with Solaris is to be able to
    configure it quickly and painlessly (nope), to be
    able to install categories of apps I know I want but
    dont immediately know where they are stored, maybe
    sunfreeware.com maybe not (nope, no package manager
    or anything similar), to be able to not care about 'I
    need this library or that library' to resolve
    dependencies and just install it! (nope). As I said,
    I guess Im spoilled by APT/Synaptic, its a killer app
    for the platform, making it more than useful.For Solaris I'm not aware of anything close to what you're describing.
    compilers, apache, tomcat, evolution for M$Exchange
    email intergration, eclipse even, never mind media
    players & codecs. All without so much as a website
    trawl/comipile/fixup cycle.I've heard that the Companion CD along with the Java Desktop Environment should get you most of what is listed above, but that uses the Companion CD and the caveat.
    GNU/Linux experience. I asked myself the question,
    how much effort would I have to put in to get running
    at least a good portion of what I currently have? The
    answer that led to my post was too much.From what you're describing it isn't that it couldn't be done, the issue is that it could be done, but going forward with Solaris would be more work than what you're currently doing, not a bad assumption.
    alan

  • Where is the GNU/Linux support?

    I was looking for BlackBerry GNU/Linux support as part of our initiative to move to GNU/Linux desktops and found that RIM doesn't support it. Interestingly I have found a third party solution that supports BlackBerrys on GNU/Linux. It looks like that may be our temporary solution until we can phase out the BlackBerrys. I can't believe a company as big as RIM doesn't doesn't support GNU/Linux though. 

    You mean, for the free Reader? Nowhere; there isn't such a thing. Here is a link link for general support: Contact Customer Care, although experience shows that you get better support in these forums. Only remember that they are user to user forums and no fellow user is under the obligation to reply any question, so you must be prepared to be patient at times, as Test Screen Name says.

  • OFF TOPIC:  Is there a gnu/linux equivalent to "open"?

    Does Gnu/Linux have something analogous to the Darwin "open" command?

    Bill,
    As I understand it most other systems don't really need it. On OSX you would say "open Photoshop" or "open -a Photoshop myimage.tiff" to get the app Photshop to open myimage.tiff. On another *nix platform, or under Xll you would just say "gimp" or "gimp myimage.tiff".
    Did I misunderstand your question?
    Tangentially, check out this site for cross OS equivalents (like how do you get the info IRIX displays with hinv on OSX):
    http://bhami.com/rosetta.html
    Reese

  • I can't install and run flash player on my O.S. GNU/linux

    sorry, i'm new user this system, but need know how to complete installation of adobe flash player on my computer.
    O.S.(i686 GNU/Linux).
    thanks!

    Hi, I am not familiar with Linux and can only give you what Adobe has supplied.
    This is the site for System Requirements for Flash Player and the Platforms that Adobe supports:
    http://www.adobe.com/products/flashplayer/systemreqs/index.html
    This is the site for Troubleshooting Linux:
    http://kb2.adobe.com/cps/153/tn_15397.html  
    Hope this is helpful to you.
    You may also want to find the Linux forum that could help.
    Thanks,
    eidnolb

  • Progress on Unity under Arch Linux!

    See here for information about the new GNOME 3.12-compatible packages: https://bbs.archlinux.org/viewtopic.php … 3#p1404683
    I'm now on IRC! Come join us at #unityforarch on Freenode
    To install Unity from my repos:
    See the wiki: https://wiki.archlinux.org/index.php/un … mmended.29
    To install Unity from source:
    See the wiki: https://wiki.archlinux.org/index.php/unity#From_source
    -- You probably don't want to read anything below --
    The story
    So...rather than wasting internet bandwith to download a new Ubuntu ISO to test out the new Unity features, I decided to try to make it work under Arch Linux. It took a whole lot longer than I expected to get it even partially working. So, here's my story:
    Knowing that Unity isn't in the main repositories, I went the AUR's website and looked for a user created Unity package. That didn't go too well. The Unity package hasn't been updated for 6 months. D'oh! I decided to download the existing PKGBUILD and modify it to work with the Unity 4.xx series. After changing the version number, I tried to "makepkg" it, and was greeted with a message about installing Compiz 0.9.x. I thought it would be an easy install. It was quite the opposite. Compiz's install prefix was set to /opt/unity, but FindCompiz cmake build file expected Compiz to be in /usr, so none of the Compiz packages, except for compiz-core would compile. Then, I tried reinstalling compiz-core, but this time, changing the prefix to /usr. The compiled package ended up being only a few kilobytes big. I guess the mouse wheel was invented for a reason. I looked at the PKGBUILD again, only to find that there was a line at the very bottom that ran "rm -rf ${pkgdir}/usr". That explains a lot! I ended up adopting all the compiz*-git packages and fixing them so they would compile and install.
    So, now that Compiz is working (restarted and tested just to make sure I didn't waste my time with something that didn't work), I went on to install the rest of the dependencies listed in the Unity PKGBUILD file. That went relatively well. I was so happy after seeing the progress counter go up after running "makepkg", but at about 8%, gcc spat out an error about an undeclared function (sorry, I forgot what the function was). Natually, I went to Google and searched the name of the function. 0 results! Exactly was I was looking for! I ended up downloading the Ubuntu 11.10 Alpha 3 ISO and running "find -type f /usr/lib | xargs objdump -T | grep the_function". The problem lied in the libindicator package. There was a newer version available which contained that function. I have no idea why a package that's only 0.02 versions ahead of the AUR package would contain new functions...
    Next! Utouch...ugh...great memories! Not! I was so glad that I had fixed the utouch packages earlier (for touchegg to work). I was too frustrated from compiz and libindicator to try to compile more stuff.
    Cmake. Whoever created the CMakeLists.txt file didn't list all the dependencies required. So after running "makepkg" 10 billion times, waiting for "somebodydidntputthisincmake.h not found" errors to appear, I finally got all the dependencies I needed installed...or so I thought. After installing and compiling all these dependencies, the cmake only continues 3% further before encountering another cryptic gcc error. This time, there no error about a file not being found. So not knowing what dependency was missing, I headed over to http://packages.ubuntu.com and downloaded the Unity DEB source to find the dependencies in then debian/control file. After install those few dependencies that I missed, I ran "makepkg" again, hoping that it would finally compile successfully. CMake went a little further--5% further to be exact--before running into another error. It complained about DndSourceDragBegin() having two return types. Sure, enough "./plugins/unityshell/src/ResultViewGrid.h" had the return type as boolean and "/usr/include/Nux-1.0/Nux/InputArea.h" had the return type as void. WTF? How the heck does this even compile under 11.10???
    After changing void to bool in "/usr/include/Nux-1.0/Nux/InputArea.h", I ran "makepkg" once again anxiously waiting to the see the line "Finished making: unity 4.10.2". CMake compiled about 35% before running into error about an undeclared gtk function. Nooooooooooooo!!! I wasn't brave enough to install the git version of gtk3, so I created a chroot, installed the base packages, and installed all of those dependencies fairly quickly (it gets a lot easier after doing it so many times).
    Moving on to gtk3. After cloning the ~200MB git repository, autotools spits out an error about cairo-gl missing. So, I proceeded to install the cairo-gl-git package, which failed to compile (it compiled successfully outside of the chroot...). GREAT. So, Unity fails to compile because GTK version is too old, and GTK failed to compile because cairo-gl is missing, and cairo-gl fails to compile because I'm in a chroot. GAHHH!!! While thinking about throwing the computer out of the window, I searched the AUR for other GTK3 packages. I just happened to find a package named "GTK3-UBUNTU"! That package was still at version 3.0, but it was pretty easy to get the patches and source code for 3.1 from the Ubuntu GTK source package.
    So, FINALLY, Unity compiles. I was so darn happy, I didn't even care if it ran or not. I logged out and logged back into the GNOME 3 fallback mode, and entered the chroot. After running "xhost +SI:localuser:chenxiaolong" to run X11 apps in the chroot, I crossed my fingers and ran "DISPLAY=:0.0 unity --replace". It failed with python 3 complaining about missing modules. That's okay, since the Unity launch script is written in python 2. I changed the shebang line in "/usr/bin/unity" to point to python 2 and ran "DISPLAY=:0.0 unity --replace". It didn't necessarily fail, but it didn't succeed either. It didn't print out any error messages. Weird... I thought I'd try enabling Unity from the compiz settings manager then. I ran "DISPLAY=:0.0 compiz --replace" and "DISPLAY=:0.0 ccsm" and enabled the Unity plugin. Unity runs! Although nothing shows on the screen, it runs! It shows up in the process list! Woohoo!
    And that's about how far I got. There were quite a few Vala errors during the compiling process (I forgot which package it was), which is probably why Unity won't appear. I'll try again later with the vala-devel or vala-git package and hopefully Unity will work then. Here are screenshots of what I've gotten working so far:
    http://i.imgur.com/7F1fm.jpg
    http://i.imgur.com/zGNJc.jpg
    http://i.imgur.com/3mCgd.jpg
    By then way, I love the simplicity of pacman and the AUR. I can't imagine how long this would have taken with other package managers.
    Moderator edit:  Do not place large images in line.  If you want, you may embed links to thumbnails inside url tags.
    Last edited by chenxiaolong (2014-04-15 17:11:04)

    City-busz: I'm getting a ton of Vala errors when I compile libunity (AUR version) with vala or vala-devel. libunity fails to compile with vala-git. I'll try your packages in a virtual machine and see how they work on 64 bit.
    In the meantime, Unity still fails to show up: http://i.imgur.com/btPwo.png I'll try out your PKGBUILDS and see how that works. I'm glad there are people who want to port Unity to Arch Linux
    EDIT: City-busz: Just to let you know, Unity will fail to compile at around 45% with GTK 3.0. Here's my source packaage for Ubuntu's GTK 3.1: http://ubuntuone.com/p/1EzX/ It contains all of the patches in the Ubuntu source package. I'm not sure if all the patches are needed, but GTK compiles fine with all of them.
    EDIT2: Right now, I'm trying to compile Vala 0.10.4, then version used in Ubuntu 11.10. Hopefully that will eliminate some of the Vala errors.
    EDIT3: Vala 0.10 is too old. 0.12 and 0.14 are also in the Ubuntu repository. Trying those...
    EDIT4: 0.14 is actually 0.13.1. Gah... Vala takes longer to compile under VirtualBox than GTK3...
    EDIT5: Okay...so VirtualBox "helpfully" became slow enough that I could read the error messages. The Vala error messages aren't actually error messages, but rather warnings about unused methods. I wonder what prevents Unity from running then...
    Last edited by chenxiaolong (2011-08-30 02:30:29)

  • Dualbooting t61p (xp sp3 & GNU/Linux)

    Fellow ubergeeks,
    I have a t61p (6459 CTO, Penryn dual core 2.5GHz, NVIDIA Quadro FX570M 512MB, 1680x1050 monitor, 82801H (ICH8 family) audio controller, Intel 82566MM Gigabit & 4965AGN network adaptors, 3GB ram with Intel GM965 chipset). I am a physicist and do most of my computational/modeling work on GNU/Linux and would like to make the system dualboot with XP and any one of the standard GNU/Linux distros out there (I prefer a minimalistic system, preferably running Debian or its variants like Ubuntu). I am posting this to know the experiences of people who have walked this way before. I am a long time DELL (inspiron/other models) user and this is the first time I am using a thinkpad. So pardon my ignorance. Here goes:
    1. What are the things I should know before proceeding? I would like to keep the XP (I think "thinkvantage" is really nice). I have read about the 'hidden' partition, would this be deleted if I use GRUB as the bootloader?
    2. From your experience, which distro would best support the hardware? Do most of the things (e.g., s2ram, s2hdd, FN keys etc.) work out of the box?  I am aware of 'thinkwiki' and will read more in detail. Any nagging problems? Please advice.
    Thanks for your time and help.
    ~rk

    1. Make the recovery discs for XP before you do anything else. Make the first disc a cd and the rest can be either 2 dvd's or 7 cd's. Grub will allow you to get to the restore partition but you never know when something will go wrong and you will need the discs.
    2. A lot of people here are having good results with Linux Mint which is a Ubuntu derivative. There are no Thinkvantage tools for Linux. Most other things can be made to work. Some are easy and some are not so easy. It depends on how much work you want to put into it to get a certain functionality. I have never had a lot of luck with hibernate in Windows or Linux . Suspend is OK in Windows and sometimes it is OK in Linux. I never bother with either one. The function keys work for the most part.
    T60 2623-D7U, 3 GB Ram. Dual boot XP and Linux Mint.
    T400 2765-T7U Windows 7
    Registered Linux User #160145
    FYI: I am not employed by Lenovo

  • Gnu/linux on T61p?

    Dear forum members,
    Greetings from lands far away :-)
    I am in the market for a laptop, "specifically" for scientific computing - data processing, running numerical models, coding and visualization (Python, openGL, Tcl/Tk, Vis5d). I have decided to try T61p. I have couple questions/concerns, please.
    1. Is gnu/linux available (preloaded) on the T61p? I am a long time Debian/Ubuntu user. I wonder why lenovo doesn't mention about the availability of gnu/linux on the T61p? It is mentioned here tho: http://www.desktoplinux.com/news/NS8001895768.html
    2. I am planning on the following configuration:
    T9300 (2.5GHz, 800MHz,6MBL2)
    NVIDIA Quadro Fx 570M (256MB OpenGL)
    3GB PC2-5300 DDR2 SDRAM 667MHz
    I heard that usually the gnu/linux preloaded models (at least the ones mentioned on the lenovo page) are available with Intel GMA X3100 integrated chipset, and "NOT" the NVIDIA FX 570M, which I want to have. So if Lenovo sells T61p with gnu/linux preloaded (RHEL, SLED, whatever), then is it possible to keep the same configuration mentioned above?
    3. Finally, I would appreciate it if any of you guys can share any information on the T61p (other than that which is already available from the T61p page) / your experiences/suggestions regarding whether this is a good machine for my requirement(s)..
    Thanks in advance for your time and any help!
    Cheers,
    /rk

    Well, thanks for taking time off to reply. But I guess it takes me back to my original post - that with gnu/linux preloaded models, NVIDIA chipset is "not" an option?!..and as for the processor, only the T7800 is available (I wonder why?) Besides, selecting the Intel PRO/Wireless 3945ABG (again, the only option available) delays shipping too?!! Anyways, I have heard good things about the opensource "madwifi" driver for Atheros, which is available with T61p (windoze preloaded).
    Does anyone know of any benchmarks (a URL would be helpful) with reference to the CPU temperature when cpu intensive and graphics intensive computations (T9300 cpu + NVIDIA quadro FX 570M chipset). I am really interested in knowing what would be the temps for extended usage and/or multitasking.
    Thanks,
    /rk

  • Audio transmit problem under redhat linux 9

    Hi !!
    I have already compiled J2sdk1.4.2 and JMF2.1.1e performance pack for linux and they both work alright under Redhat linux 9. JMStudio works fine to playback audio files. The problem I'm having is when I try to transmit and receive audio files through AVTransmit2, AVReceive2 and JMStudio!! They just don't work!!
    AVTransmit2 and JMStudio just starts to transmit but on the receiving end both jmstudio and avreceiver2 just waits for rtp data but none arrives!!
    Can anyone help me with this problem?? I've already tried spending a whole day cranking my brain about this!!
    Thanks in advance

    make sure your hostname is somehostname.com , and make sure you have your IP mapped to your hostname in /etc/hosts file.

  • Why can't i start my oracle 9.2.0.1.0 under Redhat linux 8.0??

    When i installing oracle, after copying the files, it telled me "install successfully" , but when it in the procedure: "Linking Oracle9i Database 9.2.0.1.0", it stop and auto exit.
    But I think i should have installed finish. So I try to start it. As below:
    sqlplus /nolog
    SQL> connect / as sysdba
    ERROR:
    ORA-09925: Unable to create audit trail file
    Linux Error: 2: No such file or directory
    Additional information: 9925
    ORA-01031: insufficient privileges
    How can I start it?
    Is that because I hadn't set the value of "/proc/sys/kernel/sem" before I install oracle? It's original value is "250 3200 32 128", I don't know what it should be under Redhat Linux 8.0.
    Can anybody help me?
    thanks.

    I followed the directions here
    http://www.puschitz.com/OracleOnLinux.shtml
    Using this I was able to get 9201 installed on both SuSE8.1 and RedHat8.0.
    On RH8, You have to hand modify the ins_ctx.mk per his instructions and up the value in /proc/sys/kernel/shmmax per his instructions. I did not hit the binutils issue. Other failures are probably missing rpms, as he describes.

Maybe you are looking for

  • View alarm status of shared variable

    Hello: I need to know the alarm status (I mean, if the shared variable is currently alarmed) of some shared variables hosted in a Compact Fieldpoint Controller. I've seached for options on how to do this (like searching for a property through a prope

  • IPhone battery issue - exchange calendar sync the primary suspect

    I previously posted about very poor battery life and how a full re-install and reset seemed to fix the issue. The battery life was great for a week or so then I tried to go from my calendar on .me to my calendar on exchange. Then the issues re-appear

  • Query regarding hex format in labview

    hello, I am getting hex data in labview in the format xxxx xxxx xxxx xxxx and i am trying to convert it into number format..so is this hex format valid or do i need to remove the spaces between them before conversion to a number?..any help would be a

  • Slideshow Won't Repeat in Win7

    I have discovered a bug, maybe it's just me, but I don't think so.  I have 3 different systems, Win Xp-Pro, Vista, and Win7.  On XP-Pro and Vista, the "repeat" function works just fine, multiple pictures just loop over and over.  HOWEVER, in Win 7, t

  • Crystal Reports has stopped working

    I just installed Crystal Reports 2013. I am using Windows 7. The program opens up and everything looks normal but when I open a blank report and try to create a new connection, it immediately gives me the error "Crystal Reports has stopped working" a