特殊:Badtitle/NS100:3ddesktopHowto:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的4个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/3ddesktopHowto}} | {{From|https://help.ubuntu.com/community/3ddesktopHowto}} | ||
{{Languages|UbuntuHelp:3ddesktopHowto}} | {{Languages|UbuntuHelp:3ddesktopHowto}} | ||
<<Include(Tag/Unsupported)>> | |||
{|border="1" cellspacing="0" | |||
|'''Note that 3ddesktop is currently only available in Ubuntu 6.06LTS (Dapper) and 7.04 (Feisty)''' | |||
|} | |||
== Getting 3ddesktop working == | == Getting 3ddesktop working == | ||
=== Installing === | === Installing === | ||
第53行: | 第56行: | ||
gconf-editor | gconf-editor | ||
</nowiki></pre> | </nowiki></pre> | ||
* Drill down to apps --> metacity --> global_keybindings. | |||
* Find "run_command_1" and change it to your key such as "F12" or "<Control><Alt>S". | |||
* Then in apps --> metacity --> keybinding_commands find "command_1" and set it to <code><nowiki>/usr/bin/3ddesk</nowiki></code> | |||
After that, just press that key (key combination) to launch 3ddesk. | After that, just press that key (key combination) to launch 3ddesk. | ||
=== Prevent 3ddesktop from running multiple instances === | === Prevent 3ddesktop from running multiple instances === | ||
第88行: | 第91行: | ||
Message-ID: <20050312225009+0000@https://www.ubuntulinux.org> | Message-ID: <20050312225009+0000@https://www.ubuntulinux.org> | ||
"ewmh on" should definitely be the default. | "ewmh on" should definitely be the default. | ||
---- | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2010年5月19日 (三) 17:13的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/3ddesktopHowto }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/af | • {{#if: UbuntuHelp:3ddesktopHowto|Afrikaans| [[::3ddesktopHowto/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/ar | • {{#if: UbuntuHelp:3ddesktopHowto|العربية| [[::3ddesktopHowto/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/az | • {{#if: UbuntuHelp:3ddesktopHowto|azərbaycanca| [[::3ddesktopHowto/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/bcc | • {{#if: UbuntuHelp:3ddesktopHowto|جهلسری بلوچی| [[::3ddesktopHowto/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/bg | • {{#if: UbuntuHelp:3ddesktopHowto|български| [[::3ddesktopHowto/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/br | • {{#if: UbuntuHelp:3ddesktopHowto|brezhoneg| [[::3ddesktopHowto/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/ca | • {{#if: UbuntuHelp:3ddesktopHowto|català| [[::3ddesktopHowto/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/cs | • {{#if: UbuntuHelp:3ddesktopHowto|čeština| [[::3ddesktopHowto/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/de | • {{#if: UbuntuHelp:3ddesktopHowto|Deutsch| [[::3ddesktopHowto/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/el | • {{#if: UbuntuHelp:3ddesktopHowto|Ελληνικά| [[::3ddesktopHowto/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/es | • {{#if: UbuntuHelp:3ddesktopHowto|español| [[::3ddesktopHowto/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/fa | • {{#if: UbuntuHelp:3ddesktopHowto|فارسی| [[::3ddesktopHowto/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/fi | • {{#if: UbuntuHelp:3ddesktopHowto|suomi| [[::3ddesktopHowto/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/fr | • {{#if: UbuntuHelp:3ddesktopHowto|français| [[::3ddesktopHowto/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/gu | • {{#if: UbuntuHelp:3ddesktopHowto|ગુજરાતી| [[::3ddesktopHowto/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/he | • {{#if: UbuntuHelp:3ddesktopHowto|עברית| [[::3ddesktopHowto/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/hu | • {{#if: UbuntuHelp:3ddesktopHowto|magyar| [[::3ddesktopHowto/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/id | • {{#if: UbuntuHelp:3ddesktopHowto|Bahasa Indonesia| [[::3ddesktopHowto/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/it | • {{#if: UbuntuHelp:3ddesktopHowto|italiano| [[::3ddesktopHowto/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/ja | • {{#if: UbuntuHelp:3ddesktopHowto|日本語| [[::3ddesktopHowto/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/ko | • {{#if: UbuntuHelp:3ddesktopHowto|한국어| [[::3ddesktopHowto/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/ksh | • {{#if: UbuntuHelp:3ddesktopHowto|Ripoarisch| [[::3ddesktopHowto/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/mr | • {{#if: UbuntuHelp:3ddesktopHowto|मराठी| [[::3ddesktopHowto/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/ms | • {{#if: UbuntuHelp:3ddesktopHowto|Bahasa Melayu| [[::3ddesktopHowto/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/nl | • {{#if: UbuntuHelp:3ddesktopHowto|Nederlands| [[::3ddesktopHowto/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/no | • {{#if: UbuntuHelp:3ddesktopHowto|norsk| [[::3ddesktopHowto/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/oc | • {{#if: UbuntuHelp:3ddesktopHowto|occitan| [[::3ddesktopHowto/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/pl | • {{#if: UbuntuHelp:3ddesktopHowto|polski| [[::3ddesktopHowto/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/pt | • {{#if: UbuntuHelp:3ddesktopHowto|português| [[::3ddesktopHowto/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/ro | • {{#if: UbuntuHelp:3ddesktopHowto|română| [[::3ddesktopHowto/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/ru | • {{#if: UbuntuHelp:3ddesktopHowto|русский| [[::3ddesktopHowto/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/si | • {{#if: UbuntuHelp:3ddesktopHowto|සිංහල| [[::3ddesktopHowto/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/sq | • {{#if: UbuntuHelp:3ddesktopHowto|shqip| [[::3ddesktopHowto/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/sr | • {{#if: UbuntuHelp:3ddesktopHowto|српски / srpski| [[::3ddesktopHowto/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/sv | • {{#if: UbuntuHelp:3ddesktopHowto|svenska| [[::3ddesktopHowto/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/th | • {{#if: UbuntuHelp:3ddesktopHowto|ไทย| [[::3ddesktopHowto/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/tr | • {{#if: UbuntuHelp:3ddesktopHowto|Türkçe| [[::3ddesktopHowto/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/vi | • {{#if: UbuntuHelp:3ddesktopHowto|Tiếng Việt| [[::3ddesktopHowto/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/yue | • {{#if: UbuntuHelp:3ddesktopHowto|粵語| [[::3ddesktopHowto/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/zh | • {{#if: UbuntuHelp:3ddesktopHowto|中文| [[::3ddesktopHowto/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/zh-hans | • {{#if: UbuntuHelp:3ddesktopHowto|中文(简体)| [[::3ddesktopHowto/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:3ddesktopHowto | UbuntuHelp:3ddesktopHowto | {{#if: | :}}3ddesktopHowto}}/zh-hant | • {{#if: UbuntuHelp:3ddesktopHowto|中文(繁體)| [[::3ddesktopHowto/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:3ddesktopHowto|:3ddesktopHowto|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :3ddesktopHowto/zh | | {{#ifexist: 3ddesktopHowto/zh | | {{#ifeq: {{#titleparts:3ddesktopHowto|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:3ddesktopHowto|1|-1|}} | zh | | }}
<<Include(Tag/Unsupported)>>
Note that 3ddesktop is currently only available in Ubuntu 6.06LTS (Dapper) and 7.04 (Feisty) |
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:
sudo apt-get install 3ddesktop
A possible problem
After installing 3ddesktop it said I was supposed to get the original pictures of the workspaces. I got a few errors:
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:~ $
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.)
3ddesk --stop
Then edit the configuration file (you can use any editor you like instead of nano, but it must be run as superuser through sudo):
sudo nano /etc/3ddesktop/3ddesktop.conf
And uncomment these lines in the file:
... # # 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>. ...
(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 3ddesk --acquire
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:
gconf-editor
- Drill down to apps --> metacity --> global_keybindings.
- Find "run_command_1" and change it to your key such as "F12" or "<Control><Alt>S".
- Then in apps --> metacity --> keybinding_commands find "command_1" and set it to
/usr/bin/3ddesk
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:
nano -w /usr/bin/3ddesk-once
and copy this into that file:
#!/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
Press ctrl-o, enter, ctrl-x to save and exit nano. Then run this command to set the permissions for that file correctly:
chmod 755 /usr/bin/3ddesk-once
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.