“UbuntuHelp:CompositeManager/Xgl/NestedXgl”的版本间的差异
来自Ubuntu中文
小 |
小 |
||
第2行: | 第2行: | ||
{{Languages|UbuntuHelp:CompositeManager/Xgl/NestedXgl}} | {{Languages|UbuntuHelp:CompositeManager/Xgl/NestedXgl}} | ||
Here's how to get XGL running in a window on your regular desktop. | Here's how to get XGL running in a window on your regular desktop. | ||
− | <ol><li>Install XGL and compiz packages as described on the [[UbuntuHelp:CompositeManager/Xgl]] page | + | <ol><li>Install XGL and compiz packages as described on the [[UbuntuHelp:CompositeManager/Xgl|CompositeManager/Xgl]] page |
</li><li>Create a shell script in ~/bin, called nested-xgl-session</li></ol> | </li><li>Create a shell script in ~/bin, called nested-xgl-session</li></ol> | ||
第22行: | 第22行: | ||
Now run 'nested-xgl' in a terminal, and you'll get Xglx with a GNOME desktop inside a window. | Now run 'nested-xgl' in a terminal, and you'll get Xglx with a GNOME desktop inside a window. | ||
− | Note that most of the keyboard/mouse bindings (described on the [[UbuntuHelp:CompositeManager/Xgl]] page) do not work, because they are intercepted by your regular window manager, and Compiz never sees them. | + | Note that most of the keyboard/mouse bindings (described on the [[UbuntuHelp:CompositeManager/Xgl|CompositeManager/Xgl]] page) do not work, because they are intercepted by your regular window manager, and Compiz never sees them. |
A curious side effect is that keyboard autorepeating gets disabled after I run the nested-xgl script. 'xset r on' restores it. | A curious side effect is that keyboard autorepeating gets disabled after I run the nested-xgl script. 'xset r on' restores it. | ||
------ | ------ |
2008年10月19日 (日) 22:23的最新版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
Here's how to get XGL running in a window on your regular desktop.
- Install XGL and compiz packages as described on the CompositeManager/Xgl page
- Create a shell script in ~/bin, called nested-xgl-session
#!/bin/sh unset SESSION_MANAGER compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher gnome-window-decorator & gnome-settings-daemon & gnome-session
- Create a shell script in ~/bin, call it nested-xgl
#!/bin/sh startx `dirname $0`/nested-xgl-session -- /usr/bin/Xgl :10 "$@"
- Make both scripts executable (chmod +x ~/bin/nested-xgl*)
Now run 'nested-xgl' in a terminal, and you'll get Xglx with a GNOME desktop inside a window. Note that most of the keyboard/mouse bindings (described on the CompositeManager/Xgl page) do not work, because they are intercepted by your regular window manager, and Compiz never sees them. A curious side effect is that keyboard autorepeating gets disabled after I run the nested-xgl script. 'xset r on' restores it.