пятница, 21 ноября 2014 г.

LibreOffice: default page A4

Creating a new default template

If you want every new document to have user-defined settings, you must create a new template and set it as default.
  1. Create a new document, add or modify styles, and change other settings as you desire.
  2. From the File menu, choose Templates -> Save.
  3. Give the template a name.
  4. Select a category in the Categories list (for example, My Templates).
  5. Click OK to save the template.
  6. Choose File -> Templates -> Organize.
  7. In the Categories list, double-click on the My Templates folder.
  8. Right-click on the template you want to use and choose Set as Default Template from the menu.
  9. Click the Close button.

Do this for Writer & Calc

среда, 19 ноября 2014 г.

пятница, 7 ноября 2014 г.

AMD APU CPU: No sensors found

AMD APU CPU:
  1. dmidecode
    # dmidecode -t processor| grep -i version
     Version: AMD A8-5600K APU with Radeon(tm) HD Graphics
  2. cpuinfo
    # cat /proc/cpuinfo | grep name| head -1
    model name : AMD A8-5600K APU with Radeon(tm) HD Graphics 
# sensors-detect
...
Sorry, no sensors were detected.
...

Solution:
  • Add to /etc/modprobe.d/lm_sensors.conf
    options it87 force_id=0x8728
  • Load module it87
    modprobe it87
$ sensors
it8728-isa-0290
Adapter: ISA adapter
in0:          +1.04 V  ..... 
in1:          +1.66 V  ..... 
in2:          +2.00 V  ..... 
+3.3V:        +4.01 V  ..... 
in4:          +1.19 V  ..... 
in5:          +2.23 V  ..... 
in6:          +2.23 V  ..... 
3VSB:         +3.31 V  ..... 
Vbat:         +3.24 V  
fan1:        2014 RPM  ..... 
fan2:           0 RPM  ..... 
fan4:        1403 RPM  ..... 
temp1:        +27.0°C  ..... 
temp2:        +29.0°C  ..... 
temp3:       -128.0°C  ..... 
intrusion0:  OK

Profit!


FROM

вторник, 4 ноября 2014 г.

Cloning Windows Server 2008 R2: Use Sysprep (no more NewSID)

  1. Run Sysprep
    (on Windows Server 2008 this is located in:
    c:\Windows\System32\Sysprep\Sysprep.exe)
  2. Ensure System Out-of-Box Experience (OOBE) is selected
  3. Tick the Generalize option (this resets the SID)
  4. Select Shutdown from the Shutdown Options.
  5. Once the machine has shutdown, take your image and you are good to go!


from

четверг, 30 октября 2014 г.

ROOT LG L90

  • Format sdcard using into ext2.
    mkfs.ext2 /dev/sdX1
  • Download update.zip
    Move it to your ext2 sdcard

  • Install Android SDK or
    • for Debian Wheezy:
      Add to /etc/apt/sources.list
      deb http://ftp.debian.org/debian wheezy-backports main 
      Update & install android-tools-adb
      sudo apt-get update && sudo apt-get install android-tools-adb
  • Prepare your phone.
    Turn on USB debugging:
    Settings –> General –> Developer options –> USB debugging.

    If you don’t see it:
    Settings –> General –> About phone –> Common –> Software info
    – click 5-10 times on Build number.
  • Connect phone & run Terminal:
    adb devices
    adb shell
    reboot recovery
  • Disconnect phone, plug in sdcard
  • In recovery choose "apply update from external sdcard" – update.zip
    Choose "reboot system now"

    The phone will reboot.


FROM
Profit!