Bestand: /home/karel/scripts/setup-terminix.sh

Download Report

Transcript Bestand: /home/karel/scripts/setup-terminix.sh

Bestand: /home/karel/scripts/setup-terminix.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Pagina 1 van 1
#############################################################################
# Bestand: setup-terminix.sh
#
# Doel:
Instellingsbestand voor Terminix.
#
# Gebruik: Opdrachtregel in een instellingsbestand (aanbevolen).
#
#
In het terminalvenster met script setup (aanbevolen):
#
#
setup ~/bin/setup-terminix.sh
#
#
Direct in het terminalvenster:
#
#
bash ~/bin/setup-terminix.sh
#
#
Een opdrachtregel kan ook uitgevoerd worden door deze eerst
#
#
te kopiëren, en daarna te plakken in het terminalvenster,
#
#
bijvoorbeeld via opdracht 'setup -s'.
#
# Gebruikt: terminix.desktop
#
# Auteur:
Karel Zimmer (http://karelzimmer.nl, [email protected])
#
# ------------------------------------------------------------------------- #
# Dit werk valt onder een Creative Commons Naamsvermelding-GelijkDelen 4.0 #
# Internationaal licentie (CC BY-SA 4.0).
#
# Bezoek http://creativecommons.org/licenses/by-sa/4.0/deed.nl om een kopie #
# te zien van de licentie of stuur een brief naar Creative Commons,
#
# PO Box 1866, Mountain View, CA 94042, USA.
#
# ------------------------------------------------------------------------- #
# Versies: 1.0.0
2016-10-18 Eerste versie.
#
#############################################################################
# VERSION_NUMBER=1.0.2
# RELEASE_DATE=2016-11-15
#---------------------------------------------------------------------------#
# Terminix instellen
#
#---------------------------------------------------------------------------#
#1 [ 1/1 ] Stel in Terminix - meer terminalvensters in één venster
## Plaats de Terminix-icoon bovenin de Starter.
if gsettings get com.canonical.Unity.Launcher favorites | \
grep --invert-match --quiet 'terminix.desktop'; then \
gsettings set com.canonical.Unity.Launcher favorites \
"$(gsettings get com.canonical.Unity.Launcher favorites | \
sed "s|'application://firefox.desktop', |'application://firefox.desktop', \
'application://terminix.desktop', |")"; \
fi
#2
#2 +------------------------------------------------------------------------+
#2 |
Terminix - meer terminalvensters in één venster
|
#2 +------------------------------------------------------------------------+
#2 | INSTELLEN -- Opstartconfiguratie
|
#2 | 1. Start Terminix.
|
#2 | 2. Ga naar Preferences > Profiles.
|
#2 | 3. Klik op Edit.
|
#2 | 4. Klik op Command (tab).
|
#2 | 5. Vink aan Run command as a login shell.
|
#2 +------------------------------------------------------------------------+
# Einde instellingsbestand.