Skip to content

Instantly share code, notes, and snippets.

View N0rbert's full-sized avatar

N0rbert

View GitHub Profile
@eylenburg
eylenburg / msoffice_in_linux.md
Last active November 24, 2026 17:20
Installing Microsoft Office in Linux

How to install Microsoft Office in any Linux distribution

There are multiple options how to install MS Office on Linux.

VM-based - Integrate Windows apps running in a Windows virtual machine as native-looking in Linux

You can either run a normal Windows virtual machine (e.g. in virt-manager or virtualbox or gnome-boxes) to run any Windows apps, including Microsoft Office, but there is further integration into the Linux host system.

Some other apps - such as LinOffice, Winapps, Winboat or Cassowary - try to integrate Windows apps, including Office, into the Linux desktop. They create launchers for MS Office apps that you can start from Linux and then, using freerdp in the background, Office apps run in normal app window integrated into the Linux desktop, they have access to the files on your Linux /home, share the clipboard

@chessmango
chessmango / README.md
Last active May 9, 2024 10:13
Simple Bash add-apt-repository drop-in

Things are awkward in the apt world while apt-key is deprecated and things like Launchpad and general PPA usage are in flux.

This snippet attempts to replicate add-apt-repository functionality for sanity, probably quite badly. There's no error checking or anything advanced, but at least the script is easy to understand.

Syntax: [sudo] addaptrepo.sh <repo-string> <gpg-key-fingerprint>

Then follow up with [sudo] apt-get update. I'm not making that call for you :P

You can find the gpg key fingerprint for a Launchpad repo by expanding Technical details about this PPA.

@luigifab
luigifab / appearance_about_logo.gtk3.patch
Last active October 25, 2026 10:47
gtk3-classic+ (GTK 3.24.52) & gtk4-classic (GTK 4.24.1) & mate-notification (1.26) - for Debian Testing and Ubuntu
# GtkAboutDialog: fix license width (same as gtk4) - made by Claude Opus
# https://github.com/GNOME/gtk/blob/3.24.52/gtk/ui/gtkaboutdialog.ui
--- a/gtk/ui/gtkaboutdialog.ui
+++ b/gtk/ui/gtkaboutdialog.ui
@@ -185,7 +185,7 @@
<child>
<object class="GtkScrolledWindow" id="scrolledwindow2">
<property name="visible">1</property>
- <property name="hscrollbar-policy">never</property>
+ <property name="hscrollbar-policy">automatic</property>
@N0rbert
N0rbert / Dockerfile
Last active June 4, 2020 18:46
Bash scripts for compilation and packaging of `gtk3-mushrooms` on Ubuntu 18.04 LTS, 19.04 and 19.10 (pre-beta). Based on https://gist.github.com/lah7/a4dec89e61ee2875406731b3cd0ae90d .
# Optional Dockerfile for compilation of gtk3-mushrooms on Ubuntu.
# Change codename to necessary version (this file is for 20.04 LTS *focal*)
#
FROM ubuntu:focal
ENV DEBIAN_FRONTEND noninteractive
RUN echo "deb-src http://archive.ubuntu.com/ubuntu/ focal main multiverse multiverse restricted" >> /etc/apt/sources.list
RUN echo "deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main multiverse multiverse restricted" >> /etc/apt/sources.list
@zorn-v
zorn-v / build.sh
Last active August 24, 2026 13:06
xkb switch on release deb build
#!/bin/bash
rm -rf build
mkdir -p build
cd build
sudo apt install devscripts -y
sudo mk-build-deps -t'apt-get -y' -ir xserver-xorg-core
apt source xserver-xorg-core