Talk:Mint Linux Distribution Reference

From Free Knowledge Base- The DUCK Project: information for everyone
Revision as of 15:49, 12 September 2018 by Admin (Talk | contribs)

Jump to: navigation, search

network applet

  771 ?        Ssl    0:00 /usr/sbin/NetworkManager --no-daemon
 1087 ?        S      0:01 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/NetworkManager/dnsmasq.pid --listen-address=127.0.1.1 --cache-size=0 
                           --conf-file=/dev/null --proxy-dnssec --enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d
13359 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-network --spawner :1.1 /org/gtk/gvfs/exec_spaw/2
28369 ?        Sl     0:02 /usr/bin/python2 /usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py network
28457 ?        S      0:00 /sbin/dhclient -d -q -sf /usr/lib/NetworkManager/nm-dhcp-helper -pf /var/run/dhclient-enp0s20.pid 
                           -lf /var/lib/NetworkManager/dhclient-443a0f44-34d4-3427-9916-f2f01835e4ef-enp0s20.lease -cf /var/lib/NetworkManager/dhclient-enp0s20.conf enp0s20

To bring up the Network control panel type this:

/usr/bin/python2 /usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py network

Determine length of longest line in a text file

Use wc

wc -L filename

or use a shell script

#!/bin/sh

MAX=0 IFS=
while read -r line; do
  if [ ${#line} -gt $MAX ]; then MAX=${#line}; fi
done < "$1"
printf "$MAX\n"

Or the line number and length with egrep

egrep -n "^.{$(wc -L < filename)}$" filename | sed 's/:/ -> /'

HOWTO: Setup VNC Server (x11vnc) on Linux Mint 18

This tutorial was adapted from here.

1. Remove the default Vino server:

sudo apt-get -y remove vino

2. Install x11vnc:

sudo apt-get -y install x11vnc

3. Create the directory for the password file:

sudo mkdir /etc/x11vnc

4. Create the encrypted password file:

sudo x11vnc --storepasswd /etc/x11vnc/vncpwd

You will be asked to enter and verify the password. Then press Y to save the password file.

5. Create the systemd service file for the x11vnc service:

sudo xed /lib/systemd/system/x11vnc.service

Copy/Paste this code into the empty file:

[Unit]
Description=Start x11vnc at startup.
After=multi-user.target

[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -auth guess -forever -noxdamage -repeat -rfbauth /etc/x11vnc/vncpwd -rfbport 5900 -shared

[Install]
WantedBy=multi-user.target

6: Reload the services:

sudo systemctl daemon-reload

7. Enable the x11vnc service at boot time:

sudo systemctl enable x11vnc.service

8. Start the service:

Either reboot or

sudo systemctl start x11vnc.service

source: https://community.linuxmint.com/tutorial/view/2334

Search for Mint Linux

title=Special:Search&profile=default&search=Mint+Linux&fulltext=Search

Sound Out of Left Speaker Only - Sound Blaster and Mint 18

Admin note: The suggestion to use AlsaMixer really did fix the problem. Procedure from Ubuntu forum:

Had the same problem and fixed it in a strange way.

Go to alsamixer (just type alsamixer in terminal)

Make sure your sound card is the one selected by pressing F6 which will show you a list for the available sound cards. Select yours! ...If you're not sure try them all. It's not dangerous ;)

alsamixer

...I noticed that I had many volume bars having their right part lower than their left part. (in this picture you see only one). So I just lowered all their volumes to zero and back up again and they became even. (to "navigate" just use your arrow keys. Right and left to select the bar, up and down to lower/raise the volume).

link: https://askubuntu.com/questions/496607/no-sound-from-right-speakers

doublecommander

DoubleCommander is a cross platform two window file manager. I tried it. It was very slow to load and would sometimes crash under linux. Uninstalled

Double Commander for Linux apt install doublecmd-gtk

I had tried the gtk.

Double Commander is not included by default in Ubuntu’s 11.04 repositories, but I included instructions on how to install it from a PPA. Double Commander offers both GTK and Qt interfaces (so the first one blends well in GNOME while I recommend the second one for KDE), comes with a twin-panel style and includes a big number of configuration options.

sudo add-apt-repository ppa:alexx2000/doublecmd sudo apt-get update sudo apt-get install doublecmd-gtk # for the GTK (GNOME) version sudo apt-get install doublecmd-qt # for the Qt (KDE) interface