HowTo use linux laptop in presentations 【如何在Linux系统上使用投影仪】

Related URL About "Linux Projector Usage"

 http://www.shallowsky.com/linux/LinuxPresentations.html

Contents

http://sourceforge.net/projects/projectortool/

A simple GUI tool to make projectors work with Linux. Includes options to mirror screen, or use projector as a second screen.

http://www.pubbs.net/200911/fedora/22824-plugging-into-projectors.html

http://forums.fedoraforum.org/showthread.php?t=22509

http://www.linuxquestions.org/questions/linux-software-2/fedora-6-using-projector-instead-of-monitor-with-nvidia-drivers-timeout-667614/

http://lambda.uta.edu/T61/

 

 

 


 

http://www.astro.umd.edu/~teuben/linux/laptop-display.html

How to use linux laptop in presentations

 

 

Using a linux laptop in a presentation has often caused some challenges (at least to me). Our computing friends with Win* and MacOS are not free of these problems either, but somehow I get the feeling we got more of it than they. A lot of the problems are hardware dependant, and this can be the external display unit, as well as the laptop. Some even require you to reboot your laptop with the VGA cable attached! And to make it more confusing, if your laptop works fine with one unit, it may not with another. And also remember if your friend has "the same model" that doesn't mean it will work for you. Subtle version differnences in the BIOS/graphics card/firmware can also make it seem irrational.

For the remainder of this article, I will refer to the laptop display unit as "LCD" and the external display unit as "CRT". The latter one could be a real monitor, or a projector unit (or "beamer" as our European collegues call them). There is also a mode (called twinview) where you can display two different view on the LCD and on the CRT. Your graphics card and X server will need to know about this in order to work.

 

Step 1: plug in the cable

 

 

The first step should be to plug-in the VGA cable and see if you laptop will sync up to the CRT automatically. If it does (and on my Dell 5000 1400x1024 panel this has happened once on a model InFocus LP130), you are a very lucky person, and you can stop reading now.

If it does not, most laptops have a special button to toggle the CRT "on". Most buttons are actually a 3-toggle, so they can cycle through the 3 modes: CRT alone, LCD alone, and CRT + LCD together, by pressing this button again and again. On my Dell 5000 this button is Fn-F8, and is labeled "CRT/LCD".

Don't panic if your screen goes bonkers when you toggle to CRT (it this does on mine). It probably means your X server cannot sync up, and now has problems syncing back. Normally you will be able to get your old X back (no need to reboot or kill X yet) by switching to another virtual console (VC) and coming back to X:

        ctrl alt F2                    switch to VC2

        ctrl alt F7                    switch back to X

       

and if that fails.....

 

        ctrl alt backspace             a shortcut to kill your X server

 

and if even that fails.....

 

        ctrl alt del                   reboot the machine

Step 2: change the logical resolution in your current X

 

 

The " Ctrl Alt + " and " Ctrl Alt - " allow you to cycle through the working (resolution) modes in your current X server. Note that these have to be the numeric +, not the regular one. On my keyboard, this has to be done with the Fn key, so I actually have to hold down 4 keys at the same time: "Ctrl Fn Alt +".

You can simply try it, or look at your /etc/X11/XF86Config (or /etc/X11/XF86Config-4) file which modes have been defined.

Here is the relevant section from mine, you can usually find it at the tail end of /etc/X11/XF86Config-4:

Section "Screen"

        Identifier   "Screen0"

        Device       "ATI Rage Mobility"

        Monitor      "Monitor0"

        DefaultDepth   16

 

        Subsection "Display"

               Depth       16

                Modes       "1400x1050" "1024x768"

        EndSubsection

EndSection

 

Section "Screen"

        Identifier   "Screen1"

        Device       "ATI Rage Mobility"

        Monitor      "Monitor0"

        DefaultDepth   16

 

        Subsection "Display"

               Depth       16

                Modes       "1024x768"

        EndSubsection

EndSection

 

In this example I left out the "1280x1024" mode, since it does not seem to work on my LCD. The second screen (called Screen1 here) is useful if you wind up with an external display that cannot handle the high resolution, and your X display server has the -screen option (see below)

If your CRT will sync up in 1024 mode, you will find the virtual desktop size remains at the maximum mode size, 1400 in this case, and thus you will only get a 1024 scrolling window in this 1400 screen. This is probably not good enough for a full screen presentation, so you will need to consider the next step.

Another added note here, you may also see the following

Section "Device"

    # Uncomment the following line to enable external display

    # Option "crt_screen"                                              <---------

        Identifier   "ATI Rage Mobility"

        Driver       "ati"

        VendorName   "ATI Rage Mobility"

        BoardName     "ATI Rage Mobility"

 

        #BusID

EndSection

Notice the

crt_screen

option. Uncommenting it will also help using the LCD and CRT together.

Step 3: change the physical resolution in your current X

 

 

Newer releases of XFree86 have an option to change physical screen size and/or reflection, called the RandR extension. The xrandr command provides simple command line access to this exension, e.g. on my laptop i see:

xrandr

 SZ:    Pixels          Physical       Refresh

*0   1600 x 1200   ( 290mm x 221mm )  *60

 1   1400 x 1050   ( 290mm x 221mm )   59

 2   1280 x 1024   ( 290mm x 221mm )   60

 3   1280 x 960    ( 290mm x 221mm )   60

 4   1024 x 768    ( 290mm x 221mm )   60

 5    800 x 600    ( 290mm x 221mm )   60

 6    640 x 480    ( 290mm x 221mm )   60

 7    700 x 525    ( 290mm x 221mm )   59

 8    640 x 512    ( 290mm x 221mm )   60

 9    512 x 384    ( 290mm x 221mm )   60

 10   400 x 300    ( 290mm x 221mm )   60

 11   320 x 240    ( 290mm x 221mm )   60

Current rotation - normal

Current reflection - none

Rotations possible - normal

Reflections possible - none

and with the command

        xrandr -s 4

the screen would switch to 1024x768 and most likely this will fit on the simpler external display panels. I have some anekdotal evidence that this may have screwed up my APM slightly, which interfered with my NVidia driver and could not come properly out of suspend or go into it.

 

Step 4: suspend the machine

 

 

Another known solution is to suspend the machine before hooking up the laptop to the external display unit. Most laptops have a suspend button, e.g. on the recent Dell Inspirons it is Fn-Esc, some are configured to suspend if you close the lid while running on batteries.

 

Step 5: start a new X

 

 

If all else fails, you can start a new X. If you have a lot of good things in your current X server, and don't want to loose them, linux does have this nice feature of being able to run a number (usually up to 6) of X servers simultaneasouly using the Virtual Console's (VC's). Here is an example session where you want to keep your current X server (:0) in high resolution, and start another (lower) resolution X server (:1) for the presentation. Older version of XFree86 did not have the -xf86config option, ("X -help" to find out), but if they do, you don't have be root to run multiple resolutions:

OLD METHOD:

 

        Ctrl Alt F2                           switch to VC2, as root

 

        # cp /etc/X11/XF86Config-4_1024 /etc/X11/XF86Config-4

 

        ctrl alt F3                           switch to VC3, as normal user

        ##  before you start X, try to toggle CRT/LCD to the CRT also

 

 

        % startx -- :1

        ## this new X server will appear under VC8

        ## now use the CRT/LCD toggle

 

        Ctrl Alt F7                           switch to the :0 (lcd) x server

        Ctrl Alt F8                           switch to the :1 (crt/lcd) x server

 

        ## when all done, and :1 will be finished, go back

        Ctrl Alt F2

 

        # put the original one back in place for normal usage

        # cp /etc/X11/XF86Config-4_1400 /etc/X11/XF86Config-4

 

        Ctrl Alt F7                           switch back to :0

       

NEW METHOD:

        ctrl alt F3                           switch to VC3, as normal user

 

        ##  before you start X, try to toggle CRT/LCD to the CRT also

        ##  to see if you can can the LCD to show up the console

 

        % startx -- :1 -xf86config XF86Config-4_1024

 

        ## this new X server will appear under VC8

        ## now use the CRT/LCD toggle

 

        ## or you can do this:, if you have made multiple Screen sections

 

        % startx -- :1 -screen Screen1

 

 

Worth noting: once you are about to start the new low resolution X, try to toggle the display mode into CRT+LCD or CRT, but try and see if the screen usage is the same. On my machine the CRT+LCD mode does not display 100% of the screen, some edges are cut-off. In CRT only mode it does use full screen (using the laptop may not be a little harder).

Also note that the crispyness of colors is often different on CRT and LCD. Certainly overhead display units for presentations loose a lot of color, and what you see as clear on the LCD, will come washed out on the CRT. The gamma factor can also be different.

Step 6: twinview

 

 

I've not finished writing this up, basically if your graphics card supports it (most NVidia cards do) you can configure the newer X servers (e.g. Xorg) in twinview mode. This mean one display is dedicated to your LCD, the other ot the CRT. This is quite neat, it means you can configure your talk such that what you see is not what your audience sees !!! That can be a good thing as well as a bad thing. I hope to add more implementation details once I've tried this out, but surely there must be some references on the internet already you can hunt for. To quote a recent happy user: On my Toshiba Satelite Pro A10, I just went to desktop->adminstration->display and selected "Dual Head", ensured it was switched on and left the settings as is - works a treat. (Paul Johnson)

Some comments


 

  • If you are using a Frame Buffer X windows server (e.g. XFree86-FBDev-3.3.6-42.i386.rpm) it will more reliably be able to talk to CRT and LCDs at the same time). From the documentation:

·                First, this X server can be used as a generic driver for

·                   a chipset that does not yet have an Open Source driver

·                   (note that it will be un-accelerated).  Secondly, this

·                   X server "speaks" VESA protocols, so it will produce the

·                   exact timing needed by projection systems.  This feature

·                   is handy for using your laptop to display a presentation

·                   on a projection system on the road.  Your regular X server

·                   may or may not be in sync with the projection system, but

·                   the FBDev X server will always work.  Thirdly, this X

·                   server can produce a larger display, at a higher resolution,

·                   for consoles on laptops.

Thanks to Kevin Cole for noting this.

FWIT: Anecdotes

Problem with showing movies: they become a black square on the screen, and ok

on the laptop. Sometimes the solution is to turn off the display on the laptop

and toggle to projector only, but this user commented to that suggestion as

follows (using WinXP):

 

The solution turned out to be to use the dual monitor setting in the display

setting.  I have to activate the second monitor and tell power point that i

want to display the talk using the second monitor to the projector.  I

actually inadvertantly found that this way I can have a different screen on

my laptop which allows me to have a set of notes that the audience doesn't

see!  this might have been there all along, but I only found it now.  All in

all, it's a pain, but I've got it figured out now.

 

On my Inspiron 8200 i cannot use the USB mouse when plugged in. So i switch

to PS/2 with the usb-ps2 adaptor. Can't use the wheel, but o well.

 

With the native X driver i could not have 2 versions of X running, but that

was solved with the Nvidia driver.

 

 

Nvidia

Henk Helleman reminded me that Nvidia drivers now come with a neat configuration program, called nvidia-settings, and sent me this report:

I was able to use the NVIDIA X Server Settings tool to work things out satisfactory. I ran into a special problem that between my XVGA+ laptop screen and the presentation projector, there wasn't a single common screen resolution. The laptop typically does 1440x900 and then nothing until 800x600.

The projector does 1152x864. Using the NVIDIA utility I set up a second screen for the projector that was centered on the laptop screen.

Selecting the "twinview" mode allows for both to be displayed at the same time. Because of the difference in size, part of the presentation slide will be cut off. However, since the (Powerpoint) slides don't make use of the full width of the wide laptop screen, it is not all that bad. This is what I see on the laptop:

and this is what the audience sees through the projector:

which includes all the pertinent information on the slide. Basically one looses 18 pixels from the top and bottom, because of the difference in vertical resolution (900 vs 864) and 24 pixels from the left and right, because of the difference in horizontal resolution (effectively 1200 vs 1152).

You need to run the NVIDIA utility as root only if you want to save things to the /etc/X11/xorg.conf file. For setting things up for a single presentation, no superuser permissions are necessary. Boot up or refresh the X server /*without*/ the projector cable connected or else the projector will "steal" the screen and nothing appears on the laptop. After login, start the NVIDIA utility (on my Redhat ES 5 system, this is found at "System->NVIDIA X Server Settings"). Select the "X Server Display Configuration". With the projector connected and powered-up, click "Detect Displays". Highlight the projector screen and click configure. In the "Configure Display Device" select "Twinview". In the main window set the "Resolution" to the maximum (1152x864 in my case) and set "Position" to "Absolute". Then either type in the relative screen position or drag the screen image to the desired location. Hit "Apply" and that should do the trick.

Links

Here are some links probably worthwhile looking at if this still leaves you confused.

 

teuben@astro.umd.edu (last modified: 04-Apr-2008 09:08 )

 


 


 


 


 


 


 


 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: Linux 5.1 是一个开源的操作系统内核版本。了解 Linux 5.1 从两个方面来看,一是了解 Linux 操作系统,二是了解 5.1 版本的更新内容。 首先,在了解 Linux 5.1 之前,我们需要了解 Linux 操作系统Linux 是一种自由和开放源代码的操作系统,广泛应用于各种计算机设备,包括个人电脑、服务器、移动设备等。Linux 基于 UNIX 操作系统,具有良好的稳定性、安全性和性能。它的开放源代码让用户可以自由地修改和定制操作系统,而且拥有一个庞大的社区支持。 其次,了解 Linux 5.1 的版本更新内容。Linux 5.1 带来了一些重要的功能和改进。其中一项重要的更新是对英特尔 Thunderbolt 设备的支持。这使得 Linux 用户能够更好地使用 Thunderbolt 接口和设备。此外,新版本还增强了对 AMD Radeon 显卡的支持,提高了显卡的性能和稳定性。 此外,Linux 5.1 还加入了对新的硬件平台的支持,包括 ARM 架构的 Marvell Armada 8K SoC 和微软的 Surface Laptop 2。还修复了一些安全漏洞和 bug,提高了系统的稳定性和安全性。 总结来说,了解 Linux 5.1 意味着了解 Linux 操作系统以及该版本的更新内容。Linux 5.1 是一个重要的更新版本,为用户带来了新的功能、改进和对新硬件的支持,提高了系统的性能和稳定性。对于 Linux 用户来说,了解这个版本是非常有用的,可以让他们更好地使用和定制 Linux 操作系统。 ### 回答2: 了解 5.1 Linux 指的是对 Linux 操作系统的 5.1 版本进行掌握和理解。 Linux 是一种免费开源的操作系统,具有高度的灵活性和可定制性。它被广泛应用于服务器、嵌入式设备和个人计算机等领域。 了解 5.1 Linux ,首先需要对 Linux 操作系统的基本概念有所了解。Linux 基于 Unix 操作系统,具有多用户、多任务和多线程特性。它采用分层结构,并通过 Shell 提供命令行界面。此外,Linux 也支持 GUI 界面,如 GNOME 和 KDE。 5.1 表示了通过版本号对 Linux 进行更细致的划分。每个版本都会带来新的特性、修复和改进。了解 5.1 版本的新特性是理解 Linux 操作系统的重要一环。通过查阅官方文档和资料,可以了解到 5.1 Linux 引入的新功能,如改进的内核、更新的驱动程序、安全性增强等。这些特性可以提升系统的性能、稳定性和安全性。 要理解 5.1 Linux,您还需要熟悉各种 Linux 发行版,如 Ubuntu、CentOS、Debian 等。每个发行版都有自己的特点和包管理系统。通过学习和实践,您可以了解到不同发行版在安装、配置和软件管理方面的差异。 最后,理解 5.1 Linux 还需要对基本的 Linux 命令有所熟悉。这包括文件和目录管理、用户和权限管理、网络配置等。通过练习和实际应用,您可以更好地理解和使用 Linux 操作系统。 总结来说,了解 5.1 Linux 意味着对 Linux 操作系统的基本概念、新特性和命令有所掌握和理解。这可以帮助您更有效地使用和管理 Linux 操作系统。 ### 回答3: Linux 5.1 是 Linux 内核的一个版本号,它是 Linux 内核的一个更新发布。理解 Linux 5.1 意味着了解该版本带来的新功能和改进。Linux 5.1 内核是由全球开源社区合作开发完成的。 首先,Linux 5.1 引入了一些新的硬件支持。这意味着更多的硬件设备可以被 Linux 操作系统所支持,包括新的处理器架构、显卡、声卡以及其他外设。这使得用户能够在他们的计算机上安装和使用 Linux 操作系统而无需担心硬件兼容性问题。 其次,Linux 5.1 通过改进文件系统的性能和安全性来提高整体系统的稳定性和可靠性。这使得 Linux 5.1 更适合用于数据存储和服务器环境,同时提高了用户的数据保护和隐私。 此外,Linux 5.1 还改善了内存管理和调度算法,以提高性能和响应能力。这意味着系统在处理大量任务和多线程应用程序时可以更高效地利用计算资源。 最后,Linux 5.1 还在网络协议栈中进行了一些改进,以提供更好的网络连接稳定性,同时改善网络性能。这对于那些依赖于 Linux 操作系统进行网络通信和互联网连接的用户和企业来说非常重要。 总之,理解 Linux 5.1 意味着理解这个特定版本中带来的各种新功能和改进。它为用户提供了更好的硬件支持、提高的系统稳定性和可靠性、更好的性能和更好的网络连接。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值