Changes

Talk:Mint Linux Distribution Reference

13,353 bytes added, 23:12, 8 May 2023
/* Scrollbar Width */ new section
The following lines were added (+) and removed (-):
== includes ==* [[Linux Shell Environment Path]]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 vino2. Install x11vnc: sudo apt-get -y install x11vnc3. Create the directory for the password file: sudo mkdir /etc/x11vnc4. Create the encrypted password file: sudo x11vnc --storepasswd /etc/x11vnc/vncpwdYou 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.serviceCopy/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.target6: Reload the services: sudo systemctl daemon-reload7. Enable the x11vnc service at boot time: sudo systemctl enable x11vnc.service8. Start the service:Either reboot or sudo systemctl start x11vnc.servicesource: https://community.linuxmint.com/tutorial/view/2334== Search for Mint Linux ==[[title=Special%3ASearch&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.  UninstalledDouble Commander for Linux apt install doublecmd-gtkI 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/doublecmdsudo apt-get updatesudo apt-get install doublecmd-gtk # for the GTK (GNOME) versionsudo apt-get install doublecmd-qt # for the Qt (KDE) interface== Display applet in Settings causes system freeze ==Display applet in Settings causes system freeze* https://github.com/linuxmint/Cinnamon/issues/6224Workaround:    Use arandr tool to modify display. Downside: changes made here will reset after system sleep or restart.Problem persists in the beta release of Mint 18.2 Sonya Cinnamon version.----Bad news: This driver is no longer maintained so it's very unlikely this will get fixed.Good news: This driver is only useful for really old Intel GPUs (10 year old and more... the likes of i800x, i915, i965) and it is not recommended for recent Intel GPUs. Instead, it is recommended to use modesetting, not only to avoid this freeze issue, but also to get better performance.Anyhow, there are two solutions to this problem:Solution 1 - Recommended for people with modern Intel GPUs (2007 and newer)Remove the Intel driver to use modesetting instead:apt remove xserver-xorg-video-intelAnd then reboot the computer.Solution 2 - Recommended for people with old Intel GPUs (i965, i915, i8xx..etc)Disable VSync:echo CLUTTER_VBLANK=none >> ~/.profileAnd then log out.----debugging tools journalctl -p3 -b | cat cat /var/log/Xorg.0.log mhwd -li cat /etc/X11/xorg.conf.d/*.conf== GTK+ File Chooser Dialog ==[[GTK+ File Chooser Dialog]]GIMP (GTK+ 2)GTK+ file chooserFor GTK+ dialog, the location bar will not appear while viewing "Recently Used" in the file chooser. In this view, even Ctrl+L shortcut keys will not work.KGtk is the hackish way to use KDE dialogs in GTK+ applications.* ref: https://superuser.com/questions/944119/replace-gtk-file-dialog-with-alternativeGtkFileChooser interfaceGtkFileChooserDialogvi /etc/gtk-3.0/settings.ini/home/nicolep/.config/gtk-2.0/gtkfilechooser.iniAs people already said here, you can set StartupMode=cwd in ~/.config/gtk-2.0/gtkfilechooser.ini. This file exists already, if it is GTK+2, but I am not sure if your screenshot shows GTK+3.In this case insert this line into your ~/.config/gtk-3.0/settings.ini:gtk-recent-files-enabled=falseIf you want "/" to appear as first view, you need to chdir / before starting the application.=== startup mode ===In ~/.config/gtk-2.0/gtkfilechooser.inichange    StartupMode=recentto    StartupMode=cwd"recent" and "cwd" are the choices available to the user. An app developer can set an arbitrary start up folder by calling gtk_file_chooser_set_current_folder ().=== places === vi ~/.config/gtk-3.0/bookmarks== Enable Output to Both Headphones and Sound Card System Speakers ==Install PulseAudio Preferences (something that should be part of PulseAudio to begin with) sudo apt install paprefs sudo apt install pavucontrol paprefsSelect the tab furthest on the right "Simultaneous Output"check [x] Add virtual output device for simultaneous output on all local sound cardsRestart pulseaudio (pulseaudio -k to kill and restart) or simply reboot the system.  Now within the Sound applet you will see two devices,1) headphones... 2) Simultaneous output...This is actually the equivelant to the old bridge sound devices.Menu -> Preferences -> PulseAudio PreferencesMenu -> Sound & Video -> PulseAudio Volume ControlIT STILL DOES NOT WORK. pacmd list-sinks aplay -D plughw:0,0 /usr/share/sounds/alsa/Front_Right.wav aplay -l pacmd list-sinks | grep -e 'name:' -e 'alsa.device ' -e 'alsa.subdevice 'aplay -l (list hardware playback devices)* https://forums.linuxmint.com/viewtopic.php?t=287207* https://askubuntu.com/questions/78174/play-sound-through-two-or-more-outputs-devices* https://community.linuxmint.com/tutorial/view/1240I have a HP ProBook 6560b.  Mint 19.2, Cinnamon x.x  When I connect headphones there is no sound out of the PC speakers.  I would like sound to come out of both the speakers and the headphones.  In Sound Settings I see either "Speakers Built in Audio" or "Headphones Built-in audio".== Disable sleep button on keyboard ==In /etc/systemd/logind.confput in the lines (or uncomment existing and change values on the right respectively) HandleSuspendKey=ignore HandleHibernateKey=ignoreYou'll have to reboot for the settings to be applied.== audible ping not working ==ping produces a bell by printing the ASCII bell char '\a', which is doing nothing, probably because the system beep is disabled.You can manually try to produce the bell with: echo -e "\a"n my case, audible bell was disabled because of xset -b in my ~/.xsession file and could be re-enabled with xset b.If you are using Terminator as terminal on Ubuntu 18.10, left-click the Terminator, select preferences/profiles, and there is the audible beep option.SOLUTION for Mint 19.2GNOME TERMINAL 3.28.1# click Edit -> Preferences# Under profiles click "unnamed" or your profile name# Under the "Text" tab at the bottom where the heading is "Sound" check "Terminal Bell"== mouse lag problem ==I've run into this before, and this fixed it for me. However, I've just changed this back to the original state, and it doesn't seem to be re-appearing. Perhaps it has been made moot by an upgrade -- but here's the process I used to fix it.If you are running into the problem now, and just want to test real quick if this fix works, you can do the temporary: sudo sh -c 'echo N > /sys/module/drm_kms_helper/parameters/poll'To keep this change, do: sudo sh -c 'echo "options drm_kms_helper poll=0" >> /etc/modprobe.d/local.conf' sudo update-initramfs -u== sudo rmmod intel_powerclamp ==sudo rmmod intel_powerclampkidle_inject processsudo rmmod intel_powerclamp 21273 root    -51  0      0      0      0 S  18.6  0.0  4:41.01 kidle_inject/6                                                                                                                                                            21267 root    -51  0      0      0      0 S  17.6  0.0  4:40.77 kidle_inject/0                                                                                                                                                            21268 root    -51  0      0      0      0 S  17.6  0.0  4:40.85 kidle_inject/1                                                                                                                                                            21270 root    -51  0      0      0      0 S  17.6  0.0  4:40.87 kidle_inject/3                                                                                                                                                            21271 root    -51  0      0      0      0 S  17.6  0.0  4:40.93 kidle_inject/4                                                                                                                                                            21274 root    -51  0      0      0      0 S  17.6  0.0  4:41.02 kidle_inject/7                                                                                                                                                            21269 root    -51  0      0      0      0 S  17.3  0.0  4:40.92 kidle_inject/2                                                                                                                                                            21272 root    -51  0      0      0      0 S  17.3  0.0  4:40.92 kidle_inject/5== Other Image Viewers (removed from page) ===== Image Viewer: Geeqie ==={{:Geeqie}}=== Image Viewer: viewnoir ==={{:Viewnoir}}== AMD ATI graphic card problem.  nomodeset == sudo systemctl stop lightdmconfig file: /home/username/xorg.conf.new /usr/share/X11/xorg.confg.d cat ~/.xsession-errors apt install --reinstall cinnamon cinnamon-session cinnamon-session-common"Xorg -configure" is broken since yearssystemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0 vi /etc/default/grub amdgpu.dc=0to your /etc/default/grub LINUX line after quiet splash. Then run sudo update-grub. nomodesetTo get xserver to run and get a graphical login  screen nomodesetTo get out of the login loop: sudo chown myuser:myuser /home/myuser/.Xauthority== x11vnc.service how to load new settings and restart on the server == # vi /lib/systemd/system/x11vnc.service # systemctl daemon-reload # systemctl restart x11vnc.service== OpenGL Version ==New game that requires OpenGL 3.3Linux Mint 19.2 comes with 3.1 $ glxinfo | grep "OpenGL version" OpenGL version string: 3.1 Mesa 20.0.8inxi -Fxzd provides many hardware informationspecific $ inxi -Gx Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Trinity [Radeon HD 7560D] vendor: Hewlett-Packard driver: radeon           v: kernel bus ID: 00:01.0           Display: x11 server: X.Org 1.19.6 driver: ati,radeon unloaded: fbdev,modesetting,vesa           resolution: 1366x768~60Hz, 1920x1080~60Hz           OpenGL: renderer: AMD ARUBA (DRM 2.50.0 / 4.15.0-54-generic LLVM 10.0.0) v: 4.3 Mesa 20.0.8 direct render: Yes== Desktop Clock ==already installed is xclock xclock -update 1 &detaches from terminal and displays clock with 1 second update== Disable transmission client without uninstalling it ==Simply way to stop the binary sudo chmod 000 /usr/bin/transmission-gtk== panel tooltips ==https://github.com/linuxmint/cinnamon/issues/4549Edit your cinnamon.css file of your theme, located in ~/.themes/your_theme/cinnamon/cinnamon.cssSearch (or create) this class : #Tooltip { background-color: rgba(0,0,0,0.0); color:  rgba(0,0,0,0.0); }(display: none; doesn't work). Now the tooltip is fully transparent, so unvisible.The theme could also be in /usr/share/themes. Just check in the themes settings to find the name of the theme you are using.https://forums.linuxmint.com/viewtopic.php?t=225478== x11vnc.service ==adding logging when manually starting  x11vnc -auth guess -forever -noxdamage -repeat -rfbauth /etc/x11vnc/vncpwd -rfbport 5900 -shared -oa /var/log/x11vnc.logsystemd [Service] Type=simple ExecStart=/usr/bin/x11vnc -auth guess -forever -noxdamage -repeat -rfbauth /etc/x11vnc/vncpwd -rfbport 5900 -shared== Scrollbar Width ==https://forums.linuxmint.com/viewtopic.php?p=2120587#p2120587
Bureaucrat, administrator
16,192
edits