Skip to content

Instantly share code, notes, and snippets.

@cho2
cho2 / h264-vivaldi-openSUSE.md
Last active September 27, 2018 07:23
Install Vivaldi h264 codecs on openSUSE, reference: https://gist.github.com/ruario/bec42d156d30affef655
$ wget https://gist.githubusercontent.com/ruario/bec42d156d30affef655/raw/c575d4e82ebdc6fa61adc9388d06718d6875a787/latest-proprietary-media.sh
$ chmod +x ./latest-proprietary-media.sh
$ ./latest-proprietary-media.sh
@cho2
cho2 / ostree-remote-rawhide
Last active August 29, 2018 15:20
ostree remote silverblue rawhide
$ ostree remote show-url fedora-rawhide
https://kojipkgs.fedoraproject.org/compose/ostree/rawhide
$ ostree remote show-url fedora-workstation
https://kojipkgs.fedoraproject.org/atomic/repo/
@cho2
cho2 / virtualbox-silverblue.md
Last active June 10, 2023 00:13
Virtualbox on Team Silverblue
  • Install virtualbox repo

    cd /etc/yum.repos.d/
    wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
    
  • Edit virtualbox repo

    nano /etc/yum.repos.d/virtualbox.repo
    
@cho2
cho2 / rebase
Created August 24, 2018 07:05
Rebase to Rawhide Atomic
ostree remote add fedora-rawhide https://kojipkgs.fedoraproject.org/compose/ostree/rawhide --set=gpg-verify=false
rpm-ostree rebase fedora-rawhide:fedora/rawhide/x86_64/workstation
@cho2
cho2 / ubuntu-bionic-repo-indonesia.md
Created July 29, 2018 16:10
Ubuntu Bionic Repo Indonesia

kambing ui

deb http://kambing.ui.ac.id/ubuntu/ bionic main restricted
deb http://kambing.ui.ac.id/ubuntu/ bionic-updates main restricted
deb http://kambing.ui.ac.id/ubuntu/ bionic universe
deb http://kambing.ui.ac.id/ubuntu/ bionic-updates universe
deb http://kambing.ui.ac.id/ubuntu/ bionic multiverse
deb http://kambing.ui.ac.id/ubuntu/ bionic-updates multiverse
deb http://kambing.ui.ac.id/ubuntu/ bionic-backports main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ bionic-security main restricted
@cho2
cho2 / flatpak-spesific-locale
Last active February 8, 2019 16:26
Running flatpak in spesific locale
flatpak run --env=LC_ALL=en_en.UTF-8 org.gnome.Recipes
flatpak run --env=LC_ALL=id_ID.UTF-8 org.gnome.Builder
@cho2
cho2 / org.gnome.Recipes.json
Created July 19, 2018 04:53
Build GNOME Recipes flatpak and running in ID locale (line 19)
{
"id": "org.gnome.Recipes",
"runtime": "org.gnome.Platform",
"runtime-version": "master",
"sdk": "org.gnome.Sdk",
"command": "gnome-recipes",
"tags": ["nightly"],
"desktop-file-name-prefix": "(Nightly) ",
"finish-args": [
"--share=ipc",
@cho2
cho2 / Adobe Reader
Last active April 20, 2023 09:00
Install Adobe Reader on openSUSE Leap 15.0. Adobe Reader is no longer supported by Adobe on Linux and accordingly it can no longer be supported by openSUSE. Using an outdated Adobe Reader version is a security risk. (https://en.opensuse.org/Adobe_Reader)
$ sudo zypper in libgdk_pixbuf-2_0-0-32bit libgtk-x11-2.0.so.0 libcanberra-gtk0-32bit libcanberra-gtk2-module-32bit libcanberra-gtk3-module-32bit libcanberra-gtk3-0-32bit firefox
$ wget ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i486linux_enu.bin
$ chmod u+x AdbeRdr9.5.5-1_i486linux_enu.bin
$ sudo ./AdbeRdr9.5.5-1_i486linux_enu.bin
$ cd /opt/Adobe/Reader9/bin
$ sudo nano acroread
### Fixed with https://gist.github.com/bohoomil/1439487/e013835b03eedf49a6bbb1bc6bad3beb78bc00e7 (see https://bugzilla.novell.com/show_bug.cgi?id=574580#c0 for details)
$ acroread
<?xml version="1.0"?>
<image schemaversion="6.5" name="openSUSE-Tumbleweed-GNOME-Live" displayname="openSUSE Tumbleweed GNOME Live">
<description type="system">
<author>openSUSE Project</author>
<contact>opensuse@opensuse.org</contact>
<specification>openSUSE Live system</specification>
</description>
<profiles>
<profile name="noEFI" description="no EFI for x86" import="true" arch="i686"/>
<profile name="EFI" description="EFI for x86_64" import="true" arch="x86_64"/>
<?xml version="1.0"?>
<image schemaversion="6.5" name="openSUSE-Leap-15.0-GNOME-Live" displayname="openSUSE Leap 15.0 GNOME Live">
<description type="system">
<author>openSUSE Project</author>
<contact>opensuse@opensuse.org</contact>
<specification>openSUSE Live system</specification>
</description>
<profiles>
<profile name="noEFI" description="no EFI for x86" import="true" arch="i686"/>
<profile name="EFI" description="EFI for x86_64" import="true" arch="x86_64"/>