Search

atkdinosaurus

Change Adblock Plus key binding (ctrl+shift+v) in Firefox

Open about:config and edit extensions.adblockplus.sidebar_key

Advertisements

Can not use mate desktop with x2go on Ubuntu 16.04

Add the following to $HOME/.profile:

export GSETTINGS_SCHEMA_DIR=/usr/share/mate:/usr/local/share:/usr/share
export XDG_DATA_DIRS=/usr/share/mate:/usr/local/share:/usr/share

Can not use x2go single application mode on Ubuntu 16.04

# systemctl stop x2goserver

Add 'X2GO_NXAGENT_DEFAULT_OPTIONS=" -extension BIG-REQUESTS"' to /etc/x2go/x2goagent.options

# systemctl start x2goserver

Edit:

The error message for this problem was a bit vague:

Error: Failure reading from the peer proxy.
Error: Connection with remote peer broken.
Error: Please check the state of your network and retry.

Linux devices and drivers

How to list the devices and kernel modules your system uses:

$ lspci -vnnk | grep -e ]: -e driver

Problem with vlc and Intel integrated GPU

If you experience a problem with vlc so that the video is always on top of any other program, this xorg config snippet will help.

Add the following to /usr/share/X11/xorg.conf.d/20-intel.conf:

Section "Extensions"
    Option "XVideo" "Disable"
EndSection

How to list DNS servers that network-manager uses? (Ubuntu 14.04/16.04)

On Ubuntu 14.04:

$ nmcli dev list | grep -i dns

On Ubuntu 16.04, first list all the connections:

$ nmcli con show
NAME                UUID                                  TYPE             DEVICE  
docker0             19d065fc-b97f-4421-b839-127d95c07c51  bridge           docker0 

Then list the settings of one connection:

$ nmcli con show docker0 | grep -i dns

Hillary Clinton wasn’t charged with mishandling classified information. Trump might appoint someone convicted of it. | washingtonpost.com

Former CIA director David Petraeus pleaded guilty to mishandling classified information, and the FBI views his case as worse than Clinton’s.

Source: Hillary Clinton wasn’t charged with mishandling classified information. Trump might appoint someone convicted of it. – The Washington Post

Stevie Wonder: Voting For Trump Is Like Asking Me To Drive | huffingtonpost.com

Jesus, take the wheel.

Source: Stevie Wonder: Voting For Trump Is Like Asking Me To Drive | Huffington Post

How to create a bootable UEFI/GPT Windows 10 USB stick in Ubuntu ?

$ sudo -i
# id
uid=0(root) gid=0(root) groups=0(root)

Unmount all the partitions that you have mounted off the USB stick.

# umount /dev/sdxn

# export USB_DEVICE=/dev/sdx
# export USB_PARTITION=/dev/sdxn
# export USB_MOUNTPOINT=/mnt/sdxn
# export WIN10_MOUNTPOINT=/mnt/win10-mount

The next three commands will erase your ${USB_DEVICE} and create the EFI system partition:

# sgdisk --zap-all ${USB_DEVICE}
# sgdisk --new=1:0:0 --typecode=1:ef00 ${USB_DEVICE}
# mkfs.vfat -F32 -n EFI ${USB_PARTITION}

Mount the USB device partition at ${USB_MOUNTPOINT}:

# mkdir ${USB_MOUNTPOINT}
# mount -t vfat -o uid=1000,gid=1000,umask=022 ${USB_PARTITION} ${USB_MOUNTPOINT}

Mount the Windows 10 ISO image at ${WIN10_MOUNTPOINT}:

# mkdir -p ${USB_MOUNTPOINT}/boot ${USB_MOUNTPOINT}/EFI/BOOT ${WIN10_MOUNTPOINT}
# mount -t udf -o loop,ro windows10.iso ${WIN10_MOUNTPOINT}

Copy the Windows 10 ISO contents to ${USB_MOUNTPOINT}:

# cp -Rv ${WIN10_MOUNTPOINT}/* ${USB_MOUNTPOINT}

# sync
# cd /
# umount ${USB_MOUNTPOINT} ${WIN10_MOUNTPOINT}

Blog at WordPress.com.

Up ↑