[Solved]Rox filer and UK keyboard.

Hi,
Can anyone give a hand here?.
All apps EG Seamonkey,text editor,terminal are correctly using this UK keyboard except Rox filer which is using  a US keymap instead when EG setting a run action,
xorg.conf is set with;
Option "XkbLayout" "gb"
rc.conf is set with;
KEYMAP="uk"
Thanks,Chris.
Last edited by clodhopper (2009-02-19 01:26:06)

dunc wrote:
Weird. I have rox-lib installed here:
$ pacman -Qs rox-lib
local/rox-lib 2.0.4-1 (rox-desktop)
Shared code which can be used by other ROX applications. This is rox-lib2
...and have no keymap trouble.
I thought your problem was odd when I first saw it, but didn't say anything because I didn't really have any answers beyond "works okay here". Still, if uninstalling rox-lib works for you, I suppose...
Weird but that is the way it was.Have had to put 'setxkbmap gb &' into my .xinitrc file to get reliable keyboard mapping and have re-installed rox-lib2.All seems ok now.
Think the problem may have started with 'hwd -xa' which set xorg.conf "XkbdModel" "uk" and uk is unknown to X.
I did'nt notice the error until a few days later by which time i had installed most software (clean install) including rox-lib2.
Best Wishes.Chris.

Similar Messages

  • [SOLVED] .SRCINFO file and multiarch PKGBUILD/package

    Is it a bad practice to have one PKGBUILD/package for x86 and x86_64 when they have not the same source?
    Exemple:
    # Maintainer: Tanguy ALEXIS <[email protected]>
    # Contributer: Shaun Hammill <[email protected]>
    # Contributer: Travis Lyons <[email protected]>
    pkgname=magicassistant-gtk
    pkgver=1.4.2.001
    pkgrel=1
    pkgdesc="Card Browser, Library Organizer, Deck Builder and Tournament Manager for Magic the Gathering Card Game"
    arch=(i686 x86_64)
    url="http://sourceforge.net/projects/mtgbrowser/"
    license=('EPL')
    depends=(gtk2 'java-runtime>=8' unzip libwebkit)
    source=('source')
    md5sums=('md5sums')
    if test "$CARCH" == "x86_64"; then
    source=(http://downloads.sourceforge.net/project/mtgbrowser/Magic_Assistant/${pkgver}/magicassistant-${pkgver}-linux.gtk.x86_64.zip magicassistant.desktop)
    md5sums=('ae780a748d2d245b2f3220694cec5986'
    '37f143dbb28032d4fcc7a0a6e4e7f239')
    fi
    if test "$CARCH" == "i686"; then
    source=(http://downloads.sourceforge.net/project/mtgbrowser/Magic_Assistant/${pkgver}/magicassistant-${pkgver}-linux.gtk.x86.zip magicassistant.desktop)
    md5sums=('cb0e8e8fb8bf3f37326432302954fecf'
    '37f143dbb28032d4fcc7a0a6e4e7f239')
    fi
    package() {
    msg "Installing..."
    install -d "$pkgdir"/{/usr/bin,/opt,/usr/share/applications}
    install -m644 $srcdir/magicassistant.desktop $pkgdir/usr/share/applications/magicassistant.desktop
    mv $srcdir/MagicAssistant $pkgdir/opt
    msg "Link to bin..."
    ln -s /opt/MagicAssistant/magicassistant $pkgdir/usr/bin/magicassistant
    msg2 "Done!"
    This work but not with mksrcinfo even if I skip the integrity check, because it will check for a "source" file instead of the actual source.
    So, is there any way to deal with this or I just have to split this in two package? Sorry if this has been answered before, can't find it.
    Last edited by Nyutag (2015-06-17 07:55:24)

    Read 'man PKGBUILD', particularly the section about the source array and how you can specify architecture-specific sources. Look into the corresponding *sum arrays too. Lose the bash conditionals outside the build/package functions.

  • My macbook pro (using lion os) can't search files and folders on external hard drive! How can i solve it?

    When i used Snow leopard, i can search every files and folders on my external hard drive (NTFS). But when i upgraded to lion OS, sportlight didn't index files on exteranal hard drive and i can't search everything on external hard drive whatever i type in the search box! I also check the Finder preference and select when performing a search to "Search the current folder" ! How can i solve this problem! Please help me if you know!

    iTunes>Preferences (Cmd+,)>Advanced
    Choose the Ext HD (and the appropriate folder) as the location for your library.

  • [SOLVED] Check for old configuration files and directories in ~/

    Hello,
    Since I started with Arch I tried and uninstalled a few programs and would like to check for possible left overs in ~/
    I tried the "lostfiles" script, but it does not seem to check the home directory. Then I followed this: https://wiki.archlinux.org/index.php/Pa … ny_package - But using the suggested alias in my bash, it gives me the below:
    $ pacman-disowned-files
    [sudo] password for [my user]:
    bash: -path: command not found
    bash: /root: Is a directory
    bash: -print: command not found
    What am I doing wrong?
    Regards
    Martin
    Last edited by onslow77 (2015-02-04 23:52:44)

    Hello,
    ohh, I see, I need to do this (in directory where I put the script)
    sh pacman-disowned -files > test.txt
    That solved the usage of the commands, but it does not however list files [in the test.txt file] that do not belong to any package in my ~/ directory (I put a dummy file in my ~/ to see if it got noticed) - but it did not. So how can I list files and directories in my ~/ directory that is not put there by any package that currently is installed?
    Regards
    Martin
    Last edited by onslow77 (2015-02-04 22:49:11)

  • I have the following Imac and Iphoto 11 in Finder folder I upgrade the iphoto file  and  all the latest event files, can you help how to solve the problem? Thank you  Model Name iMac    Model Identifier:     iMa

    I have the following Imac and Iphoto 11 in Finder folder I upgrade the iphoto file  and I lost all the latest event files, can you help how to solve the problem? Thank you
    Model Name:     iMac
    Model Identifier:     iMac8,1   Processor Name:     Intel Core 2 Duo
    Processor Speed:     2.4 GHz

    http://support.apple.com/kb/HT2638?viewlocale=en_US&locale=en_US

  • [SOLVED] A File Manager That Can Group Folders and Files like Fences

    I want to create a custom desktop environment in Arch Linux and I'm looking for a file manager that is similar to Windows Explorer in terms of features and functionality and can group files and folders into fences like Stardock Fences does for the desktop in Windows.
    If such a feature isn't available then I, at least, want to group both files and folders into individual groups based on custom parameters and not just Date or Size.
    Is there any File Manager in Linux that can fulfill my requirements? If not, is there any file manager which can be extended (by scripting or programming) easily to include the features that I'm looking for?
    Last edited by chosentorture (2014-11-27 19:28:40)

    ANOKNUSA wrote:The important thing to keep in mind here is that Windows Explorer is the foundation for the entire Windows interface. If you've ever seen the exploere.exe process die for any reason, you know what I mean. That's the reason it's able to utilize functionality like Fences. In order to get the same kind of functionality in Linux, you'd need a very similar setup. KDE + Konqueror are what come closest from my experience, since the Plasma interface actually has widgets built in that do what you want, but if you use KDE then you use KDE. Full stop. KDE is highly customizable, but only if you use its environment and parts.
    Nah. I don't wanna use KDE. I've heard that it's the most resource hungry DE out there.
    OK, maybe not something like fences in a file manager but I, at least, want to be able to group files AND folders (within a folder or a directory) under a single parameter and that parameter can be custom and not just pre defined like Date and Size.
    Huh. I'm down to Konquerer, like you suggested, and Dolphin. Can I use either as a stand alone file manager in a custom DE in Arch without using KDE?

  • [Solved] File browser that supports mixed files and directories

    Are there any file browsers that show files and directories together, in the way that macs do? Most of the time I like the seperated structure, but for some things I'd like to be able to sort by, say, date modified, and have all the newest files and directories together. I'm hoping I'm just overlooking an option somewhere (I'm using nemo now), but this is kind of a tricky thing to google.
    EDIT
    Just looked again and noticed the option, right there in front of me. Oops. Still, andyone happen to know how to make this a property of a single directory, and not global?
    Last edited by ce1984 (2014-04-25 02:05:16)

    ls - just don't use
    --group-directories-first

  • [NEW] Rox-Lib2, Rox-Clib2, ROX-Session, and rox apps.

    If anyone is interested in the Rox desktop, which I am to varying degrees throughout the week, here you go.  I've changed the way everything is packaged, slightly.  I put the Libs in /usr/lib, and everything else into /usr/apps, with standardized script in /usr/bin.  Script is based on Tobias Kieslich's work.
    groups are rox-desktop for all rox applications, and rox-look-and-feel.
    EDIT: a screenshot, with xfwm, I'm going to package OroboROX and play with that.  Oh, and I'll put these in my repo as soon as it exists.
    [URL=http://img103.exs.cx/my.php?loc=img103&image=screen9ob.jpg][/URL]
    # $Id$
    # Contributor: Nathan Curry <[email protected]>
    pkgname=rox-lib
    pkgver=1.9.17
    pkgrel=1
    pkgdesc="ROX-Lib contains shared code which can be used by other ROX applications.This is rox-lib2"
    url="http://rox.sourceforge.net/rox_lib.html"
    license=""
    depends=('python>=2.2' 'pygtk>=2.0')
    source=(http://belnet.dl.sourceforge.net/sourceforge/rox/$pkgname-$pkgver.tgz)
    md5sums=('591be5cfb02df1ff76db466a16fa4817')
    groups=('rox-desktop')
    build() {
    cd $startdir/src/$pkgname-$pkgver/ROX-Lib2
    ./AppRun --compile
    cd ..
    mkdir -p $startdir/pkg/usr/lib
    cp -rp ROX-Lib2 $startdir/pkg/usr/lib
    # $Id$
    # Contributor: Nathan Curry <[email protected]>
    pkgname=rox-clib
    pkgver=2.1.4
    pkgrel=1
    pkgdesc="ROX-CLib contains shared code which can be used by other ROX applications.This is rox-clib"
    url="http://www.kerofin.demon.co.uk/rox/ROX-CLib.html"
    license=""
    depends=('gtk2' 'libxml2>=2.4')
    source=(http://www.kerofin.demon.co.uk/rox/ROX-CLib-$pkgver.tar.gz)
    md5sums=()
    groups=('rox-desktop')
    build() {
    cd $startdir/src/ROX-CLib
    ./AppRun --compile
    cd ..
    mkdir -p $startdir/pkg/usr/lib
    cp -rp ROX-CLib $startdir/pkg/usr/lib
    # $Id$
    # Contributor: Nathan Curry <[email protected]>
    pkgname=rox-session
    pkgver=0.1.25
    pkgrel=1
    groups=('rox-desktop')
    pkgdesc="Session manager for the ROX desktop environment"
    url="http://belnet.dl.sourceforge.net/sourceforge/rox/$_srcname-$pkgver.tgz"
    depends=('rox-lib' 'glib2>=2.4' 'dbus' 'python')
    source=(http://umn.dl.sourceforge.net/sourceforge/rox/ROX-Session-$pkgver.tgz)
    build() {
    cd $startdir/src/ROX-Session-$pkgver/ROX-Session
    ./AppRun --compile
    cd ..
    mkdir -p $startdir/pkg/usr/apps/
    cp -rp ROX-Session $startdir/pkg/usr/apps/
    mkdir -p $startdir/pkg/usr/bin
    echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
    echo "exec /usr/apps/ROX-Session/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
    chmod a+x $startdir/pkg/usr/bin/$pkgname
    # $Id$
    # Contributor: Nathan Curry <[email protected]>
    pkgname=rox-archive
    _srcname=archive
    pkgver=1.9.4
    pkgrel=1
    groups=('rox-desktop')
    pkgdesc="Archiver based on the Rox Python library"
    url="http://belnet.dl.sourceforge.net/sourceforge/rox/$_srcname-$pkgver.tgz"
    depends=('rox-lib')
    source=(http://belnet.dl.sourceforge.net/sourceforge/rox/$_srcname-$pkgver.tgz)
    build() {
    cd $startdir/src/$_srcname-$pkgver
    mkdir -p $startdir/pkg/usr/apps
    cp -rp Archive $startdir/pkg/usr/apps
    mkdir -p $startdir/pkg/usr/bin
    echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
    echo "exec /usr/apps/Archive/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
    chmod a+x $startdir/pkg/usr/bin/$pkgname
    # $Id$
    # Contributor: Nathan Curry <[email protected]>
    pkgname=rox-edit
    _srcname=edit
    pkgver=1.9.7
    pkgrel=1
    groups=('rox-desktop')
    pkgdesc="Editor based on the Rox Python library"
    url="http://rox.sourceforge.net/phpwiki/index.php/Edit"
    depends=('rox-lib')
    source=(http://belnet.dl.sourceforge.net/sourceforge/rox/$_srcname-$pkgver.tgz)
    build() {
    cd $startdir/src/$_srcname-$pkgver
    mkdir -p $startdir/pkg/usr/apps
    cp -rp Edit $startdir/pkg/usr/apps
    mkdir -p $startdir/pkg/usr/bin
    echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
    echo "exec /usr/apps/Edit/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
    chmod a+x $startdir/pkg/usr/bin/$pkgname
    # $Id$
    # Contributor: Nathan Curry <[email protected]>
    pkgname=rox-pager
    _srcname=pager
    pkgver=1.0.1
    pkgrel=1
    groups=('rox-desktop')
    pkgdesc="Pager for the Rox panel based on the Rox Python library"
    url="http://rox.sourceforge.net/phpwiki/index.php/Pager"
    depends=('libwnck')
    source=(http://umn.dl.sourceforge.net/sourceforge/rox/pager-1.0.1.tgz)
    build() {
    cd $startdir/src/$_srcname-$pkgver/Pager
    ./AppRun --compile
    cd ..
    mkdir -p $startdir/pkg/usr/apps
    cp -rp Pager $startdir/pkg/usr/apps
    mkdir -p $startdir/pkg/usr/bin
    echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
    echo "exec /usr/apps/Pager/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
    chmod a+x $startdir/pkg/usr/bin/$pkgname
    # $Id$
    # Contributor: Nathan Curry <[email protected]>
    pkgname=rox-picky
    _srcname=Picky
    pkgver=0.5.1
    pkgrel=1
    pkgdesc="Picky is a app for ROX-Desktops to view PNG, GIF, JPG, XPM, SVG (where available), and other supported image types."
    url="http://rdsarts.com/code/picky/"
    license=""
    depends=('rox-lib>=1.9.14')
    source=(http://rdsarts.com/code/picky/$_srcname-$pkgver.tar.bz2)
    md5sums=('0082262f75b4bf74c82ee3607d2a7569')
    groups=('rox-desktop')
    build() {
    cd $startdir/src/$_srcname
    ./AppRun --compile
    cd ..
    mkdir -p $startdir/pkg/usr/apps
    cp -rp $_srcname $startdir/pkg/usr/apps/
    mkdir -p $startdir/pkg/usr/bin
    echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
    echo "exec /usr/apps/$_srcname/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
    chmod a+x $startdir/pkg/usr/bin/$pkgname
    Now the Look and Feel applications:
    # $Id$
    # Contributor: Nathan Curry ([email protected])
    pkgname=rox-font
    _srcname=Font
    pkgver=0.8
    pkgrel=1
    groups=('rox-look-and-feel')
    pkgdesc="Font preferences dialog for ROX-Session, part of a look and feel suite"
    url="http://roxos.sunsite.dk/dev-contrib/guido/Configure"
    depends=('rox-session' 'dbus')
    source=($url/$_srcname-$pkgver.tar.bz2)
    build() {
    cd $startdir/src/$_srcname
    ./AppRun --compile
    cd ..
    mkdir -p $startdir/pkg/usr/apps
    cp -rp $_srcname $startdir/pkg/usr/apps/
    mkdir -p $startdir/pkg/usr/bin
    echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
    echo "exec /usr/apps/$_srcname/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
    chmod a+x $startdir/pkg/usr/bin/$pkgname
    # $Id$
    # Contributor: Nathan Curry ([email protected])
    pkgname=rox-keybord
    _srcname=Keyboard
    pkgver=0.9.3
    pkgrel=1
    groups=('rox-look-and-feel')
    pkgdesc="A $_srcname preferences dialog for ROX-Session, part of a look and feel suite"
    url="http://roxos.sunsite.dk/dev-contrib/guido/Configure"
    depends=('rox-session' 'dbus')
    source=($url/$_srcname-$pkgver.tar.gz)
    build() {
    cd $startdir/src/$_srcname
    ./AppRun --compile
    cd ..
    mkdir -p $startdir/pkg/usr/apps
    cp -rp $_srcname $startdir/pkg/usr/apps/
    mkdir -p $startdir/pkg/usr/bin
    echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
    echo "exec /usr/apps/$_srcname/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
    chmod a+x $startdir/pkg/usr/bin/$pkgname
    # $Id$
    # Contributor: Nathan Curry ([email protected])
    pkgname=rox-mount
    _srcname=Mount
    pkgver=0.6pre
    pkgrel=1
    groups=('rox-look-and-feel')
    pkgdesc="A $_srcname preferences dialog for ROX-Session, part of a look and feel suite"
    url="http://roxos.sunsite.dk/dev-contrib/guido/Configure"
    depends=('rox-session' 'dbus')
    source=($url/ROX-$_srcname-$pkgver.tar.bz2)
    build() {
    cd $startdir/src/$_srcname
    ./AppRun --compile
    cd ..
    mkdir -p $startdir/pkg/usr/apps
    cp -rp $_srcname $startdir/pkg/usr/apps/
    mkdir -p $startdir/pkg/usr/bin
    echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
    echo "exec /usr/apps/$_srcname/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
    chmod a+x $startdir/pkg/usr/bin/$pkgname
    # $Id$
    # Contributor: Nathan Curry ([email protected])
    pkgname=rox-theme
    _srcname=Theme
    pkgver=0.5.1
    pkgrel=1
    groups=('rox-look-and-feel')
    pkgdesc="A $_srcname preferences dialog for ROX-Session, part of a look and feel suite"
    url="http://roxos.sunsite.dk/dev-contrib/guido/Configure"
    depends=('rox-session' 'dbus')
    source=($url/$_srcname-$pkgver.tar.bz2)
    build() {
    cd $startdir/src/$_srcname
    ./AppRun --compile
    cd ..
    mkdir -p $startdir/pkg/usr/apps
    cp -rp $_srcname $startdir/pkg/usr/apps/
    mkdir -p $startdir/pkg/usr/bin
    echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
    echo "exec /usr/apps/$_srcname/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
    chmod a+x $startdir/pkg/usr/bin/$pkgname
    # $Id$
    # Contributor: Nathan Curry ([email protected])
    pkgname=rox-toolbar-and-menus
    _srcname=Toolbar&Menus
    pkgver=0.8
    pkgrel=1
    groups=('rox-look-and-feel')
    pkgdesc="A $_srcname preferences dialog for ROX-Session, part of a look and feel suite"
    url="http://roxos.sunsite.dk/dev-contrib/guido/Configure"
    depends=('rox-session' 'dbus')
    source=($url/$_srcname-$pkgver.tar.bz2)
    build() {
    cd $startdir/src/$_srcname
    ./AppRun --compile
    cd ..
    mkdir -p $startdir/pkg/usr/apps
    cp -rp $_srcname $startdir/pkg/usr/apps/
    mkdir -p $startdir/pkg/usr/bin
    echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
    echo "exec /usr/apps/$_srcname/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
    chmod a+x $startdir/pkg/usr/bin/$pkgname
    # $Id$
    # Contributor: Nathan Curry ([email protected])
    pkgname=rox-mouse
    _srcname=Mouse
    pkgver=0.8.3
    pkgrel=1
    groups=('rox-look-and-feel')
    pkgdesc="A $_srcname preferences dialog for ROX-Session, part of a look and feel suite"
    url="http://roxos.sunsite.dk/dev-contrib/guido/Configure"
    depends=('rox-session' 'dbus' 'pyrex')
    source=($url/$_srcname-$pkgver.tar.gz)
    build() {
    cd $startdir/src/$_srcname
    ./AppRun --compile
    cd ..
    mkdir -p $startdir/pkg/usr/apps
    cp -rp $_srcname $startdir/pkg/usr/apps/
    mkdir -p $startdir/pkg/usr/bin
    echo "#!/bin/sh" > "$startdir/pkg/usr/bin/$pkgname"
    echo "exec /usr/apps/$_srcname/AppRun "$@"" >> "$startdir/pkg/usr/bin/$pkgname"
    chmod a+x $startdir/pkg/usr/bin/$pkgname

    Instead of:
    exec startxfce4
    rox -p=pin &
    Try:
    rox -p=pin &
    exec startxfce4
    The '&' at the end of the line allows bash to continue through the script without waiting until the first process ends.  For a practical example:
    1. Open xterm
    2. run the command 'firefox'
    3. Firefox will open, and you can't use the xterm anymore.  Close Firefox
    4. Run the command 'firefox &'
    5. Firefox will open and you can still use the xterm.
    You want to put exec startxfce4 at the very end of your .xinitrc file.
    EDIT:  You're right about xfce4 not receiving the clicks in the root window.  I'm not sure why that is though...  :?
    You could maybe try using another window manager like PekWM or blackbox 0.70 and using the xfce panel and other features.  If you get all that stuff up and running, then run ROX-Session, it should take over as the session manager if you just run through the wizard, and you'll have GTK'ed windows.  This is probably going to be a lot of work, but I always tell myself I'll be able to apply it in another area of my life 

  • File and FileInputStream problem

    Hi all
    I have downloaded from developpez.com a sample code to zip files. I modified it a bit to suit with my needs, and when I launched it, there was an exception. So I commented all the lines except for the first executable one; and when it succeeds then I uncomment the next executable line; and so on. When I arrived at the FileInputStream line , the exception raised. When I looked at the code, it seemed normal. So I want help how to solve it. Here is the code with the last executable line uncommented, and the exception stack :
    // Copyright (c) 2001
    package pack_zip;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import oracle.jdeveloper.layout.*;
    import java.io.*;
    import java.util.*;
    import java.util.zip.*;
    import java.text.*;
    * A Swing-based top level window class.
    * <P>
    * @author a
    public class fzip extends JFrame implements ActionListener{
    JPanel jPanel1 = new JPanel();
    XYLayout xYLayout1 = new XYLayout();
    JTextField szdir = new JTextField();
    JButton btn = new JButton();
    JButton bzip = new JButton();
         * Taille générique du tampon en lecture et écriture
    static final int BUFFER = 2048;
    * Constructs a new instance.
    public fzip() {
    super("Test zip");
    try {
    jbInit();
    catch (Exception e) {
    e.printStackTrace();
    * Initializes the state of this instance.
    private void jbInit() throws Exception {
    this.getContentPane().setLayout(xYLayout1);
         this.setSize(new Dimension(400, 300));
    btn.setText("btn");
    btn.setActionCommand("browse");
    btn.setLabel("Browse ...");
    btn.setFont(new Font("Dialog", 0, 14));
    bzip.setText("bzip");
    bzip.setActionCommand("zipper");
    bzip.setLabel("Zipper");
    bzip.setFont(new Font("Dialog", 0, 14));
    btn.addActionListener(this);
    bzip.addActionListener(this);
    bzip.setEnabled(false);
         this.getContentPane().add(jPanel1, new XYConstraints(0, 0, -1, -1));
    this.getContentPane().add(szdir, new XYConstraints(23, 28, 252, 35));
    this.getContentPane().add(btn, new XYConstraints(279, 28, 103, 38));
    this.getContentPane().add(bzip, new XYConstraints(128, 71, 103, 38));
    public void actionPerformed(ActionEvent e)
    if(e.getActionCommand() == "browse")
    FileDialog fd = new FileDialog(this);
    fd.setVisible(true);
    szdir.setText(fd.getDirectory());
    bzip.setEnabled(true);
    else
              * Compression
         try {
              // création d'un flux d'écriture sur fichier
         FileOutputStream dest = new FileOutputStream("Test_archive.zip");
              // calcul du checksum : Adler32 (plus rapide) ou CRC32
         CheckedOutputStream checksum = new CheckedOutputStream(dest, new Adler32());
              // création d'un buffer d'écriture
         BufferedOutputStream buff = new BufferedOutputStream(checksum);
              // création d'un flux d'écriture Zip
         ZipOutputStream out = new ZipOutputStream(buff);
         // spécification de la méthode de compression
         out.setMethod(ZipOutputStream.DEFLATED);
              // spécifier la qualité de la compression 0..9
         out.setLevel(Deflater.BEST_COMPRESSION);
         // buffer temporaire des données à écriture dans le flux de sortie
         byte data[] = new byte[BUFFER];
              // extraction de la liste des fichiers du répertoire courant
         File f = new File(szdir.getText());
         String files[] = f.list();
              // pour chacun des fichiers de la liste
         for (int i=0; i<files.length; i++) {
                   // en afficher le nom
              System.out.println("Adding: "+files);
    // création d'un flux de lecture
    FileInputStream fi = new FileInputStream(files[i]);
    /* // création d'un tampon de lecture sur ce flux
    BufferedInputStream buffi = new BufferedInputStream(fi, BUFFER);
    // création d'en entrée Zip pour ce fichier
    ZipEntry entry = new ZipEntry(files[i]);
    // ajout de cette entrée dans le flux d'écriture de l'archive Zip
    out.putNextEntry(entry);
    // écriture du fichier par paquet de BUFFER octets
    // dans le flux d'écriture
    int count;
    while((count = buffi.read(data, 0, BUFFER)) != -1) {
              out.write(data, 0, count);
                   // Close the current entry
    out.closeEntry();
    // fermeture du flux de lecture
              buffi.close();*/
    /*     // fermeture du flux d'écriture
         out.close();
         buff.close();
         checksum.close();
         dest.close();
         System.out.println("checksum: " + checksum.getChecksum().getValue());*/
         // traitement de toute exception
    catch(Exception ex) {
              ex.printStackTrace();
    And here is the error stack :
    "D:\jdev32\java1.2\jre\bin\javaw.exe" -mx50m -classpath "D:\jdev32\myclasses;D:\jdev32\lib\jdev-rt.zip;D:\jdev32\jdbc\lib\oracle8.1.7\classes12.zip;D:\jdev32\lib\connectionmanager.zip;D:\jdev32\lib\jbcl2.0.zip;D:\jdev32\lib\jgl3.1.0.jar;D:\jdev32\java1.2\jre\lib\rt.jar" pack_zip.czip
    Adding: accueil188.cfm
    java.io.FileNotFoundException: accueil188.cfm (Le fichier spécifié est introuvable.
         void java.io.FileInputStream.open(java.lang.String)
         void java.io.FileInputStream.<init>(java.lang.String)
         void pack_zip.fzip.actionPerformed(java.awt.event.ActionEvent)
         void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
         void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
         void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
         void javax.swing.DefaultButtonModel.setPressed(boolean)
         void javax.swing.plaf.basic.BasicButtonListener.mouseReleased(java.awt.event.MouseEvent)
         void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
         void java.awt.Component.processEvent(java.awt.AWTEvent)
         void java.awt.Container.processEvent(java.awt.AWTEvent)
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
         void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
         boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
         boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
         void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
         boolean java.awt.EventDispatchThread.pumpOneEvent()
         void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
         void java.awt.EventDispatchThread.run()
    Thank you very much

    One easy way to send a file through RMI is to read all bytes of a file to a byte array and send this array as a parameter of a remote method. But of course you may have problems with memory when you send large files. The receive is simillary.
    Other way is to split the file and getting slices of the file, sending slices and re-assemble at destination. This assume that the file isn't changed through the full transfering is concluded.
    I hope these could help you.

  • Is there a way to select a certain box of elements from a csv file and read that into LabVIEW?

    Hello all, I was wondering if there was a way to select only a certain "box" of elements from a .csv file in LabVIEW? I have LabVIEW 2011 and my main goal is to take two arrays and graph them against each other. I can import the .csv file just fine and separate each row and each column to be its own, but say I have an 8X8 but want to graph the middle 4X5 or something like that. Is there any way to extract an array without starting at the beginning and without ending at the end? Thank you in advance.
    Solved!
    Go to Solution.

    Hi Szklanam,
    as a CSV file is just a TXT file with a different suffix you can read a certain number of lines of that file. So you can limit the number of rows in your resultung array. To limit the number of columns you still have to use ArraySubset, so maybe it's a lot easier to read the full CSV file and pick the interesting spots with ArraySubset...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Please help! I defragged my hard drive and now Illustrator CS6 is trying to open all of my complex Illustrator files with a "Text Import Options" box as if they are text files, and they are not opening!

    Please help! Illustrator CS6 started trying to open all of my complex.ai files with a "Text Import Options" box as if they were text files, and they are not opening!  Help!

    Hi Monika,
    I have spent the last two or three days trying to do what you suggested.  I uninstalled Adobe 6 from Windows.  Some files that CS6 placed on my system during installation remained, including fonts and .dll files.
    I had to abandon the Cleaner Tool you suggested because in one screen it allowed me to specify removing CS6 only, but on the following screen it only gave on option to remove ALL Adobe programs.  I could not do that because I didn't have the serial number handy for CS3 in case I want to reinstall it at some point.
    I tried to get technical help with the Cleaner Tool problem but no definitive help was available, so I reinstalled CS6 again without having the benefit of the Cleaner Tool.  I tried to get the serial number for CS3 so I could use the Cleaner Tool but spent 2 wasted hours in chat.  Even though I had a customer number, order number, order date, place of purchase, the email address used AND 16 digits of the serial number, in two hours the agent couldn't give me the serial number.  After two hours I had nothing but instructions to wait another 20 minutes for a case number.
    Illustrator CS6 is still trying to open some backups as Text and otherNone of the problems have been fixed.  I have tried to open/use the .ai files in CS6 installed on another system and am getting the same result, so I don't think the software was damaged by the cleaner.  The hard drive cleaner is well-known and I've run it many times without any problem to previous versions of Illustrator or any other programs.
    When I ordered, the sale rep promised good technical support and gave me an 800 number, but after I paid the $2000, I learned that the 800 number she gave me doesn't support CS6 and hangs up on me.  Adobe doesn't call it a current product even though they just sold it to me about 3 weeks ago.
    Would appreciate any help you experts can offer.  If I can't solve this, the last backup I can use was from June and I will have lost HUNDREDS of hours of work and assets that I cannot replace.
    Exhausted and still desperately in need of help...

  • Problem with overwrite and insert keyboard commands

    I'm a new user, switching from FCP. I edited one project successfully with no trouble a couple of weeks ago. Now I'm in a second project and having a weird difficulty. Using a pretty new Mac 8 core tower.
    The insert and overlay keyboard commands (comma and period keys) don't work. They still work in the old project but not this one. If I start a new sequence and copy my timeline to it, the commands will work for awhile but ONLY with video, not with the audio tracks. Drag and drop works fine but that really slows me down.
    The clips I'm using are all the same format (H.264 from Canon 5DII and some still photos) as the first project. Only difference in this project is lots of chroma keying and some resizing of background still photos. Nothing unrendered.
    I started a new project just now and imported the problem project into it, started a new sequence, copied old sequence, and I get the same problem. I can drop in video with a keyboard command but not audio. Earlier it was not even doing video. Yesterday when I'd start a new sequence and do the same thing, it would give me video on the keyboard command but then eventually that would stop and it would do nothing. At one point the cursor would move over the width of the clip, as if it had been dropped into the timeline, but then that stopped as well.
    I've trashed preferences and that didn't work. I did that according to a procedure I found online. It said open up PP while holding down the Shift and Option keys. I did that twice. Nothing.
    To summarize: Keyboard commands for overwrite and insert edit do not work in this project but do in an older project.
    Any ideas?
    Thanks.
    Bill Pryor
    [email protected]

    Well, thanks to an email from another person who was having the same problem, it's all solved not.
    Operator error. Dang. Who knew--in FCP you select a track by clicking on the V or A buttons to the far left. In Premiere Pro you have to make sure BOTH the far left button and the one to the right that says Video 1, Audio 1, etc. are also clicked. They BOTH have to be light gray. In my first project, everything was properly activated but in the next project apparently they were not and that carried over to succeeding projects (even though I didn't change anything...at least consciously).
    So all as well now. No glitch, no bug. Just good ol' fashioned operator error. I will wear the dunce hat today.

  • How to repair my macbook pro when i had delete the app store file and know it telling that appstore file has been damage or incomplete and i had the version 10.6.8

    how to repair my macbook pro when i had delete the app store file and know it telling that appstore file has been damage or incomplete and i had the version 10.6.8

    so is their is any way that i can solve this matter

  • When I try to download Firefox for Windows, it unzips the file and says it cannot find 7-Zip file and stops download

    I have windows 7 on a desktop. I had firefox before which worked fine then I attached a router to my computer that may have been defective and may have damaged the computer. I took the router off. Firefox suddenly reverted back to the start up page of when you are new to firefox, e.g. here's how it works, and stopped loading my normal home page. Even though I entered the tabs I wanted for my startup home page every time I shut down my computer it went back to the beginning thinking I had only just loaded it. I did lots of system diagnostics but nothing appeared to be wrong with my computer so I uninstalled Firefox, restarted, then downloaded it again. When I download it, it says run or save and I choose run. Then it extracts the file and a message comes up that says "7-Zip. Cannot find file. Then nothing more happens. No files are downloaded to my computer and it's as though I never tried to download it.

    SAVE the installer to your hard drive (do not use the "Run" option); save it to your Desktop so that you can find it. When the download is complete, close whatever browser you have open, click or double-click the file you downloaded and see if it installs without a problem.
    The downloader is a self-extracting archive and should not need or use 7-zip. I have 7-zip installed on my system and it does not interfere with nor is it used in the Firefox install process. Hopefully, you have not set the downloading of .exe files to be associated with 7-zip.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Can't access the "Apple" icon in upper main menu to shutdown my MacBook Pro running 10.6.8!  Also can't open a new finder window and main menus such as File and Edit are sluggish to open or don't open at all.  Doesn't happen each time I attempt to shutdow

    Can't access the "Apple" icon in upper main menu to shutdown my MacBook Pro running 10.6.8!  Also can't open a new finder window and main menus such as File and Edit are sluggish to open or don't open at all.  Doesn't happen each time I attempt to shutdowCan't

    There are some keyboard commands (shortcuts) you can use instead of having to go to the Apple menu -
    Control-Eject          This brings up the Restart-Sleep-Cancel-Shutdown window.
    Command-Option-Eject          This puts the machine to sleep.
    Command-Control-Eject          This closes all apps and restarts the machine.
    Command-Option-Control-Eject          This closes all apps and shuts the machine down.

Maybe you are looking for