个人工具
登录
查看“UbuntuHelp:3ddesktopHowto”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:3ddesktopHowto”的源代码
来自Ubuntu中文
←
UbuntuHelp:3ddesktopHowto
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/3ddesktopHowto}} {{Languages|UbuntuHelp:3ddesktopHowto}} It appears that 3ddesktop is no longer provided in / as of Ubuntu 7.10. == Getting 3ddesktop working == === Installing === This is trivial. Make sure you have universe enabled, and install the package "3ddesktop" with Synaptic or run this in a terminal: <pre><nowiki> sudo apt-get install 3ddesktop </nowiki></pre> === A possible problem === After installing 3ddesktop it said I was supposed to get the original pictures of the workspaces. I got a few errors: <pre><nowiki> 3ddesk --acquire Attempting to start 3ddesktop server. get property WIN_WORKSPACE failed - setting one get property WIN_WORKSPACE_COUNT failed - setting one Daemon started. Run 3ddesk to activate. myshell:~ $ </nowiki></pre> When running 3ddesk, it zoomed out and showed me a single desktop. If you get this, then here is a solution. === The solution === First off, stop the daemon. (You'll need to do this if you've already aquired the desktops.) <pre><nowiki> 3ddesk --stop </nowiki></pre> Then edit the configuration file (you can use any editor you like instead of nano, but it must be run as superuser through sudo): <pre><nowiki> sudo nano /etc/3ddesktop/3ddesktop.conf </nowiki></pre> And uncomment these lines in the file: <pre><nowiki> ... # # Examples (uncomment to use) # texturesize 512 workspace on #kde2 on ewmh on ## For GNOME 2, KDE 3, etc (NET protocol standard) # # Indicate "view" to use on command line with --view=<viewname>. ... </nowiki></pre> (To save the file and exit in nano, press Ctrl-o, enter, Ctrl-x) You may not need to uncomment texturesize depending on your videocard, but mine couldn't handle the 4 workspaces of the default 1024x1024. After that, start the daemon with <code><nowiki>3ddesk --acquire</nowiki></code> and it should cycle through your desktops. Now run 3ddesk to go into the cool 3d workspace switcher. === Setting a Key Shortcut === This is farily straightfoward, and it's explained in the README file. I'll copy it here so you don't have to go find it. Run from terminal: <pre><nowiki> gconf-editor </nowiki></pre> <ul><li>Drill down to apps --> metacity --> global_keybindings. </li><li>Find "run_command_1" and change it to your key such as "F12" or "<Control><Alt>S". </li><li>Then in apps --> metacity --> keybinding_commands find "command_1" and set it to <code><nowiki>/usr/bin/3ddesk</nowiki></code></li></ul> After that, just press that key (key combination) to launch 3ddesk. === Prevent 3ddesktop from running multiple instances === This is a problem that was noticed after a while of using 3ddesk. Sometimes, the key would repeat, and launch multiple instances of 3ddesk. This will make you have to choose the desktop twice or even three times before it will exit. Here is a simple shell script to fix this. Open a root terminal (or type "sudo -s" at a regular terminal) and type: <pre><nowiki> nano -w /usr/bin/3ddesk-once </nowiki></pre> and copy this into that file: <pre><nowiki> #!/bin/sh # This is a script that runs 3ddesk only once, and exits if there is already one running. if [ -e /tmp/3ddesktop-lock ]; then { echo "3ddesk cannot have more than one instance running at one time." }; else { echo "">/tmp/3ddesktop-lock & 3ddesk rm /tmp/3ddesktop-lock }; fi </nowiki></pre> Press ctrl-o, enter, ctrl-x to save and exit nano. Then run this command to set the permissions for that file correctly: <pre><nowiki> chmod 755 /usr/bin/3ddesk-once </nowiki></pre> Finally, re-set your key program (if you've set a key) to run "/usr/bin/3ddesk-once" rather than "/usr/bin/3ddesk". From Qerub Sat Mar 12 22:50:09 +0000 2005 From: Qerub Date: Sat, 12 Mar 2005 22:50:09 +0000 Subject: ewmh on Message-ID: <20050312225009+0000@https://www.ubuntulinux.org> "ewmh on" should definitely be the default. [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:3ddesktopHowto
。