Re: [wmii] How to make a new tab and start application inside ?

2009-05-03 Thread jpec
On Sun, May 03, 2009 at 10:29:37AM -0400, Kris Maglione wrote:
> You need to start Firefox in the background (put an & after it). When you 
> run it in the foreground, you freeze rc.wmii's event loop, so it never 
> shows you that you've created and switched to a new tab.

Thank you it works well now !

-- 
Julien Pecqueur (JPEC)

Site:   http://julienpecqueur.com
Email:  [email protected]
PGP:B1AA2389 (GNUPG)
IRC:jpec (irc.freenode.net)

Powered by Archlinux - Keep it simple stupid !


pgpqBJrvpNliS.pgp
Description: PGP signature


Re: [wmii] How to make a new tab and start application inside ?

2009-05-03 Thread Kris Maglione

On Sun, May 03, 2009 at 03:57:50PM +0200, [email protected] wrote:

Hi everybody !
But when i press MODKEY + Shift + f, it open firefox in the current tab
and when i close firefox, it create the web tab empty.


You need to start Firefox in the background (put an & after it). 
When you run it in the foreground, you freeze rc.wmii's event 
loop, so it never shows you that you've created and switched to 
a new tab.


--
Kris Maglione

Saying that Java is good because it works on all platforms is like
saying anal sex is good because it works on all genders.
--Unknown




Re: [wmii] How to make a new tab and start application inside ?

2009-05-03 Thread Thomas Gallen
If you only plan on having firefox open under the web tag, you can just
add a tag rule. That way whenever you start firefox it will open in the
web tag.

For example:

/Firefox/ -> web

Hope this helps,
Thomas

On Sun, May 03, 2009 at 03:57:50PM +0200, [email protected] wrote:
> Hi everybody !
> 
> I'm trying to make shortcut to simply the utilisation of wmii. 
> 
> I arrange my opened programs in tabs [irc,mail,web,work].
> 
> For example, when i press MODKEY + Shift + f I want to open a new tab called 
> web and open firefox inside.
> 
> So i'll add the following lines in my rc.wmii.local file :
> 
> fn Action-overridekeys {
>   ### OTHER KEYBOARD SHORTCUTS
>   
>   fn Key-$MODKEY-Shift-f { wmiir xwrite /ctl view web ; firefox }
> }
> 
> But when i press MODKEY + Shift + f, it open firefox in the current tab
> and when i close firefox, it create the web tab empty.
> 
> I'd tried with wmiir xwrite /ctl view web && firefox >> same problem!
> 
> What's wrong ?
> 
> -- 
> Julien Pecqueur (JPEC)
> 
> Site: http://julienpecqueur.com
> Email:[email protected]
> PGP:  B1AA2389 (GNUPG)
> IRC:  jpec (irc.freenode.net)
> 
> Powered by Archlinux - Keep it simple stupid !





[wmii] How to make a new tab and start application inside ?

2009-05-03 Thread jpec
Hi everybody !

I'm trying to make shortcut to simply the utilisation of wmii. 

I arrange my opened programs in tabs [irc,mail,web,work].

For example, when i press MODKEY + Shift + f I want to open a new tab called 
web and open firefox inside.

So i'll add the following lines in my rc.wmii.local file :

fn Action-overridekeys {
### OTHER KEYBOARD SHORTCUTS

fn Key-$MODKEY-Shift-f { wmiir xwrite /ctl view web ; firefox }
}

But when i press MODKEY + Shift + f, it open firefox in the current tab
and when i close firefox, it create the web tab empty.

I'd tried with wmiir xwrite /ctl view web && firefox >> same problem!

What's wrong ?

-- 
Julien Pecqueur (JPEC)

Site:   http://julienpecqueur.com
Email:  [email protected]
PGP:B1AA2389 (GNUPG)
IRC:jpec (irc.freenode.net)

Powered by Archlinux - Keep it simple stupid !


pgpOx9aw0aA7M.pgp
Description: PGP signature