Multi desktops inside Pharo!

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Multi desktops inside Pharo!

Julien Delplanque
Hi all,

I created a small utility that make possible to have multi desktops:
https://github.com/juliendelplanque/desktopsmanager.

It show/hide windows according to the desktop you're on.

I think it can be useful from my small experience, I often feel a lack
of space when opening 4-5 windows and also, I like to have my windows
full sized... :)

What do you think about it?

Regards,

Julien

Reply | Threaded
Open this post in threaded view
|

Re: Multi desktops inside Pharo!

Mariano Martinez Peck
It does not work for me. Should it work in Pharo 4.0?

On Mon, Aug 24, 2015 at 1:39 PM, Julien Delplanque <[hidden email]> wrote:
Hi all,

I created a small utility that make possible to have multi desktops: https://github.com/juliendelplanque/desktopsmanager.

It show/hide windows according to the desktop you're on.

I think it can be useful from my small experience, I often feel a lack of space when opening 4-5 windows and also, I like to have my windows full sized... :)

What do you think about it?

Regards,

Julien




--
Reply | Threaded
Open this post in threaded view
|

Re: Multi desktops inside Pharo!

Julien Delplanque
Yes it should work on Pharo 4.

Did you opened  windows as said in the README's notes section?

If you have no window opened in a desktop you cant create a new desktop.

If you did, can you try:

DesktopsManager uniqueInstance nextDesktop

and

DesktopsManager uniqueInstance previousDesktop


Do you see the DesktopMorph on bottom right of the screen?

Julien

On 24/08/15 19:10, Mariano Martinez Peck wrote:

> It does not work for me. Should it work in Pharo 4.0?
>
> On Mon, Aug 24, 2015 at 1:39 PM, Julien Delplanque <[hidden email]> wrote:
>
>> Hi all,
>>
>> I created a small utility that make possible to have multi desktops:
>> https://github.com/juliendelplanque/desktopsmanager.
>>
>> It show/hide windows according to the desktop you're on.
>>
>> I think it can be useful from my small experience, I often feel a lack of
>> space when opening 4-5 windows and also, I like to have my windows full
>> sized... :)
>>
>> What do you think about it?
>>
>> Regards,
>>
>> Julien
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: Multi desktops inside Pharo!

Mariano Martinez Peck


On Mon, Aug 24, 2015 at 2:26 PM, Julien Delplanque <[hidden email]> wrote:
Yes it should work on Pharo 4.

Did you opened  windows as said in the README's notes section?

Yes.
 

If you have no window opened in a desktop you cant create a new desktop.

If you did, can you try:

DesktopsManager uniqueInstance nextDesktop

and

DesktopsManager uniqueInstance previousDesktop

 
That indeed switches desktops. So the shortcut is clearly not working then. 
 

Do you see the DesktopMorph on bottom right of the screen?


No..I only see a number "1". Also, I use a background picture for my Pharo so maybe that is being in front of the morph. So I guess somehow you morph should go in the front. The way I set a background picture is like this in case you want to reproduce it:

PolymorphSystemSettings desktopImageFileName: '/Library/Desktop Pictures/Yosemite 3.jpg'.

Just in case..I also use the dark theme...

BTW..were you aware of the tiling window manager?  http://magaloma.blogspot.com.ar/2011/05/tiling-window-manager.html
I do not want all the features of the TWM, but a simple switch between desktops, yeah, I would like that!

 
 
Julien


On 24/08/15 19:10, Mariano Martinez Peck wrote:
It does not work for me. Should it work in Pharo 4.0?

On Mon, Aug 24, 2015 at 1:39 PM, Julien Delplanque <[hidden email]> wrote:

Hi all,

I created a small utility that make possible to have multi desktops:
https://github.com/juliendelplanque/desktopsmanager.

It show/hide windows according to the desktop you're on.

I think it can be useful from my small experience, I often feel a lack of
space when opening 4-5 windows and also, I like to have my windows full
sized... :)

What do you think about it?

Regards,

Julien








--
Reply | Threaded
Open this post in threaded view
|

Re: Multi desktops inside Pharo!

Julien Delplanque


On 24/08/15 19:47, Mariano Martinez Peck wrote:

>> If you have no window opened in a desktop you cant create a new desktop.
>>
>> If you did, can you try:
>>
>> DesktopsManager uniqueInstance nextDesktop
>>
>> and
>>
>> DesktopsManager uniqueInstance previousDesktop
>>
>>
> That indeed switches desktops. So the shortcut is clearly not working then.
>
Strange, it works here using Pharo 4 under Archlinux.

>> Do you see the DesktopMorph on bottom right of the screen?
>>
>>
> No..I only see a number "1". Also, I use a background picture for my Pharo
> so maybe that is being in front of the morph. So I guess somehow you morph
> should go in the front. The way I set a background picture is like this in
> case you want to reproduce it:
>
> PolymorphSystemSettings desktopImageFileName: '/Library/Desktop
> Pictures/Yosemite 3.jpg'.
>
> Just in case..I also use the dark theme...
This number is the DesktopMorph. It is transparent unless when you
switch desktops,
there is a little animation that makes it opaque and progressively become
transparent again.
>
> BTW..were you aware of the tiling window manager?
> http://magaloma.blogspot.com.ar/2011/05/tiling-window-manager.html
> I do not want all the features of the TWM, but a simple switch between
> desktops, yeah, I would like that!
No I don't know this project, does it have multiple desktop built-in?

Julien

Reply | Threaded
Open this post in threaded view
|

Re: Multi desktops inside Pharo!

Mariano Martinez Peck


On Mon, Aug 24, 2015 at 2:57 PM, Julien Delplanque <[hidden email]> wrote:


On 24/08/15 19:47, Mariano Martinez Peck wrote:
If you have no window opened in a desktop you cant create a new desktop.

If you did, can you try:

DesktopsManager uniqueInstance nextDesktop

and

DesktopsManager uniqueInstance previousDesktop


That indeed switches desktops. So the shortcut is clearly not working then.

Strange, it works here using Pharo 4 under Archlinux.

Are you using KeyBinding for this? 

 

Do you see the DesktopMorph on bottom right of the screen?


No..I only see a number "1". Also, I use a background picture for my Pharo
so maybe that is being in front of the morph. So I guess somehow you morph
should go in the front. The way I set a background picture is like this in
case you want to reproduce it:

PolymorphSystemSettings desktopImageFileName: '/Library/Desktop
Pictures/Yosemite 3.jpg'.

Just in case..I also use the dark theme...
This number is the DesktopMorph. It is transparent unless when you switch desktops,
there is a little animation that makes it opaque and progressively become
transparent again.


Here there is no animation and it is always white colored. And it always remain as "1", never become "2" in the second workspace. 

 
BTW..were you aware of the tiling window manager?
http://magaloma.blogspot.com.ar/2011/05/tiling-window-manager.html
I do not want all the features of the TWM, but a simple switch between
desktops, yeah, I would like that!
No I don't know this project, does it have multiple desktop built-in?


Yes. But I just tried in Pharo 4.0 and it is buggy (you loose all workspace contents for example when switching).

 


--
Reply | Threaded
Open this post in threaded view
|

Re: Multi desktops inside Pharo!

Julien Delplanque


On 24/08/15 20:01, Mariano Martinez Peck wrote:

> On Mon, Aug 24, 2015 at 2:57 PM, Julien Delplanque <[hidden email]> wrote:
>
>>
>> On 24/08/15 19:47, Mariano Martinez Peck wrote:
>>
>>> If you have no window opened in a desktop you cant create a new desktop.
>>>> If you did, can you try:
>>>>
>>>> DesktopsManager uniqueInstance nextDesktop
>>>>
>>>> and
>>>>
>>>> DesktopsManager uniqueInstance previousDesktop
>>>>
>>>>
>>>> That indeed switches desktops. So the shortcut is clearly not working
>>> then.
>>>
>>> Strange, it works here using Pharo 4 under Archlinux.
>
> Are you using KeyBinding for this?
I define a subclass of KMCategory named DesktopsCategory that has
messages to define
shortcuts and I install them using:

KMRepository default setAsGlobalCategory: DesktopsCategory new.


>
>
>
>> Do you see the DesktopMorph on bottom right of the screen?
>>>>
>>>> No..I only see a number "1". Also, I use a background picture for my
>>> Pharo
>>> so maybe that is being in front of the morph. So I guess somehow you morph
>>> should go in the front. The way I set a background picture is like this in
>>> case you want to reproduce it:
>>>
>>> PolymorphSystemSettings desktopImageFileName: '/Library/Desktop
>>> Pictures/Yosemite 3.jpg'.
>>>
>>> Just in case..I also use the dark theme...
>>>
>> This number is the DesktopMorph. It is transparent unless when you switch
>> desktops,
>> there is a little animation that makes it opaque and progressively become
>> transparent again.
>>
>>>
> Here there is no animation and it is always white colored. And it always
> remain as "1", never become "2" in the second workspace.
>
I can't explain that it works on my image :(

>
>> BTW..were you aware of the tiling window manager?
>>> http://magaloma.blogspot.com.ar/2011/05/tiling-window-manager.html
>>> I do not want all the features of the TWM, but a simple switch between
>>> desktops, yeah, I would like that!
>>>
>> No I don't know this project, does it have multiple desktop built-in?
>>
>>
> Yes. But I just tried in Pharo 4.0 and it is buggy (you loose all workspace
> contents for example when switching).
Ok, personally I would like to help to provide an utility to manage
desktops under Pharo but
if there are things I can reuse or get inspired I want to know them! :)

Julien