Benutzer-Werkzeuge

Webseiten-Werkzeuge


linux_mint

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
linux_mint [2017/03/22 05:14] – [Version 17.3] karllinux_mint [2020/06/30 11:35] (aktuell) – [USB-Stick und Zugriffsrechte] karl
Zeile 11: Zeile 11:
 https://community.linuxmint.com/tutorial/view/2316 https://community.linuxmint.com/tutorial/view/2316
  
 +Das Upgrade konnte problemlos durchgeführt werden. 
 +
 +
 +===== Konfiguration =====
 +==== Batch Rename mit Nemo ====
 +Nemo braucht in den Einstellungen einen Befehl, der sich für das umbenennen meherer Datein zuständig fühlt. 
 +[[https://community.linuxmint.com/tutorial/view/1935|Hier gibts ein super tutorial dazu]]. 
 +
 +{{ ::2017-04-26_001.png?direct&600 |}}
 +
 +  sudo apt install pyrenamer thunar krename
 +
 +**Shell Skript** (etwas angepasst)
 +<code>
 +#!/bin/bash
 +# /home/karl/programs/nemo-batch-rename.sh
 +# Batch renaming back-end for nemo by Karl Zeilhofer (http://zeilhofer.co.at/wiki)
 +# based on the script from https://community.linuxmint.com/tutorial/view/1935 by MagicMint
 +
 +# This sript lets the user select 3 different programs for batch renaming:
 +# * thunar
 +# * pyrenamer
 +# * krename
 +
 +help_msg() {
 +  echo "Usage: $0 [ -h | --help ] file_or_folder_names"
 +}
 +
 +case $1 in
 + -h | --help )
 +  help_msg ;;
 +
 + *) 
 +  # Choose utility to use
 +  selection=$(zenity --list --radiolist --title="Batch Renaming Options" --column="Type" --column="Item" TRUE "krename" FALSE "pyrenamer" FALSE "thunar")
 +  [[ "${PIPESTATUS[0]}" != 0 ]] && exit
 +
 +  # Work around nemo’s URL encoding bug
 +  for file do
 +   file=/`echo $file | cut -d'/' -f4-`
 +   found=false
 +   test -e "$file" || break
 +   found=true
 +  done;
 +
 +  if [[ $found == false ]]; then
 +   while ! test -d "$file"; do
 +    file=`dirname "$file"`
 +   done
 +   zenity --warning --title="Wrong URL name by nemo" --text="Opening directory\n\t$file\ninstead."
 +   file="file://$file/."
 +
 +  # Start the right utility w/ the right files w/in the right directory
 +  else
 +   file="$@"
 +  fi
 +  
 +  
 +  if echo $selection | grep -q "thunar"; then
 +   # For files & directories call thunar directly
 +   eval thunar --bulk-rename "$file"
 +  fi
 +  
 +  if echo $selection | grep -q "pyrenamer"; then
 +   # For pictures & music this should call the wrapper for pyrenamer
 +
 +   mydir=$(dirname "$1" | cut -b 8-)
 +
 +   eval pyrenamer --root "$mydir"
 +  fi
 +  
 +  if echo $selection | grep -q "krename"; then
 +   eval krename "$file"
 +  fi
 + ;;
 +esac
 +#End of script
 +</code>
 +
 +===== Mint on Steroids with i3 Window Manager =====
 +I've just tested i3 without Eriks scripts, and it feels quite okay, especially with a 2-monitor setup. 
 +  sudo apt install i3
 +Log out and log back in with i3 desktop selected - voila!
 +What is most missing for a Mint user is the "start menu", which you don't have access to from i3. 
 +Erik has some tipps on this topic. 
 +
 +Erik Dubois provides some setup scripts on GitHub: \\
 +https://github.com/erikdubois/LinuxMint18i3
 +
 +For a list of possible key-codes:
 +  xmodmap -pk
 +and the modifiers:
 +  xmodmap -pm
 +  
 +===== USB-Stick und Zugriffsrechte =====
 +Scheinbar gibt es in Nemo (file manager) ein Problem mit den Zugriffsrechten auf einen USB-Stick. Nur root kann darauf schreiben. Nicht gerade das, was man möchte. 
 +
 +Siehe hier: https://forums.linuxmint.com/viewtopic.php?f=208&t=176546?f=208&t=176546
 +
 +Als workaround funktioniert dies:
 +  sudo chmod 777 /media/karl
 +
 +
 +===== Tote SFTP-Verbindungen schließen =====
 +Hat man eine SFTP-Verbindung in Nemo geöffnet, und man wechselt den Standort (neue Internetverbindung), dann kann es sein, dass der SSH-Server nicht mehr erreicht wird. Abhilfe schafft das schließen aller SFTP-Mounts ((Quelle: https://github.com/linuxmint/nemo/issues/678)): 
 +  killall gvfsd-sftp
 +
 +
 +
 +{{tag>software linux mint upgrade i3wm}}
  
-{tag>software linux mint upgrade} 
linux_mint.1490156059.txt.gz · Zuletzt geändert: 2017/03/22 05:14 von karl