Difference between revisions of "Talk:Mint Linux Distribution Reference"
(→GTK+ File Chooser Dialog: new section) |
(→Scrollbar Width: new section) |
||
(23 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | == includes == | ||
+ | |||
+ | * [[Linux Shell Environment Path]] | ||
+ | |||
== network applet == | == network applet == | ||
Line 163: | Line 167: | ||
== GTK+ File Chooser Dialog == | == GTK+ File Chooser Dialog == | ||
+ | |||
+ | [[GTK+ File Chooser Dialog]] | ||
GIMP (GTK+ 2) | GIMP (GTK+ 2) | ||
Line 173: | Line 179: | ||
* ref: https://superuser.com/questions/944119/replace-gtk-file-dialog-with-alternative | * ref: https://superuser.com/questions/944119/replace-gtk-file-dialog-with-alternative | ||
+ | |||
+ | GtkFileChooser interface | ||
+ | GtkFileChooserDialog | ||
+ | |||
+ | vi /etc/gtk-3.0/settings.ini | ||
+ | |||
+ | /home/nicolep/.config/gtk-2.0/gtkfilechooser.ini | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | As 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=false | ||
+ | |||
+ | If you want "/" to appear as first view, you need to chdir / before starting the application. | ||
+ | |||
+ | === startup mode === | ||
+ | |||
+ | In ~/.config/gtk-2.0/gtkfilechooser.ini | ||
+ | |||
+ | change | ||
+ | |||
+ | StartupMode=recent | ||
+ | |||
+ | to | ||
+ | |||
+ | 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 | ||
+ | paprefs | ||
+ | Select the tab furthest on the right "Simultaneous Output" | ||
+ | check [x] Add virtual output device for simultaneous output on all local sound cards | ||
+ | |||
+ | Restart 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 Preferences | ||
+ | Menu -> Sound & Video -> PulseAudio Volume Control | ||
+ | |||
+ | IT 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/1240 | ||
+ | |||
+ | I 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.conf | ||
+ | |||
+ | put in the lines (or uncomment existing and change values on the right respectively) | ||
+ | |||
+ | HandleSuspendKey=ignore | ||
+ | HandleHibernateKey=ignore | ||
+ | |||
+ | You'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.2 | ||
+ | |||
+ | GNOME 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_powerclamp | ||
+ | |||
+ | kidle_inject process | ||
+ | |||
+ | sudo 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 lightdm | ||
+ | |||
+ | config 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 years | ||
+ | |||
+ | systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0 | ||
+ | |||
+ | vi /etc/default/grub | ||
+ | amdgpu.dc=0 | ||
+ | |||
+ | to your /etc/default/grub LINUX line after quiet splash. Then run sudo update-grub. | ||
+ | nomodeset | ||
+ | |||
+ | To get xserver to run and get a graphical login screen | ||
+ | nomodeset | ||
+ | |||
+ | To 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.3 | ||
+ | |||
+ | Linux Mint 19.2 comes with 3.1 | ||
+ | $ glxinfo | grep "OpenGL version" | ||
+ | OpenGL version string: 3.1 Mesa 20.0.8 | ||
+ | |||
+ | inxi -Fxzd provides many hardware information | ||
+ | |||
+ | specific | ||
+ | |||
+ | $ 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/4549 | ||
+ | |||
+ | Edit your cinnamon.css file of your theme, located in ~/.themes/your_theme/cinnamon/cinnamon.css | ||
+ | |||
+ | Search (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.log | ||
+ | |||
+ | systemd | ||
+ | |||
+ | [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 |
Latest revision as of 17:12, 8 May 2023
Contents
- 1 includes
- 2 network applet
- 3 Determine length of longest line in a text file
- 4 HOWTO: Setup VNC Server (x11vnc) on Linux Mint 18
- 5 Search for Mint Linux
- 6 Sound Out of Left Speaker Only - Sound Blaster and Mint 18
- 7 doublecommander
- 8 Display applet in Settings causes system freeze
- 9 GTK+ File Chooser Dialog
- 10 Enable Output to Both Headphones and Sound Card System Speakers
- 11 Disable sleep button on keyboard
- 12 audible ping not working
- 13 mouse lag problem
- 14 sudo rmmod intel_powerclamp
- 15 Other Image Viewers (removed from page)
- 16 AMD ATI graphic card problem. nomodeset
- 17 x11vnc.service how to load new settings and restart on the server
- 18 OpenGL Version
- 19 Desktop Clock
- 20 Disable transmission client without uninstalling it
- 21 panel tooltips
- 22 x11vnc.service
- 23 Scrollbar Width
includes
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
Display applet in Settings causes system freeze
Display applet in Settings causes system freeze
Workaround:
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-intel
And then reboot the computer. Solution 2 - Recommended for people with old Intel GPUs (i965, i915, i8xx..etc)
Disable VSync:
echo CLUTTER_VBLANK=none >> ~/.profile
And 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
GIMP (GTK+ 2)
GTK+ file chooser
For 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.
GtkFileChooser interface GtkFileChooserDialog
vi /etc/gtk-3.0/settings.ini
/home/nicolep/.config/gtk-2.0/gtkfilechooser.ini
As 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=false
If you want "/" to appear as first view, you need to chdir / before starting the application.
startup mode
In ~/.config/gtk-2.0/gtkfilechooser.ini
change
StartupMode=recent
to
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 paprefs
Select the tab furthest on the right "Simultaneous Output" check [x] Add virtual output device for simultaneous output on all local sound cards
Restart 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 Preferences Menu -> Sound & Video -> PulseAudio Volume Control
IT 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/1240
I 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.conf
put in the lines (or uncomment existing and change values on the right respectively)
HandleSuspendKey=ignore HandleHibernateKey=ignore
You'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.2
GNOME 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_powerclamp
kidle_inject process
sudo 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
Perhaps the most useful image viewer and also in the Mint repository. Highly recommended.
sudo apt install geeqie
When you zoom in on an image the window does not automatically enlarge, however, it will zoom an image automatically to fit the window. It has many image zoom options and zoom memory. You can also hide any part of the interface such as the files view on the left. This is a better image viewer than the classic ACDSee 2.21 (not a linux software but runs well under wine.) Geeqie is a 5 star image viewer as of version 1.2.2
Image Viewer: viewnoir
Has some good features such as the ability to control the action of the mouse wheel (scroll though images in a directory or zoom level). However, it is not in the default repository. Use this if you don't care for Geeqie, however, I still prefer Geeqie.
sudo add-apt-repository ppa:skellat/flow1 sudo apt-get update apt-get install viewnior
Missing feature: when you zoom in on an image the window does not automatically enlarge.
viewnoir can edit and save which I don't need in an "image viewer."
You can remove the repository without uninstalling viewnoir (I don't necessarily want other software from skellat, but if you do, then leave it.
add-apt-repository --remove ppa:skellat/flow1
If you want to delete a PPA repository as well as all packages installed/upgraded from the PPA, you can use "ppa-purge" command, simultaneously this downgrading installed packages to the version from official mint base. But to keep viewnoir after removing the repository do not "ppa-purge."
AMD ATI graphic card problem. nomodeset
sudo systemctl stop lightdm
config 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 years
systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
vi /etc/default/grub amdgpu.dc=0
to your /etc/default/grub LINUX line after quiet splash. Then run sudo update-grub.
nomodeset
To get xserver to run and get a graphical login screen
nomodeset
To 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.3
Linux Mint 19.2 comes with 3.1
$ glxinfo | grep "OpenGL version" OpenGL version string: 3.1 Mesa 20.0.8
inxi -Fxzd provides many hardware information
specific
$ 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/4549
Edit your cinnamon.css file of your theme, located in ~/.themes/your_theme/cinnamon/cinnamon.css
Search (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.log
systemd
[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