DasGeek Community DasGeek Community Brain Dump Support Contact News Home
Tips & Tricks Github & Links Software Spotlight Photo Gallery FAQs Community Extras

openSUSE Tumbleweed - Cheat Sheet

These are the steps I take to setup OpenSUSE on a new machine. Please research each command if you don't understand what it's doing.

Enable Community Repository

[Open] Yast > Software Repositories > Add > Community

Install Software

This is the list of software I like to install with a fresh install. Remove any you don't want.

sudo zypper install -y libyubikey-tools yubikey-manager chromium yubikey-personalization-gui telegram-desktop fish steam kdenlive obs-studio inkscape tilix calibre krita flameshot guvcview darktable shotwell remmina thunderbird deja-dup vim nano mumble git x264 smplayer

Install Snaps

Snap Instruction For openSUSE Website

Pay attention to the differences between Leap and Tumbleweed during install. For Tumbleweed use:

Do not paste this command without reading the instructions on webpage [Example] sudo zypper addrepo --refresh https://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed snappy

Not the instructions which have Tumbleweed users run enable and start for the systemctl process of snapd two different ways for AppArmor

Install Codecs

zypper install libdvdcss2 ffmpeg lame gstreamer-plugins-libav gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-plugins-ugly-orig-addon vlc vlc-codecs flash-player flash-player-ppapi libxine2 libxine2-codecs

Tips & Tricks

Use built in KVM or Xen for virtual machines

No need to install Virtualbox for VM's or go through setup process for KVM. In OpenSUSE it's built into YAST.

[Open] Yast > Install Hypervisor and Tools > Choose Hypervisor Tool

Use Alien to repackage programs that are .deb files into RPM files.

Download alien: https://software.opensuse.org/package/alien

Download the deb file you want to convert and navigate to your downloads folder in via the terminal [Ex: cd ~/Downloads]

Run this command to start converting against the deb file. In this example we're running it against DasKeyboard software:

sudo alien -r -c -v das-keyboard-q_3.2.4.deb

Now install your new RPM file from the terminal (suggest using terminal over Yast for these):

sudo rpm -i das-keyboard-q-3.2.4-2.x86_64.rpm

Snapper Snapshot Home

By default the snapper BTRFS snapshots do not back-up your /home folder. You can add them using the command below:

snapper -c home create-config /home

Get Lightworks To Work In openSUSE Tumbleweed

This is all thanks to an amazing community member Mauro who figured this out for me.

  1. Install lightworks rpm. choose to break it by not installing dependencies.
  2. Download libcrypto rpm for fedora30: https://rpmfind.net/linux/fedora/linux/releases/30/Everything/x86_64/os/Packages/c/compat-openssl10-1.0.2o-5.fc30.x86_64.rpm
  3. Extract rpm to your desktop
  4. Copy libraries : sudo cp ~/Desktop/usr/lib64/* /usr/lib64
  5. Download cg.toolkit: http://developer.download.nvidia.com/cg/Cg_3.1/Cg-3.1_April2012_x86_64.rpm
  6. Install the cg toolkit .rpm
  7. Enjoy

Notes:
CG toolkit download webpage:
https://developer.nvidia.com/cg-toolkit
Sources/References found:
https://medium.com/@egee_irl/how-to-install-lightworks-on-opensuse-6700467d3d2a

Use TLP For Battery Saver

TLP will help save battery life. Install TLP and then enable it to get more usage out of your laptop while on battery:

sudo tlp start

PIA VPN using (OpenVPN)

PIA VPN has not made the GUI work with openSUSE as of writing this tip and trick. You can use OpenVPN instead to connect to PIA with the steps below:

  1. Make sure openVPN is installed.
  2. Create a PIA folder and install the configuration files.
  3. Go into folder cd Documents/PIA:

    $ sudo wget https://www.privateinternetaccess.com/openvpn/openvpn.zip

  4. Go to network connections > Import VPN Connection
  5. In Connection settings: Add Username and Password
  6. Click Advanced on VPN(OpenVPN) tab
  7. Use custom gateway port 1198 and check box
  8. Use LZO compression - adaptive
  9. Set virtual device type TUN
  10. Set virtual device name - check box automatic
  11. > Security tab > Cipher AES 128 CBC and HMAC Authentication SHA-1
  12. Click ok and apply

Note: May need to open ports in openSUSE firewall..

TCP Ports: 443, 502, 501, 110, 80, 8888
UDP Ports: 1194, 1197, 1198, 8080, 9201, 53

Become a Patron

openSUSE Tumbleweed - Cheat Sheet

These are the steps I take to setup OpenSUSE on a new machine. Please research each command if you don't understand what it's doing.

Enable Community Repository

[Open] Yast > Software Repositories > Add > Community

Install Software

This is the list of software I like to install with a fresh install. Remove any you don't want.

sudo zypper install -y libyubikey-tools yubikey-manager chromium yubikey-personalization-gui telegram-desktop fish steam kdenlive obs-studio inkscape tilix calibre krita flameshot guvcview darktable shotwell remmina thunderbird deja-dup vim nano mumble git x264 smplayer

Install Snaps

Snap Instruction For openSUSE Website

Pay attention to the differences between Leap and Tumbleweed during install. For Tumbleweed use:

Do not paste this command without reading the instructions on webpage [Example] sudo zypper addrepo --refresh https://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed snappy

Not the instructions which have Tumbleweed users run enable and start for the systemctl process of snapd two different ways for AppArmor

Install Codecs

zypper install libdvdcss2 ffmpeg lame gstreamer-plugins-libav gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-plugins-ugly-orig-addon vlc vlc-codecs flash-player flash-player-ppapi libxine2 libxine2-codecs

Tips & Tricks

Use built in KVM or Xen for virtual machines

No need to install Virtualbox for VM's or go through setup process for KVM. In OpenSUSE it's built into YAST.

[Open] Yast > Install Hypervisor and Tools > Choose Hypervisor Tool

Use Alien to repackage programs that are .deb files into RPM files.

Download alien: https://software.opensuse.org/package/alien

Download the deb file you want to convert and navigate to your downloads folder in via the terminal [Ex: cd ~/Downloads]

Run this command to start converting against the deb file. In this example we're running it against DasKeyboard software:

sudo alien -r -c -v das-keyboard-q_3.2.4.deb

Now install your new RPM file from the terminal (suggest using terminal over Yast for these):

sudo rpm -i das-keyboard-q-3.2.4-2.x86_64.rpm

Snapper Snapshot Home

By default the snapper BTRFS snapshots do not back-up your /home folder. You can add them using the command below:

snapper -c home create-config /home

Get Lightworks To Work In openSUSE Tumbleweed

This is all thanks to an amazing community member Mauro who figured this out for me.

  1. Install lightworks rpm. choose to break it by not installing dependencies.
  2. Download libcrypto rpm for fedora30: https://rpmfind.net/linux/fedora/linux/releases/30/Everything/x86_64/os/Packages/c/compat-openssl10-1.0.2o-5.fc30.x86_64.rpm
  3. Extract rpm to your desktop
  4. Copy libraries : sudo cp ~/Desktop/usr/lib64/* /usr/lib64
  5. Download cg.toolkit: http://developer.download.nvidia.com/cg/Cg_3.1/Cg-3.1_April2012_x86_64.rpm
  6. Install the cg toolkit .rpm
  7. Enjoy

Notes:
CG toolkit download webpage:
https://developer.nvidia.com/cg-toolkit
Sources/References found:
https://medium.com/@egee_irl/how-to-install-lightworks-on-opensuse-6700467d3d2a

Use TLP For Battery Saver

TLP will help save battery life. Install TLP and then enable it to get more usage out of your laptop while on battery:

sudo tlp start

PIA VPN using (OpenVPN)

PIA VPN has not made the GUI work with openSUSE as of writing this tip and trick. You can use OpenVPN instead to connect to PIA with the steps below:

  1. Make sure openVPN is installed.
  2. Create a PIA folder and install the configuration files.
  3. Go into folder cd Documents/PIA:

    $ sudo wget https://www.privateinternetaccess.com/openvpn/openvpn.zip

  4. Go to network connections > Import VPN Connection
  5. In Connection settings: Add Username and Password
  6. Click Advanced on VPN(OpenVPN) tab
  7. Use custom gateway port 1198 and check box
  8. Use LZO compression - adaptive
  9. Set virtual device type TUN
  10. Set virtual device name - check box automatic
  11. > Security tab > Cipher AES 128 CBC and HMAC Authentication SHA-1
  12. Click ok and apply

Note: May need to open ports in openSUSE firewall..

TCP Ports: 443, 502, 501, 110, 80, 8888
UDP Ports: 1194, 1197, 1198, 8080, 9201, 53

Become a Patron