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.

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


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

20190420
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

20140130
Setting mate-conf values from the command line: mateconftool-2 --type string --set /apps/marco/general/action_middle_click_titlebar toggle_shade
20140130
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

20140114
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;/'

20130814
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\$ '
else
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

20101224
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:\
:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
:LE=\E[%dD:\
:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:bt=\E[Z:\
:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:\
:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E[!p\E[?3;4l\E[4l\E>:\
:kD=\177:\
:kb=^H:ke=\E[?1l\E>:\
:ks=\E[?1h\E=:le=^H:mb=\E[5m:md=\E[1m:\
:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[27m:\
:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:te=\E[?1047l\E[?1048l:\
:ti=\E[?1048h\E[?1047h:ue=\E[24m:up=\E[A:us=\E[4m:\
:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:
# 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):\
:kD=\E[3~:kb=\177:tc=xterm-xfree86:
# 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:\
:tc=xterm-redhat:

Back