Post tagged: linux

flatpak

Flatpak is a utility for software deployment and package management for Linux. It is advertised as offering a sandbox environment in which users can run application software in isolation from the rest of the system. Flatpak was developed as part of the freedesktop.org project and was originally called xdg-app …

Linux Icons

A quick note on how to add icons to menus in a Linux desktop.

  1. Create the icon image in: /usr/share/pixmaps.
    • png and svg (and maybe others) are supported.
    • 24x24 seems to be a good size for menus.
  2. You need to create a .desktop file in /usr/share/applications …

Enable syslog with void

In void Linux, the default is without logging. Most cases it is OK for desktop use.

If you want to enable syslog service in void, you need to install:

socklog-void

Also to let your user have access to the logs, use:

usermod -aG socklog <your-username>

Because I like to have …

Linux HDMI hotplug

The point of this article is to document I workaround that I came up with to handle a HDMI KVM switch.

What happens is that if my Linux PC is turned on while the KVM switch is selecting the other PC, it fails to initialize the display, so when you …

PulseAudio hints and tricks

PulseAudio is nowadays the default sound system in many Linux distributions. It lets you do a number of useful things.

PulseAudio comes with a handy command line utility pacmd to do a number of things.

pacmd commands

  • pacmd exit
  • pacmd help
  • pacmd list-(modules|sinks|sources|clients|cards|samples)
  • pacmd …

Using XScreenSaver Hacks with mate-screensaver

Here we explain how to use XScreenSaver EXCELLENT screensaver hack collection with the MATE screensaver applet.

  • Install xscreensaver and mate-screensaver
  • On my linux distribution this creates the following directories:
  • /usr/libexec/xscreensaver: contains the screensaver hacks executables
  • /usr/libexec/mate-screensaver : contains the mate-screensaver executables
  • /usr/share/applications/screensavers : containes the …

Installing Void Linux

I made the switch to void linux. Except for compatibility issues around glibc, it works quite well. Most compatibility I have worked around with a combination of Flatpaks, chroots and namespaces.

The high lights of void linux:

  • musl build - which is very lightweigth
  • Does not depend on systemd …

Docker on Alpine Linux

Alpine Linux Quick installation

See wiki For Alpine Linux > 3.8

  1. Un-comment community repo from /etc/apk/repositories
  2. apk add docker
  3. rc-update add docker boot
  4. service docker start

Optional: (docker compose)

apk add docker-compose

Note 2021-03-21: When I tested this, the daemon.json did not work! Your mileage may vary …

Alpine on OTC

These are just random thoughts nothing really was implemented.

Alpine Linux image

  • preparation: jq and other deps to /apks/x86_64

  • /etc/local.d/ cloud-init-lite

  • if /etc/network/intefaces exists we abort

  • apk add --force-non-repository /path oniguruma,jq .. restore /etc/apk/world
  • udhcpc -b -p /var/run/udhcpc.eth0.pid -i …

3 Open Source Password Managers

Keep your data and accounts safe by using a secure open source password manager to store unique, complex passwords.

Maintaining complex, unique passwords for each site and service you use is among the most common pieces of advice that security professionals provide to the public every year.

Yet no matter …

How to encrypt linux partitions with LUKS

There are plenty of reasons why people would need to encrypt a partition. Whether they're rooted it in privacy, security, or confidentiality, setting up a basic encrypted partition on a Linux system is fairly easy. This is especially true when using LUKS, since its functionality is built directly into the …

using cachefiles on an Linux NFS share

If you often mount and access a remote NFS share on your system, you will probably want to know how to improve NFS file access performance. One possibility is using file caching. In Linux, there is a caching filesystem called FS-Cache which enables file caching for network file systems such …

Rollback with YUM History Command

From 2daygeek.com

Server patching is one of the important task of Linux system administrator to make the system more stable and better performance. All the vendors used to release security/vulnerabilities patches very often, the affected package must be updated in order to limit any potential security risks.

Yum …

Centos Install notes

Set-up local.repo

yum installs:

  • nfs-utils autofs
  • @x11
  • @xfce
  • wget
  • dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-serif-fonts
  • xorg-x11-fonts-{Type1,misc,75dpi,100dpi}
  • bitmap-console-fonts bitmap-fixed-fonts bitmap-fonts-compat bitmap-lucida-typewriter-fonts
  • ucs-miscfixed-fonts urw-fonts
  • open-sans-fonts
  • webcore-fonts webcore-fonts-vista
  • liberation-mono-fonts liberation-sans-fonts liberation-serif-fonts
  • bitstream-vera-sans-fonts bitstream-vera-serif-fonts
  • gnu-free-{mono,sans,serif}-fonts
  • tk
  • firefox
  • mplayer ffmpeg alsa-utils
  • xsensors xfce4-sensors-plugin
  • keepassx
  • git

Building RPM packages with …

Telegram

Telegram is a messenger designed to overcome the limitations of other messengers like WhatsApp or similar ones. It is different and better than other messengers on more than one level. A few of the important features that make it stand out among other messengers are:

  • Open API. This enables the …

CyberWorld 2017.1

Development - travis cordova build - travis ionic build

  • owx
  • common
    • muninlite (can it support plugins?)
    • flock, pwgen, ifstat
  • ow1
    • diags&tools: usbutils, netstat-nat
    • sniffer: tcpdump[-mini] 317K/617K, libpcap 191K
  • owX

    • FW/NAT
    • DNSMASQ: DHCP + DNS
    • NTP server
    • Dynamic DNS updating (mushu porker)
    • NFS
    • IPv6 tunnel
    • Provisioning server: (PXE, TFTP, NFS …