Thursday, February 7, 2019

ThermalTake Tt esports Commander Mouse intermittently stops working in Linux Mint

So far nothing worked yet but I am making all attempt to document the things I have tried.
sudo sh -c "echo -1 > /sys/module/usbcore/parameters/autosuspend"

sudo apt-get install powernap
sudo powernap-action --disable usb_autosuspend
------
cat /etc/X11/xorg.conf
Section "InputClass"
    Identifier "Mouse Remap"
    MatchProduct "TT Esport Commander Mouse"
    MatchDevicePath "/dev/input/event*"
    Option "ButtonMapping" "1 2 3 4 5 6 7 8 9 10 11 12 0 0 0"
EndSection

Madcatz Rat7 stops working intermittently in Linux Mint

This method works for sure for Linux Mint

sudo mkdir /etc/X11/xorg.conf.d
sudo vi /etc/X11/xorg.conf.d/910-rat.conf

File includes:

Section "InputClass"
Identifier "R.A.T."
MatchProduct "R.A.T.7|R.A.T.9"
MatchDevicePath "/dev/input/event*"
Option "Buttons" "17"
Option "ButtonMapping" "1 2 3 4 5 0 0 8 9 7 6 12 0 0 0 16 17"
Option "AutoReleaseButtons" "13 14 15"
Option "ZAxisMapping" "4 5 6 7"
EndSection
sudo apt-get update
sudo apt-get upgrade
reboot

NOTE  Try these method: https://github.com/MayeulC/Saitek

Someone else suggested a simpler configuration and I have tried it.  It works fine.
 Section "InputClass"
        Identifier "R.A.T."
        MatchProduct "R.A.T.7|R.A.T.9"
        MatchDevicePath "/dev/input/event*"
Option    "ButtonMapping" "1 2 3 4 5 6 7 8 9 0 0 0 0 0"
EndSection

MOUSE SETTING
As for the single left click registered as a double click, there is a small middle button to control the speed of the mouse movement, click backward until the red light on the left side has only one lit bar

Also in combination with the mouse and trackpad setting: turn down the sensitivity of the double-click.

And the double-click timeout setting to very long.

It is still not perfect but tolerable.

Photoshop Installation on Linux Mint

There are many in between steps that are trial and error.  Look at logs and error message to figure out!
sudo apt-get install wine-stable ttf-mscorefonts-installer
Then run the following to create your own .wine folder.
winecfg
sudo apt install wine32 
 
Use PlayonLinux from the repository NOT from flatpak to install Photoshop CS6
Note: wine version 3.4 is called from the playonlinux script. 

Before accepting the EULA agreement, turn off the network to avoid creating an Adobe ID process
ifconfig
sudo ifconfig <interface> down

Saturday, January 5, 2019

Disown process

If you want to leave a remote terminal and still want the process to continue to run in the background then disown then exit

disown -a && exit

Create Massive Folder Structure

mkdir -p folder/{1..100}/{one,two,three}

This will create a folder structure with 1 through 100 then the children of one two and three inside of it.  Noticed that the sub folder one two and three has no space separating them except the comma.