Friday, February 21, 2014

Linux: Acer Aspire V3 ekrāna spilgtuma regulēšana

Dots:
Acer Aspire V3 771G laptops ar Debian Wheezy x64.

Problēma:
Ar Fn+Left/Right neregulējas ekrāna spilgtums. Parādās logs, kurā it kā tam vajadzētu notikt, bet nekā...

Risinājums:
  1. Rediģējam grub konfigurāciju: sudo gedit /etc/default/grub :
  2. Atrodam rindiņu ar GRUB_CMDLINE_LINUX_DEFAULT="quiet splash". Nomainam to uz GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor.
  3. Konsolē palaižam sudo update-grub
  4. Pārstartējam datoriņu.

Windows 8 hot keys


  •  Windows key Shows the New Start screen (Metro).
  •  Win + type keyword Instant application search (same as in Windows 7).
  •  Win + D Standard Windows desktop. Also minimizes/restores all open windows in desktop mode.
  •  Win + Q Shows all installed apps.
  •  Win + W Instant search for settings.
  •  Win + F Instant search for files.
  •  Win + I Settings sidebar (control panel, network, volume, brightness, notifications, and more).
  •  Win + P Shows multi-monitor options, also useful for connecting an external monitor or projector.
  •  Win + X Power user shortcut menu (Device Manager, Control Panel, Command Prompt, Power Options, etc.).
  •  Win + Z Shows App Bar in Metro applications.
  •  Win + . (period) Snaps the current Metro app to the right side of the screen. Do it twice and it will snap to the left.
  •  Win + . (period) + Shift Snaps the current Metro app to the left side of the screen.
  •  Win + J Switches focus between snapped Metro apps.
  •  Win + Page Up / Down Moves full-screen Metro app to secondary monitor.
  •  Win + Left / Right arrow Moves and snaps desktop applications in that direction, or to a different monitor.
  •  Win + Tab Switches between open applications. Similar to using the left-upper hot corner with a mouse.
  •  Win + L Locks Windows.

Friday, February 14, 2014

Galaxy S3: nevar pieslēgt pie datora

Visu laiku strādāja USB pieslēgšana pie datora, bet pēkšņi vairs nekā. Gan uz windows 7, gan uz windows 8.1.
Protams, ka var ņemt atmiņas karti ārā un kopēt pa taisno uz tās, bet tas apnīk. Kā arī, nevari telefona failus pārlūkot no datora.
Tad nu risinam šo mistēriju:
  • Ejam uz telefona "keypad" un ievadam sekojošu kodu:
  • *#7284# (tas is samsung slepenais kods lai atvērtu USB konfigurācijas izvēlni)
  • Service mode izvēlnes abās izvēlnēs izvēlamies USB
  • Spiežam SAVE and RESET

Sunday, February 09, 2014

Debian: Iznācis Debeian Wheezy atjauninājums uz 7.4

Ir iznācis atjauninājums Debian Wheezy sistēmai - 7.4.
No komandrindas atjauninājumu var paveikt pavisam vienkārši:
1) Nosakam tekošo versiju
lsb_release -a
2) Atjauninam sistēmu:
sudo aptitude update
sudo aptitude dist_upgrade


Monday, February 03, 2014

Lokālais Apache un permalinki

Kādu laiku atpakaļ jau biju ievietojis mazu rakstiņu par Apache un permalinkiem.
Šoreiz ar # a2enmod rewrite vien bija par maz, permalinki nesāka strādāt.
Risinājums vienkāršs:
Atveram failu "/etc/apache2/sites-enabled/000-default", zem Directory /var/www/ atrodam rindu AllowOverride None un nomainam uz AllowOverride All.
Pēc tam restartējam apache un viss ir bumbās.