To convert a UNIX datetime value to date/time string in OpenOffice Calc or Excel use this formula (assumes your datetime stamp is in the A1 cell of the current spreadsheet):
=A1/86400+DATEVALUE(“1/1/1970”)
If you want to test the above you may use the following simple C program:
=======
#include <stdio.h> #include <stdlib.h> […]
Yep, that happens from time to time – you start XFCE and you notice that all the window decorations are lost and your windows look like this:
Luckily fixing this is pretty easy. To get back your window decorations simply delete all the files in ~/.cache/sessions! 🙂 There is also directories in there – […]
The command to remove a stuck print job in Linux (CUPS):
$ lprm
===============
To list HP printers visible across the network:
$ hp-probe
===============
HP_LaserJet_P2055dn Paused – “/usr/lib/cups/backend/hp failed”
SOLUTION: Printer state must be set to “Enabled”
# sudo system-config-printer
To check your Linux distribution version (i.e. release)…
—————————-
On Ubuntu/Debian:
cat /etc/lsb-release
or
cat /etc/debian_version
—————————-
On RedHat/Fedora:
$ cat /etc/fedora-release
—————————-
On Slackware:
cat /etc/slackware-version
—————————-
In a Linux multi-boot system it often happens that one distro shows correct system time and another does not. The problem is in how the startup scripts interpret the hardware (BIOS) clock when setting the OS time (the so called System Clock).
If you want to learn more about this (and fix this problem PROPERLY!) […]
It may sound like a dumb question, since X-CD-Roast is a GUI tool for writing files and images, but it’s logic is so user-unfriendly and unnatural that in reality it’s not at all simple to create a CD or DVD from ISO using this app.
Ok, so how do you write an ISO image […]
PROBLEM: On certain Linux distributions removable media (USB flash drives, CD’s,…) are auto-mounted by default and all users can read and write to them (if media is writeable of course). On others, inserting a removeable media results in an error message similar to Failed to mount “200GB Volume”, e.g. an error message from your file-manager […]
There may be several possible causes why one would not be able to access their Windows hard disk or windows partition. If we assume that obvious human errors are out of the question (e.g. permissions errors due user not having write permissions to the directory of the mount or user not specifying the ‘-o w’ […]
Problem:
Depending on your Linux distribution, the text displayed by the ‘man’ command (or any other text piped into ‘less’ for that matter) may stay on your screen upon exit from man/less or be cleared from your screen upon exit. Many people find it useful to have the man page text stay on the screen, […]
QUESTION: Where is my wine’s C: drive?
SHORT ANSWER: /home/$USER/.wine/drive_c
-
Categories
- Android Development
- Bash
- C programming
- dpkg/apt-get
- drupal
- Emacs
- Git
- Java
- Linux administration
- Linux device drivers
- Linux Gaming
- Linux kernel
- Linux Networking
- Linux on Windows
- Linux printing
- Linux sound and ALSA
- Package Managers
- Programming
- RPM
- Shell and environment
- Tips and tricks
- Uncategorized
- VirtualBox
- Virtualization
- web development
- wine
- WMaker
- Wordpress Tips
- X Window System
- XFCE
-
Articles
- August 2020
- August 2019
- May 2019
- July 2017
- February 2017
- January 2017
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- April 2016
- March 2016
- December 2015
- November 2015
- September 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- October 2014
- February 2014
- January 2014
- November 2013
- October 2013
- June 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- October 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- September 2011
- August 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
-
Calendar
December 2023 M T W T F S S « Aug 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -
Meta
Cloud
audio bash boot compile C programming cups drupal emacs etc Fedora git grep how to httpd init kernel libc linux linux partition localtime login make mount mp3 mysql networking oracle package managers password phpMyAdmin programming rpm shell sql vbox version control system virtual box vm web server wordpress www xargs xfce xwin yum