Switching X resolution & virtual desktop

Switching X resolution & virtual desktop

Post by Scott Mayberr » Fri, 11 Dec 1998 04:00:00



Is there a way to set up XFree86 so that when I use ctrl-alt-keypad+
to switch display resolution it also changes my virtual desktop to
the same resolution?  Because I want to be able to switch between
using 1280x1024 and 1024x768 without the hassle of changing
XF86Config and restarting X.  But, the virtual desktop is set to
the larger of the two, 1280x1024, so when i switch to 1024x768 i
have to scroll around to get to everything, like my kde panels...

--
Scott Mayberry

 
 
 

Switching X resolution & virtual desktop

Post by Michel » Sat, 12 Dec 1998 04:00:00


Hi there,

I have 2 easy( or at least I hope so) questions for you.

#1: I need to load two drivers and make a program run in batch mode at
boot time,say when everything is up and ready for login command.Where do
I put these instructions or what I have to do?

#2: I need,from a C program,to make Linux reboot when something weird is
happening.WHat call I need to do within the program?

Thanks in advance.

Michele

 
 
 

Switching X resolution & virtual desktop

Post by Nathan Mye » Sat, 12 Dec 1998 04:00:00



>#1: I need to load two drivers and make a program run in batch mode at
>boot time,say when everything is up and ready for login command.Where do
>I put these instructions or what I have to do?

This depends on what distribution you are running.  Read man pages
about init, and inittab, and look around for files under /etc that have
"rc" in the name.  Initialization has got pretty complicated in most
distributions, now, but there's usually a place set aside specifically
to put local additions after everything else is done.

If you identify the distribution somebody here will have more
specific instructions for you.

Quote:>#2: I need,from a C program,to make Linux reboot when something weird is
>happening.WHat call I need to do within the program?

You need to build a kernel with "Watchdog timer" support, and make
your program turn it on and then be sure to write to the corresponding
device every N seconds.  The system will reboot if things get weird
enough that your program fails to do the write.

--
Nathan Myers

 
 
 

1. Resolution switching w/o virtual desktop, how?

Hi,

I have been trying to setup the XF86Config file so that I could switch
(with Alt-Ctl-+) between 800x600 and 1024x768 *without* the larger
resolution being my virtual desktop size all the time.

Usually I work in 800x600, but sometimes I need a bigger screen (when I
am playing xboing, for example).  As soon as I add 1024x768 mode,
xfree86 turns on the vitual desktop for my 800x600.  Is there any way to
tell it to *always* match the desktop size to the physical resolution of
various modes?

I searched dejanews and found a couple of wrong answers to this problem:
comment out the "vitual" lines in XF86Config.  That does not work in
this case.  In the absense of the 'virtual' directive, the x server
simly elects the biggest resolution mode as the size of the virtual
desktop (1024x768 in my case).

Thanks in advance.  Please email a reply as well.

-- jae

2. hardware power on only message

3. X desktop resolution and virtual desktop

4. New file utility: chd -- char/hex dump beta 0.2

5. Is there a desktop resolution switching tool for Linux?

6. Getting Started With Linux

7. Changing Virtual Desktops resolution

8. Print queue config..

9. Switch Virtual Desktops?

10. I'm VERY frustrated with screen resolutions and virtual desktop

11. virtual desktop size for different resolution

12. How to change Virtual Desktop Resolution?

13. changing resolution leaves the virtual desktop 1600x1200