Openbox: Quick Keyboard Shortcuts Internet Mail Run Command

Problem: If you want to work faster with your Openbox Desktop you should use Keyboard Shortcuts for often used Programs like Internet, Mail and Run Command box.

Solution:  edit as user $nano /home/user/.config/openbox/rc.xml insert

#Fullscreen CTRL+F11
<keybind key="C-F11">
      <action name="ToggleFullscreen"/>
</keybind>
#RunCommand with gmrun on X CTRL+R
<keybind key="C-R">
      <action name="Execute">
        <execute>gmrun</execute>
      </action>
</keybind>
#Internet Key with chromium CTRL+I
<keybind key="C-i">
      <action name="Execute">
        <execute>chromium-browser</execute>
      </action>
</keybind>
#Internet Mail with icedove CTRL+M
<keybind key="C-M">
      <action name="Execute">
        <execute>icedove</execute>
      </action>
</keybind>

save and relogin into openbox..enjoy economy working..

Remark: Its powerful on small Netbooks or Laptops cause you don’t need to use tricky Touchpads!

Linux Bug: Disable Framebuffer Nvidia free Driver Nouveau for hanging xserver-xorg (for Servers)

Problem: Nouveau the free Version of the Nvidia Display Driver crash if you switch to Console or kill the xserver-xorg.Its enabled by default inside the KERNEL!! this WAS NOT DEFAULT at last DECADES!! (DEBIAN 3.0-5.0 never used it!, cause bugs and hanging Servers)

Solution:

echo 'blacklist nouveau' &gt; /etc/modprobe.d/blacklist-nouveau.conf

then edit with $sudo nano /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="noquiet nouveau.nomodeset=0"     #on Ubuntu set "nomodeset noplymouth"
...

update grub Loader with
sudo update-grub2

REMARK: THIS MUST BE USED AT SERVERS FOR STABILITY!! REMOVE / BLACKLIST ALL UNEEDED DRIVER MODULES LIKE SOUND!
(DISABLE ALWAYS UNNEEDED CHIPS AT YOUR BIOS AGAINST PROBLEMS AND ENERGY COSTS)

Linux Bug: SATA failed command: WRITE FPDMA QUEUED ata3.00 ncq freeze hang

Problem: If you copy or install Files from Disk to Disk somtimes the fresh installed Debian Ubuntu Linux in Textmode (server minimal setup) current kernel freezes or lost connect to the Disks. Take a CLOSER LOOK the Error often affects ALL DISKS !! If only one Disk  affected replace the Drive to SATA600

Hardware:  Asus M4n75TD NEW with Phenom 1090T X6 and 8GB Ram and

/dev/sda:
Model=Hitachi, FwRev=GM4OA52A, SerialNo=GEA530RF1RDDGA
Config={ HardSect NotMFM HdSw&gt;15uSec Fixed DTR&gt;10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=56
BuffType=DualPortCache, BuffSize=15118kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=976773168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:  pio0 pio1 pio2 pio3 pio4
DMA modes:  mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: unknown:  ATA/ATAPI-2,3,4,5,6,7

/dev/sdb:
Model=ST3320620AS, FwRev=3.AAE, SerialNo=9QF8EZ82
Config={ HardSect NotMFM HdSw&gt;15uSec Fixed DTR&gt;10Mbs RotSpdTol&gt;.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=16384kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=625142448
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:  pio0 pio1 pio2 pio3 pio4
DMA modes:  mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=no WriteCache=enabled
Drive conforms to: Unspecified:  ATA/ATAPI-1,2,3,4,5,6,7

Errors seen on syslog:

...
Mar 17 20:31:44 phenom kernel: [   45.026839] ata1.00: status: { DRDY }
Mar 17 20:31:44 phenom kernel: [   45.026887] ata1.00: failed command: WRITE FPDMA QUEUED
Mar 17 20:31:44 phenom kernel: [   45.026934] ata1.00: cmd 61/28:20:18:9c:4c/00:00:1d:00:00/40 tag 4 ncq 20480 out
Mar 17 20:31:44 phenom kernel: [   45.027042] ata1.00: status: { DRDY }
Mar 17 20:31:44 phenom kernel: [   45.027087] ata1.00: failed command: WRITE FPDMA QUEUED
Mar 17 20:31:44 phenom kernel: [   45.027134] ata1.00: cmd 61/18:28:d8:d0:4c/00:00:1d:00:00/40 tag 5 ncq 12288 out

Solution Steps:

  • Check SATA Cable and reboot and check
  • Replug all Cables and reboot and check
  • Change the SATA PORTS! Sata1 to Sata2 for Disk0
  • Change the SATA PORTS! Sata3 to Sata4 for Disk1
  • Often the Harddisks are NOT damaged!!
  • Looks like a failed Hardware Control by the SATA 600 Controllers with SATA 300/150
  • take new SATA 600 Drives and recheck

Remark: Windows Systems have same Error without Logs, the Systems seems to hang for seconds!

 

Linux: Translate Boot message of cryptsetup “Enter passphrase to unlock the disk”

Problem: If you setup a full encrypted Laptop with the Linux Installer the first Boot Message of cryptsetup is always in English Speech shown “Enter passphrase to unlock the disk” /dev/sda

Solution:

  • edit the
    /usr/share/initramfs-tools/scripts/local-top/cryptroot
    ,with nano, find and change the text to your Language
  • edit the
    /lib/cryptsetup/cryptdisks.functions
    ,with nano ,find and change the text to your Language
  • update the initramfs of the current kernel with
    update-initramfs -u -k all
  • reboot and test the translated login