Listing files in a jar, one screen at a time

I need to list all the files in a .jar file from the DOS command line (using jar tf etc.). There are so many files that half of the list scrolls above the top of the window before the end of the list is displayed, so I can't see half the list. How do I tell it to pause the list when the screen is full, then continue scrolling only when I hit come key? I tried using \p (which is used in DOS) but that doesn't work.

Redirect the output to a file, and then use Notepad to display the contents of that file.
jar ... >somefile.txt

Similar Messages

  • How can I unsplit my mozilla screen? I want to see only one screen at a time!

    When I open mozilla only one screen shows up. Then when I open another website from my bookmarks mozilla all of the sudden split the screen into one website and then icloud. Very frustrating. Any help would be appreciated.

    I've called the big guys to help you. Good luck.
    In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see [[How do I create a screenshot of my problem?]]
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. This will help us to visualize the problem.
    Thank you!

  • Challenge involving creating a file on GUI & seeing one record at a time...

    Hi,
    If anyone can help me with this project I'd be most appreciative. I'll try and explain the problem the best I can. I'm adding students to a database at a university they're either a Graduate or an Undergraduate. I'm taking in first, lastname's, ssn, & ACT/SAT/GMAT test results. I have a GUI called StudentRecord that has all the JTextFields, JButton's, etc. I'm also writing it to a .txt file called StudentDA. For this I used a BufferedFile reader.
    What I really need is on my StudentRecord when I click the display button I want it to show one record at a time in another JFrame. This other JFrame I named it display. I'm trying to create an instance of JFrame inside of the actionPerformed for StudentRecord but when I click display nothing happens.
    I adding the students with a vector that I'm calling v. I want the Display to read from the .txt file and display one at a time hence next, and previous. I'm going to post the tidbit of relevant code. If anyone can help me you'd be my hero for the day for all time I've tried to get this to work.
    Here's the StudentRecord (GUI) display part:
          public void actionPerformed( ActionEvent event )
         try {
              Display d = new Display(StudentDA.v);
             }//end try
            //catch right here no problems with this..Here's the DataAccess part:
    public class StudentDA{
      static Vector v = new Vector();;
      static String pathName = "a:/Final Project/test1.txt";
      static File studentFile = new File(pathName);
      static String status;
      public StudentDA() {}
      public static void initialize() {
        if (studentFile.exists() && studentFile.length() !=0) {
         try{
          BufferedReader in = new BufferedReader(new
          FileReader(studentFile) );
          do{
             status = in.readLine();
              if(status.equals ("uGrad")) {
                uGrad u = new uGrad();
                u.setFName(in.readLine() );
                u.setLName(in.readLine() );
                u.setssNum(Integer.parseInt(in.readLine()) );
                u.setACT(Integer.parseInt(in.readLine() ));
                v.add(u);
                System.out.println(u + "inside ugrad");
              }//end if uGrad
              else{
                if(status.equals("Grad")) {
                //same process as uGrad
                v.add(g);
              }//end else Grad
          }while (status != null);
        }//end try statement
        catch (Exception e) {
          }//end catch
        }//end if there's something there
      }//end method initialize
      //creating the terminate method
      public static void terminate() {
        try{
          PrintStream out = new PrintStream ( new
          FileOutputStream (studentFile) );
          for (int i = 0; i < v.size(); i++) {
            Student s = (Student) v.elementAt(i);
            String p = s.printRecord();
            StringTokenizer rt = new StringTokenizer(p, "\t");
            while (rt.hasMoreTokens() ) {
              out.println(rt.nextToken() );
              }//end while
          }//end for loop
        }//end try loop
        catch (Exception e){
        }//end catch
      }//end terminate
    public static void add(Student s){// throws DuplicateException{
              boolean duplicate = false;
              for(int i = 0; i < v.size(); i++){
                   if(s.getssNum() == ((Student)(v.elementAt(i))).getssNum()){
                        duplicate = true;
                        break;
                   if(duplicate){
                        throw new DuplicateException("Student Already Exists");
                   else{
                        v.add(s);
    }//end add method
    }//end classHere's the display class:
    public class Display extends JFrame {
         private JButton Next, Previous;
         private JTextField statusField, firstField, lastField, socialField, advPlacementField, actField;
         private JLabel statusLabel, firstLabel, lastLabel, socialLabel, advPlacementLabel, actLabel;
         private JPanel fieldPanel, buttonsPanel;
         private JTextArea displayArea;
         static int count = 0;
         static String status;
         public Display(){}
    public Display(Vector v){
         //setting up the GUI components for the display class here
         //JTextAreas & JLabels
         buttonsPanel = new JPanel();
         buttonsPanel.setLayout(new GridLayout(1,2));
        Next = new JButton("Next");
        buttonsPanel.add(Next);
        Next.addActionListener(
        new ActionListener() {
          public void actionPerformed( ActionEvent event )
              //try to catch display errors
           try {
                        count++;
                     displayData(count);
                     //displayData();
          }//end try
              catch {
             }//end catch
          } // end actionPerformed
        } // end anonymous inner class
        ); // end call to addActionListener
        buttonsPanel.add(Next);
        Previous = new JButton("Previous");
        buttonsPanel.add(Previous);
        Previous.addActionListener(
        new ActionListener() {
          public void actionPerformed( ActionEvent event )
              //try to catch display errors
              try {
                   count--;
                   displayData(count);
                   //displayData();
             }//end try
              catch {
             }//end catch
          } // end actionPerformed
        } // end anonymous inner class
        ); // end call to addActionListener
    }//end display() constructor
    public void displayData(int count) {
         StudentDA.initialize();
           if (status.equals ("uGrad")) {
           //these are all part of the StudentRecord GUI not Display GUI
                fieldPanel.setVisible(true);
                buttonsPanel.setVisible(true);
                actLabel.setVisible(true);
                actField.setVisible(true);
                advPlacementLabel.setVisible(false);
                advPlacementLabel.setVisible(false);
           }//end if
           else {
                if(status.equals ("Grad")) {
                 fieldPanel.setVisible(true);
                 buttonsPanel.setVisible(true);
                 actLabel.setVisible(false);
                 actField.setVisible(false);
                 advPlacementLabel.setVisible(true);
                 advPlacementLabel.setVisible(true);
                  }//end if
           }//end else
    }//end method displayData()
    public static void main ( String args[] )
        Display application = new Display();
        application.addWindowListener(
              new WindowAdapter(){
                   public void windowClosing( WindowEvent e)
                        System.exit(0);
        application.setSize( 300, 200);
        application.setVisible( true );
    };//end main
    }//end class Display{}I know this is long but if anyone can help I'd greatly appreciate it. Please ask me if you need me to clarify something, I tried to not make it way too long. --rockbottom01
         

    I'm not really too sure what it is that you are after, but here is some code, that loads up an array with each line of a .txt file, then displays them. I hope you can make use of a least some of it.
    just ask if you don't understand any of the code.
    String array[];
    int i;
    public Test() {
              readFile("file.txt");
              i = 0;
              nextEntry();
         public void nextEntry() {
              Display display = new Display();
              display.show();
         class Display extends JFrame implements ActionListener {
              JLabel label1;
              JButton button;
              public Display() {
                   label1 = new JLabel(array);
                   button = new JButton("OK");
                   getContentPane().setLayout(new FlowLayout());
                   getContentPane().add(label1);
                   getContentPane().add(button);
                   button.addActionListener(this);
              public void actionPerformed(ActionEvent e) {
                   setVisible(false);
                   i++;
                   if(i < array.length) {
                        nextEntry();
         public void readFile(String fileName) {
              String s, s2 = "";
              int lineCount = 0;
              BufferedReader in;
              try {
                   in = new BufferedReader(new FileReader(fileName));
                   while((s = in.readLine()) != null) {
                        lineCount++;
                   array = new String[lineCount];
                   in.close();
                   in = new BufferedReader(new FileReader(fileName));
                   int j = 0;
                   while((s = in.readLine()) != null) {
                        array[j] = s;
                        j++;
              catch(IOException e) {
                   System.out.println("Error");

  • Can't share one screen at a time

    I'm unable to share one screen from a machine with multiple displays. When I select just one, screen sharing goes black. Can only see all three (tiny) at the same time. This is a 10.8.3 Macbook Pro trying to view displays on a 10.6.8 Mac Pro.
    In the attached screenshots, notice the state of the display selection buttons under the Help Menu.
    Thanks,
    Jason

    Since 1987 and the Mac-II "the Macintosh way" has been Extended desktop. It is baked into the Operating system at a low level. It is not at all surprising that you get this result from Screen Sharing. The extended desktop is shown below in blue, and that is what I expect would be Shared.
    The way to share just one is to turn the others off.

  • How can I delete my entire History file, without doing it one site at a time?

    I am able to delete a given site in my History file by right-clicking on it and indicating to delete it. How do I erase the entire file when it is no longer of any use to me?

    You can delete the places.sqlite file to remove all history.
    Firefox will use the most recent JSON backup in the bookmarkbackups folder to rebuild the bookmarks.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • Chp Play lists - how to play only one chapter at a time

    CS4
    The setup:
      2 timelines
      1 menu
      1 chapter playlist
      3 buttons (all, wedding, reception)
    I'm not seeing how to make the DVD return to the main menu after playing chp 1 (Button 2 [wedding]), if user clicks button 2 which is linked to chapter 1 thru a playlist on timeline 1.
    That is, I can set the end action of timeline 1, I can set the end action of the playlist, and I can set the end action of ch1 by way of the playlist panel.
    It appears ch1  wants its end action set to start playing chp2 (button 3 [reception]) to provide thru play if the `All' (button 1) has been used.
    How then can cause chapter one to be played and at the end return to main menu instead of going an to button 3 as It would if user had hit button 1.
    (all).
    What I end up with is a situation where if user wants to view only chapter 1 by hitting button 2 (wedding).... it still continues on to button 3 (reception) at the end.
    Since I needed this project done now... I took the hardway around and ground out another piece of video containing only chapter 1.
    Now I get the result I was after, but it seems very inefficient.  Ch1 on in the playlist is just setting there unused and I suspect there is a smarter way to do it.
    To cut down on the amont of data on the DVD, I guess I could have gone ahead and made a piece of video contaiing only ch 2 (button 3 [reception]).
    But still that too, although I've saved considerable data being written to DVD, it still seems pretty inefficient.   And I suspect the playlist is provided just so I don't have to do it this way.
    Can anyone outline how to deal with multiple chapters so that the DVD returns to the main menu after chp1 or any other chapter that has chpters following it. (If user so desires)?

    Stan Jones wrote:
    The chapter playlist will be one chapter, which you appear to have set up.
    Set the END ACTION of that CHAPTER PLAYLIST to last menu.
    Yes I have.  Are you saying that if I set the End action of ch_PlayList to last menu, that then when a user hits button 2 which is linked to chp1 on the playlist,  that play will stop after chp1 (button 2) has played?
    As apposed to what I have done as descripted... setting Ch_plylist end action to Main menu/default.
    In that setup pressing buttob2 ends up playing right thru the whole thing rather than stopping at the end of ch1.
    PS - I'm busily coping a project to a test area now, but how can test that without having to play clear thru chp1 to see what happens?
    OH Wait.. are you saying NOT to include chp2 in the playlist?.... ahhh now that makes sense.
    Thanks for the input.

  • CP5.5 - Is it possible to create a quiz summary screen with all questions reviewed on one screen?

    Hello Forum members,
    I was wondering if it is possible, rather than having a quiz review where you review the quiz questions one screen at a time, if it is possible to create a quiz summary screen, which will provide a summary of which questions were answered incorrectly/correctly (without actually giving the user the correct answers)?
    An example of what I'd like to achieve is below:
    Is this possible in CP5.5? Perhaps with Advanced Actions/variables?
    many thanks
    Loraine

    Hello Loraine,
    This is possible using Advanced Actions and variables. After every question, On Success you can set a variable to 1 and create a custom screen where you can show/hide the tick mark graphic based on the variable value set.
    For Ex:
    - For question 1, on success, set x=1
    - On the results screen, correct tick mark graphic is hidden. If x=1, then show the correct tick mark.
    Like this you can do for all the questions. Will wait for others also to comment for any quicker solution.
    Thanks,
    Vish

  • How to list files from .jar file in applet?

    I have created applet and export all files to .jar file.
    I use File.list() method in applet to list files from one directory and that works ok but if I try to do that from web browser it sends exception AccessDenied meaning that File.list() isn't allowed in browser.
    I know what's the problem but I don't know how to solve it.
    What I want is to read from directory list of files.
    Help anyone?

    I will post here my code so that can be seen what I want to do:
    import java.awt.BorderLayout;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.net.URLClassLoader;
    import java.nio.charset.Charset;
    import javax.swing.JApplet;
    import javax.swing.JPanel;
    import javax.swing.JTextPane;
    public class test extends JApplet {
         private static final long serialVersionUID = 1L;
         private JPanel jContentPane = null;
         private JTextPane jTextPane = null;
          * This is the xxx default constructor
         public test() {
              super();
          * This method initializes this
          * @return void
         public void init() {
              this.setSize(449, 317);
              this.setContentPane(getJContentPane());
          * This method initializes jContentPane
          * @return javax.swing.JPanel
         private JPanel getJContentPane() {
              if (jContentPane == null) {
                   jContentPane = new JPanel();
                   jContentPane.setLayout(new BorderLayout());
                   jContentPane.add(getJTextPane(), BorderLayout.CENTER);
              return jContentPane;
          * This method initializes jTextPane     
          * @return javax.swing.JTextPane     
         private JTextPane getJTextPane() {
              if (jTextPane == null) {
                   jTextPane = new JTextPane();
              return jTextPane;
         public void start(){
              File fileDir= new File("somedirectory");
              String strFiles[]= fileDir.list();
              String a="";
              for(int i =0;i<strFiles.length;i++){
                   a=a+strFiles;
              this.jTextPane.setText(a);
    Method init() is irelevant, it just adds JTextPane in applet.
    Method start() is relevant, it runs normaly when started from Eclipse but from browser it sends exception AccessDenied.

  • How can I move an icon/file from one screen of my ipad to another?

    How can I move an icon/file from one screen on my ipad to another?

    Press and hold the icon until they start to wiggle. Then while holding it, drag it to the edge of the screen and wait for the page to switch, then let go of the app

  • How to list files that are NOT in a .jar file?

    Is it possible to list files (resources, .gif/.jpg files, etc.) that are NOT included in the jar but are still to be considered part of the application somewhere in the jnlp-file?
    My applications requires lots of icons which I have put into .gif files. So far I kept them in individual files next to the .jar file and that worked fine.
    JWS now seems to support only stuff that is included in (a) .jar-file(s). That in itself woul not be much of a problem, however, when I include my .gif files into the .jar files they seem to get corrupted by the jar-signing process (at least that what's the code says, which can suddenly not handle these images any more).

    My previous seem to have been non-sense. The .gif file were not corrupted, but rather they were not found at all. They actually must NOT be included in the .jar file, or else they are not found. Strange enough, the .properties-file seemingly HAS to be in the .jar file to be found.
    This is something I'll probably never fully understand with java: which file-types it searches where...

  • Adobe reader xi i am running 2 display screens and when i have a file open and go to print the print page opens on my second screen.  How can I get adobe reader to just display on one screen?

    adobe reader xi i am running 2 display screens and when i have a file open and go to print the print page opens on my second screen.  How can I get adobe reader to just display on one screen?
    I want the capability of adobe reader to just run on one screen.

    I had the same problem.
    Try this.
    https://igppwiki.ucsd.edu/groups/publichelpwiki/wiki/a1538/Howto_Disable_Acrobat _as_the_Safari_PDF_Viewer.html

  • Big .jar File - need a loading/info screen

    Hi,
    my problem is that my midlet takes too long to run, because the jar file is quite big (1,5mb) and has a lot of txt files (around 6.500).
    Now you might wonder why i have a lot of files in my jar.
    I have a book which is devided into verse. The user search for a particular verse. It takes too long if I have to open a big file and then display a verse, so i made a txt file for each verse which is faster, because the midlet just has to open the little file which contains the verse.
    Because of the amount of txt files it takes some time until my midlet starts.
    I wanted to ask where there is way to at least tell the user that my midlet is going to start, but that it will take a little bit.
    I cannot put this file into the same jar, since loading the jar takes the time.
    Is there a way to make a loading info and then open my jar file, which contains the real midlet?
    My midlet takes around 45 seconds to open( on my mobile phone), and until then there is no sign whether the midlet is going to start or not. If I do not inform the User, he might think that my midlet won't work and he would press other buttons (like the cancel button).

    I think there is no way because :
    - if you put it into your jar, it has to be loaded ...
    - if you put it outside your jar (JSR 75), the class code has to be executed and so your jar has to be loaded
    - everything you will try to execute an application that lauch this one would be weird stuff ...
    - note that it sould work on an emulator, but most phones have a jar size limit that is only a few hundreds ko
    Regards.

  • Can Netbeans put a jar file In a jar file?

    I just went through the process of getting Eclipse to create a jar file that would execute from a command prompt using a plugin called fatjar :
    http://fjep.sourceforge.net/
    Details from other thread :http://forum.java.sun.com/thread.jspa?threadID=5219638&tstart=0
    I really would like to use netbeans but i now have the exact same problem trying to make a jar file in netbeans 5.5.1
    I am using a package from icaste.com It has a
    .dll file to put in the windows directory
    JCommSerial_3_0.jar file that contains all the classes
    I can compile and run a file in the IDE and it works fine
    The Jar file does not contain the classes so i get errors when running from command line.
    Here is the layout of my screen and result of run command in IDE
    http://www.acousticlights.com/netbeans.png
    What do I need to try?

    georgemc wrote:
    Why is everyone so obsessed with doing this? The gains are minimal and the problems numerousBecause we are new and don't understand how the java VM actually runs code and the error messages sent by the java machine are cryptic.
    My first attempt at using an external jar in a java program lead me to believe that all of the code for a java program would be in a jar file including external jar files, after all the JDK standard library has tons of jars in it so I assumed the external jar file would be linked (as most other programming compiler/linkers I have worked with in my top down programming life).
    I find out the answer is so simple that the external jar file could not be found by the VM running my jar file. Like I said, if the VM would have just gave me an error that it could not find a file on a specific directory i never would have perused the idea of jar in a jar (fatjar plugin for Eclipse for example)
    Really this is like getting into a race car and not knowing at what RPM to shift gears, sure you can press the pedal and make it go but if you don't understand how it works under the hood you are going to blow the engine if you keep it in first gear.
    I have read many posts on these errors, the reason is the error message is just not very descriptive of the original problem. If I try and open a database called xyz.dbf that has one field defined as lastname, in C for example, I would not give the error message "Lastname could not be found) when indeed the lastname could not be found but the reason it could not be found was because the database xyz.dbf could not be found. Further , adding to the error message that the system is looking for xyz.dbf on drive X- subdirectory -mydatabases would complete the error message and allow the user to fix the error. Just what is a non java programmer that is using my java program suppose to do with an Ecception Error in (main) bla bla bla... I know now I need to check for library files myself within my own java programs and give a better error message to the user before the java VM sends out it's cryptic message.
    Edited by: metron9 on Sep 25, 2007 11:00 AM

  • [AwesomeWM] Applications locked to one screen in a dual monitor setup

    Perhaps the title should be "Multiple Screens with multiple video cards." I imagine  my confusion here is the reason I am unable to move clients from one screen to the other in awesome. Though the cursor moves fluidly between Screen1 and 2,  MOD4+drag traps the cursor and the client on the current screen. MOD4+o brings the cursor to the upper left corner of the current screen. Openbox and fluxbox are similarly limited.
    With my Xorg.conf I have $DISPLAY as :0.0 or :0.1 depending on which screen the terminal is open.
    The closest I've come to a solution is xpra from the parti-all aur package. But, I haven't found a way to make it useful. I'm hoping there is an alternative configuration. Maybe something like xinerama or Zaphod?
    I'd like to use xrandr but it seems thats a no go for multiple boards as of the the previous version. I cannot find documentation for 1.3.
    http://wiki.debian.org/XStrikeForce/HowToRandR12 wrote:VI.5. Multi-board support broken - RandR 1.2 does not support multiple boards yet (it's planned for RandR 1.3). It means that any RandR 1.2 aware driver will crash the server if you have 2 boards. Even one board with a RandR 1.2 driver and another board with a classic driver does not work. It just crashes the X server.
    Any ideas?
    > grep -v "^\s*#" /etc/X11/xorg.conf|grep -v ^$ |xclip wrote:Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
        Load  "glx"
        Load  "dri2"
        Load  "extmod"
        Load  "dbe"
        Load  "dri"
        Load  "record"
    EndSection
    Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
    EndSection
    Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option        "Protocol" "auto"
        Option        "Device" "/dev/input/mice"
        Option        "ZAxisMapping" "4 5 6 7"
    EndSection
    Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
    EndSection
    Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
    EndSection
    Section "Device"
        Identifier  "Card0"
        Driver      "nv"
        VendorName  "nVidia Corporation"
        BoardName   "NV25 [GeForce4 Ti 4200]"
        BusID       "PCI:3:0:0"
    EndSection
    Section "Device"
        Identifier  "Card1"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon RV100 QY [Radeon 7000/VE]"
        BusID       "PCI:1:7:0"
    EndSection
    Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
            Viewport   0 0
            Depth     1
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     4
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     8
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     15
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     16
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     24
        EndSubSection
    EndSection
    Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        SubSection "Display"
            Viewport   0 0
            Depth     1
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     4
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     8
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     15
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     16
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     24
        EndSubSection
    EndSection

    Err. My confusion is indeed the culprit. For anyone who might find themselves in a similar situation the nomenclature is as follows.
    "Zaphod mode" on wikipedia is listed as a multi-seat configuration, however, I think it more often describes the set up in my posted xorg.conf. That is, the server has two independent screens associated with their respective device. Titling window managers seem to present multiple screens a la Zaphod. At least in awesome, each screen has its own set of tags.  Xinerama is a soon to be deprecated extension merging multiple physical displays into a singular virtual one. It will be replaced with RandR. But, as of the current version of RandR, multi-board setups are not supported.
    ATI and nVidia have proprietary implementations for multi-head configurations (Big Desktop and Twinview respectively). I assumed both cards would have to be same brand and either ATI or nv. So, I didn't look into this.
    By the nature of Zaphod mode, applications exist only on one screen. They cannot easily be moved. Because the Xinerama extension implements one large virtual display, X clients can be displayed anywhere. This is apparently at the cost of direct rendering on both screens. Xinerama is also limited in that all screens have to have the same depth.
    Having the Zaphod mode xorg config, enabling Xinerama just requires one line in the ServerLayout section:
    Section "ServerLayout"
    Option "Xinerama" "on"
    However, if the resolution differs on the screens, screens with lower resolutions will have "dead space" where the rectangle of the virtual resolution is not displayed by the physical resolution of a screen.  Moving the cursor into this area will pan the screen to show the previously hidden area and hiding what was previously visible. This means an application fullscreened on the screen with the lower resolution will never be completely visible.
    To enforce physical resolutions in the virtual screen also only requires one line. In the display subsection of the lower resolution screen section, setting the virtual display to the same as the mode will remove the dead area.
    Section "Screen"
    Identifier "Screen1"
    SubSection "Display"
    Modes "1280x1024"
    Virtual 1280 1024
    EndSubSection
    Please reply if I've gotten anything wrong!
    Last edited by _will (2009-10-07 22:08:19)

  • Java Files inside the jar file cannot be read or accessed through Eclpse

    The Java File inside the jar file of the eclipse cannot be accessed through the Eclipse . It shows error for the modules in the jar file .
    But when compiled with adding the jar files to the class path the compilation is successful .
    How can i browse through the files in the jar like going into the function definition .
    TIA ,
    Imran

    Open MPlayer OSX and show the playlist (command-shift-p) then drag the file into the playlist. Click the file in the playlist and click the "i"nfo button. What does it list for file, video and audio format?
    Not all of the codecs used in avi and wmv files are available for OS X so I'm guessing your file happens to be using one that isn't...

Maybe you are looking for

  • JS to copy text from one PDF to another

    We have huge insurance contracts and need to be able to search for keywords, find the bottom of the paragraph and copy that section to another PDF. I have been unable to find any way to do this using JS. (Would like to create a button action to start

  • Nvidia Settings not saved or dont load after reboot

    Hi there , look well i try to put the follow settings : Well during my current session that apply without problems , well when i reboot , or shutdown after i power on the pc . the settings are reset to : How i can saved and load the settings when i s

  • Need detailed report for Material wise cost components??

    HI I can only view one material at a time for the ck80_99 cost component report. Is there a way to view more materials from the same report. we have a option to give multiple material numbers but its not executing the report at that point, it first d

  • Argentina missing?: User Administration- Create User- Contact Information

    Hi!: Logon in the portal --> User Administration-> Create User --> look at "Contact Information" there's a country combo box and Argentina is not there. I want to know how to put the country in the combo box. Seems to be all the countries in the worl

  • Itunesprefs.xm.

    How can I set the preferences to C:\Music for all users across the enterprise. Right now it seems to point to the default My Documents\my music folder. I can change it with the itunes software, which changes the itunesprefs.xml file but I cannot then