[ANN] Multiple Desktop support for Pharo 5
Julien Delplanque provided this week a goodie to switch between "desktops" - but his initial solution was more or less hiding windows and not really switching between real Pharo worlds/desktops. I gave him some tips what could be done on the pharo-user list. Havent heard from him afterwards. Now I was able to spend a few hours on this topic myself and implemented a full multiple desktop solution myself. This works in Pharo 5 only (currently) and requires latest VM (at least on Windows) from files.pharo.org to get the keyboard shortcuts right. To try: Gofer new smalltalkhubUser: 'TorstenBergmann' project: 'DesktopManager'; configuration; loadDevelopment. The goodie has some nice features like keyboard navigation, world menu integration and even a custom spotter with preview of the desktops. Quick start: =========== - evaluate the above expression in a Pharo 5 image - check the world menu "Desktop" - you can press CTRL + D and then CTRL + A (= Desktop Add) to add a new desktop - you can press CTRL + D and then CTRL + D (= Desktop Desktop) to open the overview - you can press CTRL + D and then CTRL + P (= Desktop Previous) to navigate to the previous desktop - you can press CTRL + D and then CTRL + N (= Desktop Next) to navigate to the next desktop The code is hopefully a good example on how to build a custom spotter, shortcuts, inspector extensions, ... Additionally all this is described in a new article including screenshots and a guide on how to use this new goodie: https://medium.com/@astares/multiple-desktops-for-pharo-5cbc46f3179f Actually the article took more time to write than coding but I hope it helps explaining Pharo and why it is a power tool. Project is on http://www.smalltalkhub.com/#!/~TorstenBergmann/DesktopManager Article and code is still subject to change. Have fun T.
Hi Torsten, There is no way to make it work in Pharo 4.0? On Wed, Aug 26, 2015 at 10:19 PM, Torsten Bergmann <astares@gmx.de> wrote:
Julien Delplanque provided this week a goodie to switch between "desktops" - but his initial solution was more or less hiding windows and not really switching between real Pharo worlds/desktops.
I gave him some tips what could be done on the pharo-user list. Havent heard from him afterwards.
Now I was able to spend a few hours on this topic myself and implemented a full multiple desktop solution myself.
This works in Pharo 5 only (currently) and requires latest VM (at least on Windows) from files.pharo.org to get the keyboard shortcuts right.
To try:
Gofer new smalltalkhubUser: 'TorstenBergmann' project: 'DesktopManager'; configuration; loadDevelopment.
The goodie has some nice features like keyboard navigation, world menu integration and even a custom spotter with preview of the desktops.
Quick start: =========== - evaluate the above expression in a Pharo 5 image - check the world menu "Desktop" - you can press CTRL + D and then CTRL + A (= Desktop Add) to add a new desktop - you can press CTRL + D and then CTRL + D (= Desktop Desktop) to open the overview - you can press CTRL + D and then CTRL + P (= Desktop Previous) to navigate to the previous desktop - you can press CTRL + D and then CTRL + N (= Desktop Next) to navigate to the next desktop
The code is hopefully a good example on how to build a custom spotter, shortcuts, inspector extensions, ... Additionally all this is described in a new article including screenshots and a guide on how to use this new goodie:
https://medium.com/@astares/multiple-desktops-for-pharo-5cbc46f3179f
Actually the article took more time to write than coding but I hope it helps explaining Pharo and why it is a power tool.
Project is on http://www.smalltalkhub.com/#!/~TorstenBergmann/DesktopManager Article and code is still subject to change.
Have fun T.
-- Mariano http://marianopeck.wordpress.com
uuhhh I just quickly watched your amazing post. I WANT THIS!!!!! Even if shortcuts don't work could it work in 4.0? please! On Thu, Aug 27, 2015 at 11:23 AM, Mariano Martinez Peck < marianopeck@gmail.com> wrote:
Hi Torsten,
There is no way to make it work in Pharo 4.0?
On Wed, Aug 26, 2015 at 10:19 PM, Torsten Bergmann <astares@gmx.de> wrote:
Julien Delplanque provided this week a goodie to switch between "desktops" - but his initial solution was more or less hiding windows and not really switching between real Pharo worlds/desktops.
I gave him some tips what could be done on the pharo-user list. Havent heard from him afterwards.
Now I was able to spend a few hours on this topic myself and implemented a full multiple desktop solution myself.
This works in Pharo 5 only (currently) and requires latest VM (at least on Windows) from files.pharo.org to get the keyboard shortcuts right.
To try:
Gofer new smalltalkhubUser: 'TorstenBergmann' project: 'DesktopManager'; configuration; loadDevelopment.
The goodie has some nice features like keyboard navigation, world menu integration and even a custom spotter with preview of the desktops.
Quick start: =========== - evaluate the above expression in a Pharo 5 image - check the world menu "Desktop" - you can press CTRL + D and then CTRL + A (= Desktop Add) to add a new desktop - you can press CTRL + D and then CTRL + D (= Desktop Desktop) to open the overview - you can press CTRL + D and then CTRL + P (= Desktop Previous) to navigate to the previous desktop - you can press CTRL + D and then CTRL + N (= Desktop Next) to navigate to the next desktop
The code is hopefully a good example on how to build a custom spotter, shortcuts, inspector extensions, ... Additionally all this is described in a new article including screenshots and a guide on how to use this new goodie:
https://medium.com/@astares/multiple-desktops-for-pharo-5cbc46f3179f
Actually the article took more time to write than coding but I hope it helps explaining Pharo and why it is a power tool.
Project is on http://www.smalltalkhub.com/#!/~TorstenBergmann/DesktopManager Article and code is still subject to change.
Have fun T.
-- Mariano http://marianopeck.wordpress.com
-- Mariano http://marianopeck.wordpress.com
Nice..!.. The shortcuts : Ctrl+D+P .. n others dont work on Windows.. On Thu, Aug 27, 2015 at 6:49 AM, Torsten Bergmann <astares@gmx.de> wrote:
Julien Delplanque provided this week a goodie to switch between "desktops" - but his initial solution was more or less hiding windows and not really switching between real Pharo worlds/desktops.
I gave him some tips what could be done on the pharo-user list. Havent heard from him afterwards.
Now I was able to spend a few hours on this topic myself and implemented a full multiple desktop solution myself.
This works in Pharo 5 only (currently) and requires latest VM (at least on Windows) from files.pharo.org to get the keyboard shortcuts right.
To try:
Gofer new smalltalkhubUser: 'TorstenBergmann' project: 'DesktopManager'; configuration; loadDevelopment.
The goodie has some nice features like keyboard navigation, world menu integration and even a custom spotter with preview of the desktops.
Quick start: =========== - evaluate the above expression in a Pharo 5 image - check the world menu "Desktop" - you can press CTRL + D and then CTRL + A (= Desktop Add) to add a new desktop - you can press CTRL + D and then CTRL + D (= Desktop Desktop) to open the overview - you can press CTRL + D and then CTRL + P (= Desktop Previous) to navigate to the previous desktop - you can press CTRL + D and then CTRL + N (= Desktop Next) to navigate to the next desktop
The code is hopefully a good example on how to build a custom spotter, shortcuts, inspector extensions, ... Additionally all this is described in a new article including screenshots and a guide on how to use this new goodie:
https://medium.com/@astares/multiple-desktops-for-pharo-5cbc46f3179f
Actually the article took more time to write than coding but I hope it helps explaining Pharo and why it is a power tool.
Project is on http://www.smalltalkhub.com/#!/~TorstenBergmann/DesktopManager Article and code is still subject to change.
Have fun T.
Hello Torsten the desktops are named 'Desktop 1' 'Desktop 2' 'Desktop 3'. Is it possible to change these names? Regards Hannes On 8/27/15, Torsten Bergmann <astares@gmx.de> wrote:
Julien Delplanque provided this week a goodie to switch between "desktops" - but his initial solution was more or less hiding windows and not really switching between real Pharo worlds/desktops.
I gave him some tips what could be done on the pharo-user list. Havent heard from him afterwards.
Now I was able to spend a few hours on this topic myself and implemented a full multiple desktop solution myself.
This works in Pharo 5 only (currently) and requires latest VM (at least on Windows) from files.pharo.org to get the keyboard shortcuts right.
To try:
Gofer new smalltalkhubUser: 'TorstenBergmann' project: 'DesktopManager'; configuration; loadDevelopment.
The goodie has some nice features like keyboard navigation, world menu integration and even a custom spotter with preview of the desktops.
Quick start: =========== - evaluate the above expression in a Pharo 5 image - check the world menu "Desktop" - you can press CTRL + D and then CTRL + A (= Desktop Add) to add a new desktop - you can press CTRL + D and then CTRL + D (= Desktop Desktop) to open the overview - you can press CTRL + D and then CTRL + P (= Desktop Previous) to navigate to the previous desktop - you can press CTRL + D and then CTRL + N (= Desktop Next) to navigate to the next desktop
The code is hopefully a good example on how to build a custom spotter, shortcuts, inspector extensions, ... Additionally all this is described in a new article including screenshots and a guide on how to use this new goodie:
https://medium.com/@astares/multiple-desktops-for-pharo-5cbc46f3179f
Actually the article took more time to write than coding but I hope it helps explaining Pharo and why it is a power tool.
Project is on http://www.smalltalkhub.com/#!/~TorstenBergmann/DesktopManager Article and code is still subject to change.
Have fun T.
Hi Hannes, I've just added support for this. Update your version or load latest from Catalog. You can then use the menu or CTRL + D and then CTRL + R like "Desktop" -> "Rename" so now you have: CTRL + D and then CTRL + D like "Desktop" -> "Desktop switcher" (a custom Spotter) CTRL + D and then CTRL + F like "Desktop" -> "Fullscreen" (toggles fullscreen) CTRL + D and then CTRL + O like "Desktop" -> "Overview" CTRL + D and then CTRL + P like "Desktop" -> "Previous" CTRL + D and then CTRL + N like "Desktop" -> "Next" CTRL + D and then CTRL + R like "Desktop" -> "Rename" Side note: ========== If you work on Windows take care: if you already switch to Spur VM https://pharo.fogbugz.com/f/cases/17289 the "DesktopManager" and "QuickAccess" goodies will not work as CTRL keys are not handled correctly anymore in pharo-spur32 (for win, dated 14.12.2015) compared to non-spur VM. Esteban knows about this already and followup with merged VM code in the next weeks. As always a time issue. I have to stop in Pharo5.0 Latest update: #50495 (last non-spur image) with most of my stuff for that reason. Hope this helps and happy x-mas. Have fun T.
Gesendet: Montag, 21. Dezember 2015 um 15:49 Uhr Von: "H. Hirzel" <hannes.hirzel@gmail.com> An: "Pharo Development List" <pharo-dev@lists.pharo.org> Cc: "Any question about pharo is welcome" <pharo-users@lists.pharo.org>, astares@gmx.de Betreff: Re: [Pharo-dev] [ANN] Multiple Desktop support for Pharo 5
Hello Torsten
the desktops are named
'Desktop 1' 'Desktop 2' 'Desktop 3'.
Is it possible to change these names?
Regards Hannes
On 8/27/15, Torsten Bergmann <astares@gmx.de> wrote:
Julien Delplanque provided this week a goodie to switch between "desktops" - but his initial solution was more or less hiding windows and not really switching between real Pharo worlds/desktops.
I gave him some tips what could be done on the pharo-user list. Havent heard from him afterwards.
Now I was able to spend a few hours on this topic myself and implemented a full multiple desktop solution myself.
This works in Pharo 5 only (currently) and requires latest VM (at least on Windows) from files.pharo.org to get the keyboard shortcuts right.
To try:
Gofer new smalltalkhubUser: 'TorstenBergmann' project: 'DesktopManager'; configuration; loadDevelopment.
The goodie has some nice features like keyboard navigation, world menu integration and even a custom spotter with preview of the desktops.
Quick start: =========== - evaluate the above expression in a Pharo 5 image - check the world menu "Desktop" - you can press CTRL + D and then CTRL + A (= Desktop Add) to add a new desktop - you can press CTRL + D and then CTRL + D (= Desktop Desktop) to open the overview - you can press CTRL + D and then CTRL + P (= Desktop Previous) to navigate to the previous desktop - you can press CTRL + D and then CTRL + N (= Desktop Next) to navigate to the next desktop
The code is hopefully a good example on how to build a custom spotter, shortcuts, inspector extensions, ... Additionally all this is described in a new article including screenshots and a guide on how to use this new goodie:
https://medium.com/@astares/multiple-desktops-for-pharo-5cbc46f3179f
Actually the article took more time to write than coding but I hope it helps explaining Pharo and why it is a power tool.
Project is on http://www.smalltalkhub.com/#!/~TorstenBergmann/DesktopManager Article and code is still subject to change.
Have fun T.
participants (4)
-
H. Hirzel -
Mariano Martinez Peck -
S Krish -
Torsten Bergmann