Building Deb package

In you build directory: ~/build/[Project] Directory structure: ~/build/PROJECT_1.0-1 ~/build/PROJECT_1.0-1/DEBIAN ~/build/PROJECT_1.0-1/usr/local/bin/ ~/build/PROJECT_1.0-1/etc/sudoers.d/ ~/build/PROJECT_1.0-1/usr/local/man Add the files you need The deb-build file ~/build/PROJECT_1.0-1/DEBIAN/control Package: PROJECTVersion: 1.0-1Section: utilsPriority: optionalArchitecture: amd64Depends: libc6 (>= 2.15), libext2fs2 (>= 1.37)Suggests: Recommends:Provides: Maintainer: Thor Grotle thor@itso.dkDescription: Descriptions of project Build deb file with the command: dpkg-deb –build ~/build/PROJECT_1.0-1

PipeWire on Ubuntu, PopOS, ElementaryOS 6

What is is PipeWire, and what can it do for me? PipeWire is a new multimedia framework that aims for a better audio/video management in Linux. This can be compared to how audio/video devices and multimedia files and devices is handled in MacOS, as this just works, and is stable. So what can it do …

Continue reading ‘PipeWire on Ubuntu, PopOS, ElementaryOS 6’ »

Virtualization with GPU Passthrough

Reasons why Technologies UEFI BIos settings Hardware Grub VFIO settings Creating VM Kernel module fix for RX5700XT Fixing issues and mitigation Automatic start of power control VM from sleep, cold boot. Enabling hotkeys for VM start, Display toggle. Configs files Reasons: As a Linux enthusiast, I want to run Linux, Period! But I also want …

Continue reading ‘Virtualization with GPU Passthrough’ »

Persistent network tunnel with autossh

Purpose an explanation: This guide will help setup a reverse tunnel from one host behind a firewall, where you can not open a port to. With a little help from autossh connection will be persistant, even if connection breaks, autossh will make sure tunnel is reconnected.You will be able to connect to the normally unreachable …

Continue reading ‘Persistent network tunnel with autossh’ »

Ubuntu – Select Primary network interface

Sometimes you want to have a default primary interface or network configured. Most modern Linux distributions, like ubuntu today uses Network-Manager. You can control that from the terminal using either nmcli og nm-tui To display current connections configured, with priority: nmcli -f NAME,UUID,AUTOCONNECT,AUTOCONNECT-PRIORITY c To display the primary route to the internet route -n You …

Continue reading ‘Ubuntu – Select Primary network interface’ »

Ansible Windows client + chocolatey

set-executionpolicy remotesigned winrm enumerate winrm/config/listener @powershell -NoProfile -ExecutionPolicy Bypass -Command “iex ((new-object net.webclient).DownloadString(‘https://github.com/ansible/ansible/raw/devel/examples/scripts/ConfigureRemotingForAnsible.ps1’))” @”%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe” -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command “iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1’))” && SET “PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin” @”%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe” -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command “iex ((New-Object System.Net.WebClient).DownloadString(‘http://darkrouter/prepwin.ps1’))”   Suggest packages: teamviewer skype picasa adobereader libreoffice firefox javaruntime spotify vlc 7zip k-litecodecpackfull wget malwarebytes thunderbird itunes windirstat

Adding launcher/menu shortcut to Linux

Sometimes you want a shortcut in/on the desktop launcher of your DE. This is pretty simple, create a .desktop file with entry as shown below. Remember, you must have the [Desktop Entry], Name, Exec, Type. If it is a script with some kind of interaction, select Terminal=True. It can also be a good idea to …

Continue reading ‘Adding launcher/menu shortcut to Linux’ »

Convert files to Lightworks from Gnome Files

So working in lightworks can be a pain, if you use the wrong file format as inputfiles. Lightworks has a transcoding tool to import files, but this sometimes fails. To eliviate this problem, I have made a script, where you can right click on a media file, and it converts the file to more Lightworks digestable …

Continue reading ‘Convert files to Lightworks from Gnome Files’ »