pan-users
[Top][All Lists]
Advanced

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

Re: [Pan-users] Changing quickkeys


From: Duncan
Subject: Re: [Pan-users] Changing quickkeys
Date: Wed, 22 Jan 2003 17:11:59 -0700
User-agent: KMail/1.5

On Tue 21 Jan 2003 23:23, Eric Ortega posted as excerpted below:
[Duncan..]
> > Thus, the way I do it is by editing the ~/.pan/data/accels.txt file, as
> > appropriate.   ...
>
> <snip>
>
> > Of course, this must be done with PAN not running, so it loads the new
> > version ...
>
> I'm using 0.13.2.93 and changed the entry in this file from "r" to "R"
> and PAN overwrites it on startup.  :(

That's most likely because you are using the wrong format, and/or you didn't 
uncomment the line, when you changed it from the default.

The default lines are commented out with a semicolon, so that must be removed 
if you change it from the defaults.  Furthermore, I'm assuming your case 
sensitivity above means you want one to be the shifted form, while the other 
is unshifted.  AFAICT, the file is either case insensitive, or will not see 
letters in the wrong case.  Rather than doing it that way, treat shift as you 
would any other key modifier.  See the way other entries are structured, but 
in general you'd use "R", "<shift>R", "<control>R","<shift><control>R", etc.  
The file doesn't use alt/meta by default, and neither have I, so if you use 
that, you'll need to see whether it takes <alt> or <meta>, or doesn't respond 
to that at all, but the four combos of unmodified, shift, control, and 
control-shift, are used on various keys by default, so all I did was copy the 
format already used (and uncomment the lines I changed), and it worked.

BTW#1:  I had to experiment a bit to get function keys to work, but they will, 
if you get it right.  I first figured they'd be set off with <> as the 
modifiers, but that didn't work.  I then tried simply "f1", etc. but that 
didn't work either.  The correct format was "F1".

BTW#2:  I did the exact opposite of what you are doing.  I use news far more 
than mail, so set "F" in KMail to be "Followup", as it is in PAN, rather than 
the default "Forward", which I seldom use.  Thus, I definitely understand 
your difficulty, only reversed your solution, applying the news hotkey to 
mail, rather than your mail to news application.

Finally:  I am not sure whether the "change accels" entry must be in the 
gtkrc2.0 file to make manual editing of the PAN hotkeys file work or not, 
since I already had that entry from b4.   If it doesn't work after the above, 
and you haven't added the appropriate entry there, try that and see if it 
works.

-- 
Duncan
"They that can give up essential liberty to obtain a little
temporary safety, deserve neither liberty nor safety." --
Benjamin Franklin





reply via email to

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