[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] clever hack to make firefox top of stack?
From: |
Shawn Betts |
Subject: |
Re: [RP] clever hack to make firefox top of stack? |
Date: |
Wed, 15 Mar 2006 01:51:23 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) |
Ted Walther <address@hidden> writes:
> 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.
Doesn't something cheap like the following work?
ratpoison -c 'select firefox'
> By the way here is some nifty bits from my .xbindkeysrc
ratpoison has top level bindings now. There's no longer any need for
xbindkeys.
> ********* 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.
If you're running a new enough ratpoison you could add:
$RATPOISON -c 'select firefox'
the RATPOISON env var was added to 1.4 I think.
> 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.
If you're selecting text in emacs with the mouse you have bigger
problems to worry about.
You may be interested in trying out Conkeror - a firefox based
keyboard driven webbrowser.
conkeror.mozdev.org
-Shawn