bbqsetup (X version)

Submitted scripts and programs
Forum rules
Your own work only.
machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

bbqsetup (X version)

Unread post by machinebacon » Mon Jun 02, 2014 5:03 pm

Code: Select all

#!/bin/bash

# bbqsetup - runs a few tasks to set up the user environment
# setxkbmap, ceni, tzdata, alsamixer
# If this script is used, the 'setxkbmap' line in .xinitrc should be removed.

# NOTE: to be run inside of an X session

. /usr/share/doc/dialog/examples/setup-vars
. /usr/share/doc/dialog/examples/setup-tempfile

dialog --backtitle "BBQsetup" --title "Set Keyboard Map" --inputbox "Hello and welcome to LinuxBBQ. Please enter the short name of your keyboard layout, for example de, us, fr, it:" 0 0 2> $tempfile

setxkbmap `cat $tempfile`

sudo ceni
sudo dpkg-reconfigure tzdata
alsamixer
..gnutella..

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: bbqsetup (X version)

Unread post by machinebacon » Mon Jun 02, 2014 5:06 pm

The version to run in tty adds a line in the WM's .xinitrc file. Please ignore :)
..gnutella..

Post Reply