LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

How to fix the Clock in Slackware

Posted 01-12-2016 at 09:14 AM by Ztcoracat

Many times I have tried fixing the clock in Slackware and for some reason timeconfig didn't work for me at all.

I found a way to fix the clock and it works everytime the clock is wrong.-

Open the terminal as root and run these commands one at a time.

Code:
# date -s "12:00:00"
Code:
ntpdate time.nist.gov
Finally to make the new set right time permanent also for the BIOS battery clock issue:
Code:
# hwclock
...
LQ Guru
Posted in Uncategorized
Views 1769 Comments 2 Ztcoracat is offline
Old

"dialog --file '&<file descriptor>' ..." and reset/restore stdin.

Posted 01-10-2016 at 11:10 PM by MadMaverick9 (MadMaverick9's Blog)
Updated 01-11-2016 at 11:39 PM by MadMaverick9

Code:
#!/bin/bash

STDINTTY=$(/usr/bin/readlink -n /dev/fd/0)

...

exec 3>&1
choice=$(/usr/bin/dialog --file '&4' <<__EOI__ 4<&0 0<${STDINTTY} 2>&1 1>&3
    --begin 6 10 --clear --backtitle "Main Menu" --title "MAIN MENU"
    --menu "Use [UP/DOWN] key to move" 32 96 25
    "alsamixer"         "soundcard mixer for ALSA soundcard driver, with ncurses
...
Member
Posted in Uncategorized
Views 1358 Comments 0 MadMaverick9 is offline
Old

Application-specific recent files pipe-menus for Openbox

Posted 01-10-2016 at 10:55 PM by the dsc (linux-related notes)
Updated 01-14-2016 at 03:32 AM by the dsc (improvement)

Here's an example for GIMP:

Code:
#!/bin/bash

printf "<?xml version=\"1.0\" encoding=\"UTF-8\"?><openbox_pipe_menu>"

# Instead of just "gimp" in the next line, it could even be a series of
# related programs, if you juggle between different applications with 
# these files. Such as "gimp\|inkscape\|krita\|mypaint"

grep -B 10 gimp ~/.local/share/recently-used.xbel | \ 
grep
...
Member
Posted in Uncategorized
Views 1520 Comments 0 the dsc is offline
Old

Smokeping in OpenBSD httpd

Posted 01-09-2016 at 06:28 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 01-09-2016 at 06:39 PM by rocket357

OpenBSD maintained a fork of apache httpd 1.3 for some time, but as the fork started to show its age, they dropped it in favor of nginx. A year later, a home-grown secure web server, called simply "httpd" was birthed from the relayd codebase. I just started messing with httpd recently, and I managed to get smokeping running beautifully in it. After a bit, I decided to start gathering latency stats on ipv6, so I added most of that today. I'm pretty happy with the results.
...
Member
Posted in Uncategorized
Views 1686 Comments 0 rocket357 is offline
Old

DebEX Barebone with Xfce 4.12.1 and kernel 4.3.3 Build 160109 based on Debian Stretch and Sid

Posted 01-09-2016 at 02:54 AM by exton (Exton's Blog)
Updated 01-09-2016 at 10:55 AM by exton (More INFO)

NEWS 160109 about DebEX Barebone
A new version of DebEX Barebone with Xfce 4.12.1 and kernel 4.3.0-5-exton (equivalent to Kernel.orgs stable kernel 4.3.3) is ready. I have installed Nvidias proprietary graphics driver 352.63. All packages have been updated to the latest version as of January 9, 2016. DebEX Barebone is now based on Debian testing Stretch (upcoming Debian 9) and Debian unstable Sid. I have now installed Google Chrome to make it possible to watch Netflix movies. No Linux...
ExTiX Admin
Views 1336 Comments 0 exton is offline

  



All times are GMT -5. The time now is 11:18 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration