Announcement

Collapse
No announcement yet.

windowed mode command?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    windowed mode command?

    Hey just wondering what command I can use to start something in windowed mode. Sometimes I have issues when testing fullscreen games and they I'm screwed. So would like to keep it all windowed. Thanks.

    #2
    Re: windowed mode command?

    Something to try. Programs in the xephyr window.

    Install:
    - xserver-xephyr
    - xterm

    In the konsole:
    Code:
    Xephyr :1 -screen 800x600 & export DISPLAY=:1; xterm
    In the xterm:
    Code:
    startkde
    Start program (if it starts ) in the new windowed Kubuntu/KDE session.


    Xephyr:
    Default resolution:
    Code:
    Xephyr :1 & export DISPLAY=:1; xterm
    Fullscreen:
    Code:
    -fullscreen
    Your choice:
    Code:
    -screen <x>x<y>
    Note
    With fullscreen, Alt + f3 is your friend (most of time).


    Link:

    Topic: [SOLVED] Screenshot of Login Screen? - XDMCP
    http://kubuntuforums.net/forums/inde...opic=3089403.0
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: windowed mode command?

      Originally posted by jbaerbock
      Hey just wondering what command I can use to start something in windowed mode. Sometimes I have issues when testing fullscreen games and they I'm screwed. So would like to keep it all windowed. Thanks.
      If you mean that fullscreen games are refusing to close,

      Ctrl+Alt+F1 to switch to a console

      Login

      Find and kill the offending process.

      Try

      ps aux | grep name_of_executable

      you'll get something like this

      user 6386 0.0 0.1 1756 448 ? S 10:29 0:00 /bin/sh /home/user/firefox/firefox
      user 6389 0.0 0.1 1752 448 ? S 10:29 0:00 /bin/sh /home/user/firefox/run-mozilla.sh /home/user/firefox/firefox-bin
      user 6394 35.9 37.5 291268 120396 ? SLl 10:29 39:10 /home/user/firefox/firefox-bin
      user 7548 0.0 0.2 2988 744 pts/1 R+ 12:18 0:00 grep firefox

      The bold numbers are the process ids. Then do

      kill process_id

      If that doesn't work do

      kill -9 process_id

      Then Ctrl+Alt+F7 to switch back to the desktop. It will probably have a mucked up screen resolution so use krandrtray to put that right.
      I am running Ubuntu 8.10 (yes Gnome) with upgrades applied daily about 0900 UK time. Hardware is Dell Precision 420, 2x 800 MHz PIII, 512 MB RDRAM, nVidia GeForce 6800 128 MB AGP graphics, 18GB SCSI and 500GB IDE HDDs, DVD burner, Hauppage TV card.

      Comment


        #4
        Re: windowed mode command?

        Thanks both suggestions will be useful. My problem was that some games which had not so bug free ports to Linux, or other random fullscreen, would freeze on me and I was stuck on it with nothing to do. Those shortcuts should help that problem.

        Was wondering if there was a simple -w or something I could add in konsole to get a program to go windowed. Don't really wan't to install another terminal. Any other options?

        Comment

        Working...
        X