ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RP] clever hack to make firefox top of stack?


From: Ted Walther
Subject: [RP] clever hack to make firefox top of stack?
Date: Sun, 12 Mar 2006 19:11:22 -0800
User-agent: Mutt/1.5.11+cvs20060126

I have an instance of Firefox running.  firefox -remote seems to have no
problem finding the running instance and telling it to do stuff.

Is there some simple clever hack to raise the firefox instance to the
top of the stack in ratpoison?  The manpage for firefox doesn't seem to
have that option, and I'm not sure how reliable it is grepping for the
term "Firefox" in the window titles.

By the way here is some nifty bits from my .xbindkeysrc

******** .xbindkeysrc *************
# Load selection into a Firefox tab as an URL

"cutpaste-url"
 F12

# Ratpoison command keys
"ratpoison -c next"
 F10

"ratpoison -c prev"
 F9

# Pop up a calculator with key on M$ keyboard
"xcalc"
 m:0x0 + c:161
***********************************

And here is the cutpaste-url script:

********* cutpaste-url ************
#!/bin/sh

firefox -new-tab "$(xclip -o)"
***********************************

I'd really like the cutpaste-url script to raise firefox to the top of
hte window stack so I can see the URL I just pasted.

Also, how do I disable the automatic URL highlighting in emacs?  I want
to be able to double click an URL to "select" it, then press F12 at my
leisure; sometimes I just want to select parts of an URL and emacs
current highlighting behavior is annoying.

Ted

--
It's not true unless it makes you laugh, but you don't understand it until it makes you weep.

Eukleia: Ted Walther
Address: 5690 Pioneer Ave, Burnaby, BC  V5H2X6 (Canada)
Contact: 604-430-4973

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]