Ubuntu/Mint/Debian: Install current TeXstudio

one can include the ppa from opensuse for the most current texstudio version:

  1. add the ppa’s key to your keychain:
    $ wget -nv http://download.opensuse.org/repositories/home:/jsundermeyer/xUbuntu_16.04/Release.key -O Release.key
    $ sudo apt-key add - < Release.key
  2. add the ppa to your sources list folder:
    $ sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/jsundermeyer/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/opensuse-texstudio.list"
    $ sudo apt-get update
    $ sudo apt-get install texstudio

sources:

Install firefox nightly on ubuntu/mint

for the nightly builds of firefox do the following:

  1. just include the following ppa:$ sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
  2. update and install the package, called firefox-trunk

source: support.mozilla.org


for the firefox-next install see: https://itgrenade.wordpress.com/2016/07/11/install-firefox-beta-on-mint-ubuntu-debian-etc/

raspi: install/configure owncloud

installation process as in this link. just change one step: download the newest owncloud client from their website.

to reset the admin password: sudo -u www-data php /var/www/owncloud/occ user:resetpassword admin

background knowledge: nginx is the webserver which forwards incoming traffic to the php backend by fastcgi (php5-fpm) .

Mint: install and configure MATLAB

installation:

  1. installation
    1. download matlab iso files
    2. mount first cd
    3. run the installer (install.sh or similar) from within $HOME: $ cd $HOME; /path/to/cd1/install.sh
    4. choose the install path: /opt/MATLAB
    5. when asked for second cd one has to unmount cd1 and mount cd2 to the same path
  2. put matlab in your $PATH:
    1. usually this is done in the installation process, but just in case
    2. $ sudo ln -s /opt/MATLAB/R2017a/bin/matlab /usr/local/bin/matlab
  3. get the desktop file for matlab (somewhere in the opt/matlab folder?)
    1. $ cat /usr/share/app-install/desktop/matlab-support:matlab.desktop
      [Desktop Entry]
      X-AppInstall-Package=matlab-support
      X-AppInstall-Popcon=4
      X-AppInstall-Section=multiverse
      
      Version=1.0
      Type=Application
      Terminal=false
      Exec=matlab -desktop
      Name=MATLAB
      Icon=/usr/share/icons/matlab.png
      Categories=Development;Math;Science
      Comment=Scientific computing environment
      StartupNotify=true
      StartupWMClass=com-mathworks-util-PostVMInit
      
      X-Ubuntu-Gettext-Domain=app-install-data
      
      
  4. for updating matlab
    1. install as in step 1
    2. change the link path from step 2
    3. done
  5. change the default start of matlab by creating a custom startup.m:
    1. print the path inside of the matlab gui: >> path
    2. choose a good path for your file (usually: /opt/MATLAB/R2017a/toolbox/local/startup.m )
    3. insert some matlab code. example:
      fname='/some/path';
      addpath(genpath(fname));
      cd(fname);
      clear fname;