24 July 2017

Debian Fluxbox Setup (2017)

autologin w/ systemd:

/etc/systemd/system/getty@tty1.service.d/autologin.conf:
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin $USERNAME %I


Wifi:
$lspci
...
02:00.0 Network controller: Broadcom Limited BCM43142 802.11b/g/n (rev 01)
...

$sudo apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms

$ip addr show
1: lo ...
2: enp1s0: ...
    link/ether d4:be:d9:79:fd:01 ...
3: wlp2s0: ...
    link/ether 64:27:37:f8:d4:43...

/etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#allow-hotplug enp1s0
iface enp1s0 inet dhcp
# wifi
#allow-hotplug wlp2s0
iface wlp2s0 inet dhcp

wicd preferences:
Wireless interface: wlp2s0
Wired interface: enp1s0

Sound:
ensure pulseaudio is removed and alsa-tools/alsa-utils are installed.
apt-get remove pulseadio
apt-get install alsa-tools alsa-utils

Backlight:
#Screen Brightness.  Will lower or raise brightness by 5%.
# had to install xbacklight and add the following to /etc/X11/xorg.conf:
Section "Device"
        Identifier  "Card0"
        Driver      "intel"
        Option      "Backlight"  "/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/"
EndSection


Thunar:
apt-get install thunar thunar-volman
remove "Set as wallpaper" context menu item:
https://forums.bunsenlabs.org/viewtopic.php?id=1533
"The Thunar wallpaper plugin is compiled into the Debian standard Thunar (EDIT: libthunarx-2-0 in fact), and we don't want to have to compile our own version, just for a little thing like this. There is a fix though. Rename /usr/lib/{i386-linux-gnu,x86_64-linux-gnu}/thunarx-2/thunar-wallpaper-plugin.so and restart Thunar."



~/.fluxobx/keys:
Mod1 Tab :NextWindow (workspace=[current]) !! FBCV13 !!
Mod1 Shift Tab :PrevWindow (workspace=[current]) !! FBCV13 !!
#
#Volume.  Will lower or raise volume by 5%.  The third key binding will toggle mute.
XF86AudioLowerVolume : Exec amixer sset Master,0 5%-
XF86AudioRaiseVolume : Exec amixer sset Master,0 5%+
XF86AudioMute : Exec amixer sset Master,0 toggle
#
XF86MonBrightnessUp : exec /usr/bin/xbacklight -inc 5
XF86MonBrightnessDown : exec /usr/bin/xbacklight -dec 5
#
Mod1 F4 :Close
Mod1 z :RootMenu
Mod1 Shift z :HideMenus
Mod1 x :exec /usr/bin/xterm
Control Shift n : exec /usr/bin/google-chrome --incognito

other software installed:
sigil
eye of mate (eom)
simple-scan
dropbox
chrome
wicd
calibre
evince
libreoffice
moneydance
xfburn
rhythmbox
soundjuicer
vlc
thunar

No comments:

Post a Comment