[clfswm-devel] Run clfswm
Philippe Brochard
pbrochard at common-lisp.net
Tue Sep 6 15:55:09 UTC 2011
loz accs writes:
> Hi again, how do i change default terminal and font? i have this in
> config.lisp, but "c" in second mode still runs xterm.
>
> (defparameter *clfswm-terminal-cmd* (format nil "urxvt -tn ~A"
> *clfswm-terminal-name*))
> (defconfig *clfswm-terminal-cmd* (format nil "urxvt -tn ~A"
> *clfswm-terminal-name*)
> 'Corner "The clfswm terminal command.
> This command must set the window title to *clfswm-terminal-name*")
>
Those variables are for the terminal in the top left corner which you
can hide/unhide with the 'control+L2' keys. L2 is the F12 function key
(at least on an azerty keyboard).
The way to change the terminal bound to second mode key+c is to redefine
it in your .clfswmrc:
--------------------------------------------------
(defun local-binding ()
(define-shell ("c") b-start-xterm "start an xterm" "cd $HOME && exec xterm"))
do what you want here ^^^^^^^^^^^^^^^^
(add-hook *binding-hook* 'local-binding)
--------------------------------------------------
Have a look at bindings.lisp and bindings-second-mode.lisp.
> also how do i change default font? does clfswm support xft fonts?
>
You can change all the fonts globally with the *default-font-string*
variable ("fixed" by default) in package.lisp (does not work in your
.clfswmrc).
You can also change them individually in your .clfswmrc. See config.lisp
for fonts variables available. For example:
----------------------------------------------------------------
(setf *sm-font-string* "-bitstream-*-*-o-*-*-*-*-*-100-m-0-*-*")
----------------------------------------------------------------
Yes, clfswm supports xft fonts.
> and how do i press L2 hotkey? for example: Control L2
> Hide/Unhide a terminal
>
This is the F12 function key (a least) on an azerty keyboard.
Good luck,
Philippe
> 2011/9/5, loz.accs <loz.accs at gmail.com>:
>> Sorry for disinformation, problem was in num-lock, if it's turned off,
>> everything is fine :)
>>
>
> _______________________________________________
> clfswm-devel mailing list
> clfswm-devel at common-lisp.net
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clfswm-devel
More information about the clfswm-devel
mailing list