My Wiki!

OpenSuSe Postinstall

1. Useful info

2. ibus-unikey

works now with current TW. Add input “vietnamese (unikey)” form menu

3. Fcitx unikey

  zypper in fcitx fcitx-m17n fcitx-table-other fcitx-unikey
  zypper in fcitx-config-gtk3

3.1 Configure

Open ~/.profile (if there is no such file, create one) and add

export INPUT_METHOD="fcitx"

to this file.

Restart.

3.2 Customize Fcitx

fcitx-configtool is a gtk based tool for change Fcitx configuration. It has gtk2 and gtk3 support. And for gtk2 version, it will be single instance application if compiled against libunique.

Search and use fcitx software

3.3 Install input method

If not installed above:

  zypper in fcitx-unikey

Restart fcitx

  fcitx -r

4. LAMP Server

PHP 7

Install following:

  php7-zip php7-gd
  
  systemctl restart apache2.service

PHP 5

Php 7 is the default, we install Php 5 ←– dokuwiki works with php 7 now

Install php5 (1click) from here: https://software.opensuse.org/package/php5 . This will add repo Leap 42.3.

Then follow the 2 links above.

Lock PHP7

Preventing php7 when zypper up.

zypper addlock php7

5. User public_html

localhost:/home/dang # cp -p /etc/apache2/mod_userdir.conf /etc/apache2/conf.d/

Uncomment

UserDir public_html

Add AllowOverride for user's .htaccess:

    <Directory /home/*/public_html>
            #AllowOverride FileInfo AuthConfig Limit Indexes
            AllowOverride All

6. Font Config

7. Multimedia

7.1 Chromecast

8. Nvidia

9. Oracle Java

Install rpm but alternative failed. So…

10005  sudo update-alternatives --install "/usr/bin/java" "java" "/usr/java/latest/bin/java" 1
10006  sudo update-alternatives --set java /usr/java/latest/bin/java
10007  sudo update-alternatives --install "/usr/bin/java" "java" "/usr/java/latest/bin/javac" 1 <---- oopss error
10010  sudo alternatives --display java
10015  sudo update-alternatives --remove java /usr/java/latest/bin/javac    <---- fixed
10016  sudo update-alternatives --config java

10018  sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/java/latest/bin/javac" 1
10019  sudo update-alternatives --set javac /usr/java/latest/bin/javac

9.1 Browser plugin

* https://en.opensuse.org/SDB:Installing_Java#Install_Oracle_Java_SE

  /usr/sbin/update-alternatives --install /usr/lib64/browser-plugins/libjavaplugin.so libjavaplugin.so.x86_64 /usr/java/latest/jre/lib/amd64/libnpjp2.so 3 --slave /usr/bin/javaws javaws /usr/java/latest/jre/bin/javaws --slave /usr/share/man/man1/javaws.1 javaws.1 /usr/java/latest/man/man1/javaws.1 

9.2 Script (not tried)

10. Skype

11. Printer

  • Cups. Open with firefox. Chrome not working
  localhost:631
  

Download driver ppd files if not found in the list.

Headline


Navigation