WindowMaker

From Hugo Villeneuve
Revision as of 14:16, 31 May 2013 by Hugo (talk | contribs) (=Exemple avec script Kermit)
Jump to: navigation, search

Running multiple instances of xterm

Go to the Attributes menu -> Application Specific and select "No application icon" for XTerm.

Then right-click on the docked appicon and select settings. Change the Application Path with arguments section to:

   /bin/sh -c "exec xterm &"

Or:

   /bin/sh -c "exec gnome-terminal &"


Pour faire capturer un script par le dock

Exemple avec script Kermit

   gnome-terminal --geometry=160x53+380+10 --disable-factory --profile=kermit --title="Kermit   /dev/ttyS0   115200" --name=kermitTerm -e "kermit ~/serial-115200.kermrc"

=Exemple connection SSH

   gnome-terminal --disable-factory --name=ssh-hugovil -e "ssh hugo@hugovil.dyndns.org"


Gnome settings

Create the following file if it doesn't exist and change it's permissions:

 chmod 755 ~/GNUstep/Library/WindowMaker/autostart

Content:

#!/bin/sh

gnome-settings-daemon

hvclock

Go to the Attributes menu -> Application Specific and select "Start Hidden".

Emacs

Pour que Emacs lise les valeurs contenues dans ~/.Xdefaults:

 $> xrdb ~/.Xdefaults

Pour prendre en compte les valeurs contenues dans ~/.Xresources:

 $> xrdb ~/.Xresources

Économiseur d'écran

1. Installer xscreensaver

2. Ajouter une entrée dans ~/GNUstep/Defaults/WMRootMenu:

 (Lock, SHORTCUT, "Shift+Delete", EXEC, "xscreensaver-command -lock"),