WindowMaker: Difference between revisions

From hugovil.com
Jump to navigationJump to search
Line 19: Line 19:
     gnome-terminal --geometry=160x53+380+10 --disable-factory --profile=kermit --title="Kermit  /dev/ttyS0  115200" --name=kermitTerm -e "kermit ~/serial-115200.kermrc"
     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==
===Exemple connection SSH===


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


=Gnome settings=
=Gnome settings=

Revision as of 18:16, 31 May 2013

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"),