понедельник, 12 августа 2019 г.

Mint reminder and stickynotes

sudo apt-add-repository ppa:umang/indicator-stickynotes
sudo apt update
sudo apt install indicator-stickynotes
Alt+F2  - indicator-stickynotes



indicator-stickynotes
sudo apt install alarm-clock-applet
Alt+F2  - alarm-clock-applet

вторник, 16 апреля 2019 г.

NFS share directory

On server (192.168.1.2)

apt-get install nfs-kernel-server nfs-common

/etc/exports
/data 192.168.1.3(rw,insecure,nohide,all_squash,anonuid=1000,anongid=1000,no_subtree_check)

/data - shared directory (server)
192.168.1.3 - remote server (client)

sudo /etc/init.d/nfs-kernel-server restart
or refresh config
sudo exportfs -a


On client (192.168.1.3)

apt-get install nfs-common

sudo mount -t nfs -O uid=1000,iocharset=utf-8 192.168.1.2:/data /Nfs_Mount

/Nfs_Mount - mount point for shared directory

пятница, 12 апреля 2019 г.

Mint postinstall

Appearance

Menu -> Settings -> Appearance ->
Style = Mint-X-Teal
Icons = Mint-X-Aqua
Fonts = Ubuntu (Light) 11-12, Monospace 10-11. Disable anti-aliasing, Hinting Full, 96 DPI



Apt

/etc/apt/sources.list.d/official-package-repositories.list - change ftp.byfly.by/pub/ubuntu

apt install aptitude mc ssh x2x libreoffice xscreensaver

apt install ttf-mscorefonts-installer



Chrome

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'

sudo apt-get update

sudo apt-get install google-chrome-stable



Java

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install maven gradle oracle-java8-installer oracle-java8-set-default

add to /etc/environment or /etc/profile

JAVA_HOME=/usr/lib/jvm/java-8-oracle

reload in terminal: source /etc/environment




Idea

echo "fs.inotify.max_user_watches = 524288" >  /etc/sysctl.d/90-idea.conf

sysctl -p --system


Maven issue "Loading archetype list..." : http://mldav.blogspot.com.by/2015/12/intellij-idea-loading-archetype-list.html

Build,Execution,Deployment → Build Tools → Maven → Importing need to set "VM options for importer = -Xmx1024m"