Qubes OS – Add programs to available list

https://www.qubes-os.org/doc/managing-appvm-shortcuts/ https://www.qubes-os.org/doc/signal/ https://support.signal.org/hc/en-us/articles/216839277-Where-is-Signal-Desktop-on-my-computer- Managing shortcuts to applications in AppVMs For ease of use Qubes aggregates shortcuts to applications that are installed in AppVMs and shows them in one “start menu” in dom0. Clicking on such shortcut runs the assigned application in its AppVM. To make newly installed applications show up in the menu, use the […]

HowTo : Determine and Change File Character Encoding | Linux Commands

How to detect and change a file’s character encoding from the command line in Linux. Examples of converting text between: CP1251 (Windows-1251, Cyrillic), UTF-8, ISO-8859-1 and ASCII. Source: HowTo : Determine and Change File Character Encoding | Linux Commands   From the following article you’ll learn how to detect a file’s encoding from the command […]

Oracle OEL 3.8 VM Appliance for eBS R12.2.4 – Update to mount cdrom and use to install vbox guest additions and folder shares

Step 1:  Load Virtual Box Guest Additions CD image into machine’s cd drive. This is done by selecting the title bar of the running server and from the top menu, select “Devices –> Insert Guest Additions CD Image…” Step 2:  Determine device name on system of the cd-rom drive. This is done with the command: […]

Fix “Unable to watch path” error in Atom on Linux.

TypeError: Unable to watch path If you get following error with a big traceback right after Atom starts: TypeError: Unable to watch path you have to increase number of watched files by inotify. For testing if this is the reason for this error you can issue sudo sysctl fs.inotify.max_user_watches=32768 and restart Atom. If Atom now […]

Setup VNC Server on Oracle Linux (OEL) 7.2

Source for all of this here. Configuring a VNC Server To configure a VNC server: Install the tigervnc-server package: # yum install tigervnc-server Create the VNC environment for the VNC users. Each VNC desktop on the system runs a VNC server as a particular user. This user must be able to log in to the […]

How do I boot into the console and then launch the Ubuntu desktop from it?

At the Ubuntu login page I have to hit Ctrl+Alt+F1 to be able to login as an user using the command line. But how do I get to the command line first and then start the Ubuntu desktop from it? Source: How do I boot into the console and then launch the Ubuntu desktop from […]

Ubuntu – how to mount encrypted, LVM based hdd from trial DVD

sudo mkdir /yod #creates a mount point sudo cryptsetup luksOpen /dev/sda5 yod #this will ask for decryption password, and create the mapper object sudo fdisk -l #shows that there is a device named: /dev/mapper/yod sudo pvs #shows that VG=ubuntu-vg sudo lvdisplay /dev/ubuntu-vg #shows that LV Name: /dev/ubuntu-vg/root sudo mount /dev/ubuntu-vg/root /yod verify: cd /yod ls […]

Fix VGA resolution on second monitor in Ubuntu

Attributed Source here.     The native resolution for the LCD is 1920×1080 here is the output from xrandr: $ xrandr Screen 0: minimum 320 x 200, current 1280 x 720, maximum 4096 x 4096 LVDS1 connected 1280×720+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1280×720 60.0*+ 800×600 60.3 56.2 640×480 […]

OEL Linux: Setting timezone and synchronizing time with NTP | Abdussamad.com

Learn how to set the correct timezone and synchronize time with NTP servers on your CentOS box. Setting the timezone Setting the timezone on CentOS or Redhat Enterprise Linux (RHEL) is easy. Login as root either locally or remotely via SSH. See what the current timezone is: date You should see output like this: Wed […]

goto in bash | Insignificant Bits

#!/bin/bash # include this boilerplate function jumpto { label=$1 cmd=$(sed -n “/$label:/{:a;n;p;ba};” $0 | grep -v ‘:$’) eval “$cmd” exit } start=${1:-“start”} jumpto $start start: # your script goes here… x=100 jumpto foo mid: x=101 echo “This is not printed!” foo: x=${x:-10} echo x is $x Source: goto in bash | Insignificant Bits Twitter Pinterest […]