Difference between revisions of "Switching over to LMDE"

From The TinkerNet Wiki
Jump to navigation Jump to search
Line 11: Line 11:
 
Seems promising.
 
Seems promising.
  
== BUT, There are some oddities ==
+
==BUT, There are some oddities==
  
=== Gnome Terminal ===
+
===Gnome Terminal===
 
For some odd reason, the default keyboard shortcuts for the terminal don't actually all work.
 
For some odd reason, the default keyboard shortcuts for the terminal don't actually all work.
  
==== Solution ====
+
====Solution====
 
Fire up the terminal, then select '''Edit / Preferences''' in the menus.  Then select the '''Shortcuts''' tab.  Click twice (NOT double-click) on the '''Shortcut Key''' you want to fix, then re-define it to either the same as it was (or something else if you wish).
 
Fire up the terminal, then select '''Edit / Preferences''' in the menus.  Then select the '''Shortcuts''' tab.  Click twice (NOT double-click) on the '''Shortcut Key''' you want to fix, then re-define it to either the same as it was (or something else if you wish).
  
=== vim ===
+
===vim===
 
(as installed on LMDE) has mouse weirdness.  Selecting text with the mouse automatically enter '''visual mode'''.  This prevents useful things like using the mouse to copy/paste while editing in the terminal.  ('''Visual Mode''' is stupid...)
 
(as installed on LMDE) has mouse weirdness.  Selecting text with the mouse automatically enter '''visual mode'''.  This prevents useful things like using the mouse to copy/paste while editing in the terminal.  ('''Visual Mode''' is stupid...)
  
==== Solution ====
+
====Solution====
 
Either enter:
 
Either enter:
  
* ''<code>:set mouse-=a</code>''
+
*''<code>:set mouse-=a</code>''
  
 
during an editing session, or even better, put it (without the leading colon) in your <code>~/.vimrc</code> file.  (create the <code>.vimrc</code> file if it's not already there...)
 
during an editing session, or even better, put it (without the leading colon) in your <code>~/.vimrc</code> file.  (create the <code>.vimrc</code> file if it's not already there...)
 +
 +
* <code>vim ~/.vimrc</code>
 +
** <code>set mouse-=a</code>
 +
 +
If you tend to use vim via sudo a lot... (duh... Who doesn't?)
 +
 +
* <code>vim ~root/.vimrc</code>

Revision as of 19:36, 4 April 2021

So...

Linux Mint is based on Ubuntu & Ubuntu is based on Debian.

Ubuntu is slowly trying to turn into a combination of Windows & MacOS...

Ick!

LMDE is a version of Linux Mint without the Ubuntu step.

Seems promising.

BUT, There are some oddities

Gnome Terminal

For some odd reason, the default keyboard shortcuts for the terminal don't actually all work.

Solution

Fire up the terminal, then select Edit / Preferences in the menus. Then select the Shortcuts tab. Click twice (NOT double-click) on the Shortcut Key you want to fix, then re-define it to either the same as it was (or something else if you wish).

vim

(as installed on LMDE) has mouse weirdness. Selecting text with the mouse automatically enter visual mode. This prevents useful things like using the mouse to copy/paste while editing in the terminal. (Visual Mode is stupid...)

Solution

Either enter:

  • :set mouse-=a

during an editing session, or even better, put it (without the leading colon) in your ~/.vimrc file. (create the .vimrc file if it's not already there...)

  • vim ~/.vimrc
    • set mouse-=a

If you tend to use vim via sudo a lot... (duh... Who doesn't?)

  • vim ~root/.vimrc