Difference between revisions of "Switching over to LMDE"

From The TinkerNet Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 30: Line 30:
  
 
*<code>vim ~/.vimrc</code>
 
*<code>vim ~/.vimrc</code>
**<code>set mouse-=a</code>
+
<code>set mouse-=a</code>
  
 
If you tend to use vim via sudo a lot... (duh... Who doesn't?)
 
If you tend to use vim via sudo a lot... (duh... Who doesn't?)
Line 36: Line 36:
 
*<code>sudo vim ~root/.vimrc</code>
 
*<code>sudo vim ~root/.vimrc</code>
  
Sadly, this seems to turn off the colour syntax hilighting.  More research required...
+
Sadly, this seems to turn off the colour syntax hilighting.
 +
 
 +
But!
 +
 
 +
add
 +
 
 +
  <code>syntax on</code>
 +
 
 +
to the '''.vimrc''' files & it's back.
  
 
=== VMs ===
 
=== VMs ===
Line 62: Line 70:
  
 
*<code>apt install traceroute</code>
 
*<code>apt install traceroute</code>
 +
 +
===Aliases for ls===
 +
 +
ls needs it's aliases set.  (Who in heck doesn't use '''ll''' for <code>ls -l</code>???)
 +
 +
* <code>vi ~/.bashrc</code>
 +
 +
Scroll down & you'll see:
 +
 +
# some more ls aliases
 +
#alias ll='ls -l'
 +
#alias la='ls -A'
 +
#alias l='ls -CF'
 +
 +
Un-comment those aliases!
 +
 +
* <code>source ~/.bashrc</code>
 +
 +
===WTF? No RTSP viewing now???===
 +
Apparently...
 +
 +
Debian has decreed that VLC may not view RTSP streams for some sort of legal reasons.
 +
 +
POOP!

Latest revision as of 00:18, 15 March 2022

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?)

  • sudo vim ~root/.vimrc

Sadly, this seems to turn off the colour syntax hilighting.

But!

add

syntax on

to the .vimrc files & it's back.

VMs

Unlike Mint 20, LMDE does not yet automatically install open-vm-tools. so sad...

Solution

  • apt install open-vm-tools

Updates (after 2021/08/14)

Apparently...

Debian has updated & LMDE 4 is a little bitchy about the Debian InRelease name change.

It's fairly simple to fix

Open a terminal & enter:

  • apt update --allow-releaseinfo-change

Traceroute is missing

Most places on the net say apt install net-tools...

Nope...

  • apt install traceroute

Aliases for ls

ls needs it's aliases set. (Who in heck doesn't use ll for ls -l???)

  • vi ~/.bashrc

Scroll down & you'll see:

# some more ls aliases
#alias ll='ls -l'
#alias la='ls -A'
#alias l='ls -CF'

Un-comment those aliases!

  • source ~/.bashrc

WTF? No RTSP viewing now???

Apparently...

Debian has decreed that VLC may not view RTSP streams for some sort of legal reasons.

POOP!