Tag Archives: Linux

Log all bash sessions for all users

      No Comments

Saving for myself: To log all bash sessions for all users in Linux, put this at the end of /etc/bash.bashrc: session_log_path=/some/log/path if [ ! -d "$session_log_path/$USER/" ]; then mkdir -p "$session_log_path/$USER/" fi if [ -d "$session_log_path/$USER/" ]; then [[ "$(ps…

Change SciTE's default open filter from "All Source" to "All Files"

      No Comments

Posting this mainly to keep it for myself, but making it public to benefit anyone else looking for it as well. By default, SciTE's open dialog box is set to "All Source," which means to show a list of all files it considers "source files" (files that contain program source code.) I wanted my copy of…

Fix VolumeUp|VolumeDown|Mute/Unmute keyboard keys in Lubuntu

      3 Comments

Mostly for my own reference; to get the Volume Up/Volume Down/{Mute|Unmute} keys to work on my Microsoft Natural Ergonomic Keyboard 4000 in Lubuntu (Ubuntu with LXDE/Openbox), I had to modify the lubuntu-rc.xml file to indicate the correct commands to execute when those keys were pressed. Initially,…