пятница, 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