Darkland | net

Tweaks And That Sort Of Jive

Published on 30 January, 2014 by Amanda
NOTE: Almost everything prior to 2020 on this page has long been obsolete.

Disbale "Suggest and generate strong passwords" in Firefox:
signon.generation.available = false

Disable sudo asterisk echoing by deleting /etc/sudoers.d/0pwfeedback

Create link for mate-terminal so "launch in terminal" option works from the desktop
cd /usr/bin/
sudo ln -s /usr/bin/mate-terminal /usr/bin/xterm

Setting mate-conf values from the command line: mateconftool-2 --type string --set /apps/marco/general/action_middle_click_titlebar toggle_shade
Changing MDM theme in Linux Mint 17.x and previous:
  1. Run mdmsetup as root.
  2. Click "add"
  3. Navigate to the theme archive you wish to use.
  4. Be sure to click the radio button next to your new theme.
  5. Close mdmsetup.
  6. reboot
Reference: http://community.linuxmint.com/tutorial/view/926

Allowing mate-screensaver to use more xscreensavers
  1. Go to /usr/share/applications/screensavers
  2. su to root
  3. find . -name '*.desktop' | xargs sed -i 's/OnlyShowIn=GNOME;/OnlyShowIn=GNOME;MATE;/'

Adding and enabling Xscreensaver instead of Mintscreensaver.
Reference: http://ubuntuforums.org/archive/index.php/t-195557.html

Shading Windows In Mate
This is only valid for Ubuntu-based, and Debian Edition, versions of Linux Mint running Mate.
Linux Mint 19.x
  1. Open Menu > System Tools > dconf Editor
  2. Change /org/mate/marco/general/action-double-click-titlebar from 'toggle_shade' to 'lower'.
  3. Change /org/mate/marco/general/action-middle-click-titlebar from 'lower' to 'toggle_shade'.
Linux Mint 18.3 and Older:
  1. Open Menu > System Tools > Configuration Editor
  2. Change /apps/marco/general/action_double_click_titlebar from 'toggle_shade' to 'lower'.
  3. Change /apps/marco/general/action_middle_click_titlebar from 'lower' to 'toggle_shade'.
Note: Linux Mint Xfce Edition still uses the mouse wheel to toggle shade by default.
Terminal Command Prompt Definition
Replace the original lines in /etc/bash.bashrc with the following to globally set prompt color for root to red with a yellow hostname, and to set user prompts to green with a yellow hostname. if [[ ${EUID} == 0 ]] ; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u\[\033[0m\]@\[\033[01;32m\]\h\[\033[0m\]:\w\$ '
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;33m\]\u\[\033[0m\]@\[\033[01;32m\]\h\[\033[0m\]:\w\$ '
Copying Thunderbird Message Filters Between Machines. IMAP message filters are stored in ~/.thunderbird/[STRING].default/ImapMail/mail.[DOMAINNAME].tld/msgFilterRules.dat This file can be moved between machines, or edited to add new filters from other machines. Reference: http://kb.mozillazine.org/Files_and_folders_in_the_profile_-_Thunderbird
Scribes Default Directory
You can change the path by tweaking the file /usr/share/pyshared/SCRIBES/Globals.py (you need root access) There is a line that says:
folder_ = join(home_folder, "Desktop")
It can be changed to anything you have to which you have "write" access.
Reference: https://answers.launchpad.net/scribes/+question/151868
Copy to... | Move to...
Desktop Right-click / Openbox Menu
  1. Press: [alt]+F2]
  2. Click: Run
  3. Click: Advanced
  4. Check / Uncheck: Show menus provided by window managers when desktop is clicked.
Reference: http://forums.linuxmint.com/viewtopic.php?f=175&t=98427
Clipboard Manager for LXDE
Reference: http://ubuntu-lxde.wikidot.com/clipboard

Gnome-Terminal Resizing
Edit the file /usr/share/vte/termcap/xterm:
# This is a cut-down version of the termcap file from my box with some entries
# removed (add them back in to override the terminal's behavior):
# kI (Insert, Delete is handled programmatically)
# kP/kN (Page Up, Page Down)
# ku/kd/kl/kr (Up, Down, Left, Right)
# k1/kd2/k3/k4/k5/k6/k7/k8/k9/k; (F1-F10)
# K1/K2/K3/K4/K5 (KP Up, Down, Left, Right, Begin)
xterm-xfree86|xterm-new|xterm terminal emulator (XFree86):\:co#100:it#8:li#30:\r :am:km:mi:ms:xn:\
# xterm-redhat is identical to xterm-xfree86 with the addition of a small
# VT220-ism regarding the backspace and delete keys; this is mandated by
# the keyboard configuration section of the Debian Policy Manual.
xterm-redhat|Red Hat xterm (backspace and delete changed):\
# This is the only entry which you should have to customize, since "xterm"
# is widely used for a variety of incompatible terminal emulations including
# color_xterm and rxvt.
xterm|X11 terminal emulator:\