“No package … is available” when doing “yum install”

If after doing yum install you get the error: no package ... is available while you’re absolutely sure that the package you want to install is available in connected repositories, chances are that it is excluded in /etc/yum.conf.

My error was no package ftp is available. This happened because DirectAdmin excluded everything *ftp* presumably to avoid conflicts with the FTP daemon it takes care of, and ftp, the standard unix FTP client, hadn’t been initially installed on the server.

Posted in Solutions | Tagged , | Leave a comment

“Trim” counterpart in Illustrator

In Illustrator, if you need to crop the canvas (page) just like the “Trim” function in Photoshop would do, use Object > Artboards > Fit to Artwork Bounds.

Posted in How to’s | Tagged | Leave a comment

“Steam is temporarily unavailable” problem

Recently I installed Kaspersky Internet Security 2010 onto my Windows 7 x64, and it replaced the built-in Windows firewall (there was an option to do so while installing, and I deliberately chose it). Everything was fine except the next day I wasn’t able to launch Steam, which complained with an error “Steam is temporarily unavailable” while trying to update.

None of the solutions suggested by the Google search worked for me (including repairing and reinstalling Steam, just deleting some .blob files, etc), so having considered the installation of Kaspersky as the only possible influence factor, I checked Windows firewall configuration in the Control Panel, deleted Steam outta there and re-added it as a safe application.

This solved the problem. (It wasn’t too obvious: all other programs were working fine, Windows did not complain and Steam was a “trusted” program in built-in firewall settings).

Posted in Solutions | Tagged , , | 1 Comment

Select input language by Caps Lock in Mac OS X

(Эта статья также доступна на русском языке).
Also: Switch input language by Caps Lock in Windows.

!!! This method is not yet compatible with macOS 10.12 Sierra !!!

* * *

I found a new way to bind input language (input source) switch to the Caps Lock key in Mac OS X. The main advantage of this method is absense of lag, so input source changes almost instantly when you hit the Caps Lock key. You will admire this if you’re a fast typer. Continue reading

Posted in How to’s | Tagged , , | 23 Comments

Переключение языка ввода по Caps Lock в Mac OS X

(This article is as well available in English).

!!! Это метод пока не работает в macOS 10.12 Sierra !!!

Для пришедших из поисковых систем по схожим запросам:

  • Если вы не знаете, как вообще переключается раскладка/язык в Mac OS X, попробуйте сочетание Cmd+пробел (то есть ⌘+Пробел).
    Имейте в виду: 1) поставить сочетание «как в Windows», то есть Ctrl+Shift или Alt+Shift не получится. 2) Если вас раздражает местоположение запятой и точки в маковской русской раскладке, попробуйте раскладку «Русская – ПК» (Системные настройки → Клавиатура → Источник ввода).
  • Как переключать по Caps Lock в Windows.

* * *

Я нашел новый способ «повесить» переключение языка (раскладки) на клавишу Caps Lock в Mac OS X. Главное (для меня) преимущество этого способа в минимальной задержке, то есть раскладка переключается практически моментально после нажатия Caps Lock. Это важно, если вы привыкли набирать быстро.

Continue reading

Posted in How to’s, Посты на русском | Tagged , , , | 38 Comments

“Recording device error” of Skype for Mac

If you’re using a USB sound card with a headset, the solution is simple as it can be: reconnect your USB sound card.

Posted in Solutions | Tagged , | Leave a comment

Restoring Windows on a PC after installing Bootcamp

After installing Bootcamp 3.0 on a PC running Windows Vista (I was experimenting with Apple Aluminium Keyboard drivers), the system started BSOD’ing on startup with an error related to AppleMnt.sys. Continue reading

Posted in Solutions | Tagged , , | Leave a comment

AppleScript to mount/unmount a drive

On my Mac Pro I have two internal hard drives I rarely use. Some times they “sleep” and while doing so, every file opening dialog, search in Spotlight or search in Dictionary might wake them up and that takes some time. I could, of course, disable sleeping in power settings, but then the drives would be unreasonably wasting power all the time, so I decided to write an AppleScript to mount or unmount a drive depending on it’s state. Continue reading

Posted in Programming, Releases | Tagged , , | 44 Comments

Mouse cursor skipping (jumping) bug in Mac OS X

* * *

SmoothMouse, the long-awaited fix for mouse problems in OS X, has been released.

Further discussion about pointer jumping bug continues in the SmoothMouse Forum.

* * *

* * *

SmoothMouse, the long-awaited fix for mouse problems in OS X, has been released.

Further discussion about pointer jumping bug continues in the SmoothMouse Forum.

* * *

Posted in Bugs | Tagged , , | 384 Comments

Permission error of AppleScript in iTunes

I was getting a permission error (code -54) when trying to set an id3 tag of a track using AppleScript. The solution was to add a delay between each operation: delay 1

Note that the track will remain “locked” until you restart iTunes.

Posted in Programming | Tagged , , | Leave a comment