By Fekete Zoltán , 17 February, 2017

If you want to display or hide xconsole while running an xdm session, then:

1. look for Xsetup_0 file in your system

2. Find this line (or similar to this from NetBSD), and comment/uncomment regarding your needs:

xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail

 

Tags

By Fekete Zoltán , 9 February, 2017

If you have an operating ACPI subsystem, give this a try to set your screen brightness:

1. Check the actual value:

# sysctl -a | grep bright

2. Set the relevant sysctl parameter. Mine looks like this (default value is 100):

# sysctl -w hw.acpi.acpiout1.brightness=110

 

By Fekete Zoltán , 31 January, 2017

Quote from stackoverflow.com:

# Add the remote, call it "upstream":

git remote add upstream https://github.com/whoever/whatever.git

# Fetch all the branches of that remote into remote-tracking branches,
# such as upstream/master:

git fetch upstream

# Make sure that you're on your master branch:

git checkout master

# Rewrite your master branch so that any commits of yours that
# aren't already in upstream/master are replayed on top of that
# other branch:

git rebase upstream/master

Tags

By Fekete Zoltán , 25 January, 2017
Sometimes it happens that the pkgin tool gets behave odd. It does not install any new package, and does not know about installed packages at all. Here is how to solve.

Tags

By Fekete Zoltán , 23 January, 2017

1. Download the CA certificate in PEM format

If  it was not available in PEM, then determine which format it is (here: DER), then convert it:

$ openssl x509 -in ca-cerificate-file.crt -inform DER -out ca-cerificate-file.pem -outform PEM

2. Check the fingerprint

$ openssl x509 -noout -fingerprint -in ca-certificate-file

3. Copy the CA cert frile into /etc/openssl/certs folder 

Then cd there.