Powered by Blogger.

Friday, July 2, 2010

RUN X APPLICATIONS FROM A TERMINAL WINDOW

1. Open a terminal window from your desktop.

2. Type

           echo $DISPLAY

The result should be like this :0. This indicates that the terminal window will, by default, direct any X application you run from this window to display 0 on your system.(If you don't see a value when you type that command, type export Display=:0 to set the display value)


3. Type the following command:

                xpaint&

The xpaint command should appear on your desktop, ready for you to work with.

4. If you want to know what options are available, type:
        
                  xpaint -?

5.Try with a few options . For example, if you want to begin b editing an image, you could type:

                   xpaint /usr/share/icons/redhat.rpm &

6. When you are ready to close the window, you can either do so from xpaint window or you can kill the process in terminal window. Type jobs to see the job number of the process.

0 comments

Post a Comment