Re: [gentoo-user] Re: KDE-4.2.4 shortcut for "previous desktop"

2009-08-03 Thread Paul Hartman
On Mon, Aug 3, 2009 at 2:38 PM, Daniel Iliev wrote:
> On Mon, 3 Aug 2009 13:52:52 -0500
> Paul Hartman  wrote:
>
>> On Mon, Aug 3, 2009 at 10:58 AM, Daniel Iliev
>> wrote:
>> >
>> > Hi,
>> >
>> > The subject says it all, but let me be a little more specific.
>> >
>> > I want a hot key combination for the previous desktop that was
>> > "active", not previous by number. So I'd be able to to bind, eg
>> > "alt-p", and use it to toggle between Desktop1 and Desktop3
>> > many times.
>> > Is it possible and how?
>>
>> There is a "Switch to previous desktop" hotkey available. Go to
>> keyboard settings, global hotkeys, kwin, and assign some key
>> combination to it. Does that do what you want? (I am not at home so I
>> can't try it right now)
>>
>>
>
> Thanks, but that's not it.
>
> If I had bound "alt-p" to this "action", pressing "alt-p" would switch
> desktops like this:
> Desktop4>>alt-p>>Desktop3>>alt-p>>Desktop2>>alt-p>>Desktop1
> (it's  like doing "cd .. ; cd .. ; cd .." in the shell)
>
> Given that the current active Desktop is  #4 and the previous active
> Desktop was #1, what I'm looking for is:
> Desktop4>>alt-p>>Desktop1>>alt-p>>Desktop4>>alt-p>>Desktop1
> (like doing "cd - ; cd  - ; cd - ; cd -" in the shell)

I understood, I just wasn't sure what their definition of "previous"
was, but it's apparently not the actual previous but "current desktop
minus one". I'm not sure there are any shortcuts that do it the way
you want...

As a workaround, you could set it to have only 2 desktops :)



[gentoo-user] Re: KDE-4.2.4 shortcut for "previous desktop"

2009-08-03 Thread Daniel Iliev
On Mon, 3 Aug 2009 13:52:52 -0500
Paul Hartman  wrote:

> On Mon, Aug 3, 2009 at 10:58 AM, Daniel Iliev
> wrote:
> >
> > Hi,
> >
> > The subject says it all, but let me be a little more specific.
> >
> > I want a hot key combination for the previous desktop that was
> > "active", not previous by number. So I'd be able to to bind, eg
> > "alt-p", and use it to toggle between Desktop1 and Desktop3
> > many times.
> > Is it possible and how?
> 
> There is a "Switch to previous desktop" hotkey available. Go to
> keyboard settings, global hotkeys, kwin, and assign some key
> combination to it. Does that do what you want? (I am not at home so I
> can't try it right now)
> 
> 

Thanks, but that's not it.

If I had bound "alt-p" to this "action", pressing "alt-p" would switch
desktops like this:
Desktop4>>alt-p>>Desktop3>>alt-p>>Desktop2>>alt-p>>Desktop1
(it's  like doing "cd .. ; cd .. ; cd .." in the shell)

Given that the current active Desktop is  #4 and the previous active
Desktop was #1, what I'm looking for is:
Desktop4>>alt-p>>Desktop1>>alt-p>>Desktop4>>alt-p>>Desktop1
(like doing "cd - ; cd  - ; cd - ; cd -" in the shell)


-- 
Best regards,
Daniel