January 10, 2014

 

no alt-tab in ubuntu 12.04

is that SO F%%G HARD to make QA for such thing as Ubuntu 12.04 LTS?! migrating today from 10.04 to 12.04 LTS. Problem: Alt-Tab does not work any more out of the box in gnome classic. edit: bug in compiz: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/971051

Labels: , ,

April 13, 2012

 

solution: if linux (ubuntU?) freezes in boot (splash or log)

edit /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="acpi_skip_timer_override"


and possibly disable acpi 2.0 (not all acpi, 2.0 only) in BIOS

This problem seems to be frequent on AMD (I have AMD Phenom X6 1090T).

Bug exists at least in Ubuntu since 2008: bug on launchpad. Problem started to appear in 10.04, but exists even in Ubuntu 11.11. The bug on launchpad had been discussed in MANY comments from 2008 to May 2011, until in July 2011 it was AUTO CLOSED with resulution Confirmed->WON'T FIX. IDIOTS?

Labels: , , , , ,

January 12, 2012

 

Ubuntu hanging during boot problem fix

This problem of freezing of ubuntu during boot (while udev is fighting for acpi control, actually) can be cured very easy: turn off ACPI 2.0 in BIOS.

Labels: , , , , ,

January 28, 2011

 

android dev: '?????? no permissions' trying to deploy to samsung galaxy tab

--
Update: this works until device disconnect only. After reconnect IDE could hang up :-)
Update: added string for HTC Desire Z
--
Ubuntu 10.04/android sdk 7(9? where the f%%k is sdk version? no version in readme! opensource sometimes is such an opensource.)

When you see such f%%% sh%%%:
./adb devices
List of devices attached
???????????? no permissions


To be able to deploy to samsung galaxy tab do the following:
1) create new file (51 is just some number below 99):
sudo vi /etc/udev/rules.d/51-android.rules
and put there:
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"

04e8 is samsung id
18d1 is for HTC Desire Z
2) restart adb daemon:
sudo ./adb kill-server
sudo ./adb devices
you now should see this:
* daemon not running. starting it now on port NNNN *
* daemon started successfully *
List of devices attached
10001c18352d device

If above still doesn't help add more detailed description for usb device in 51-android.rules like this

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c91", MODE="0666"

here 0c91 is the HTC Desire Z product id. You can watch these details using 'lsusb' command:

Bus 002 Device 011: ID 0bb4:0c91 High Tech Computer Corp.

Labels: , , , , , , , , , ,

October 4, 2010

 

Gnome: How to make AltGr (right alt) key behave like normal Alt

How to make AltGr (right alt) key behave like normal Alt in Ubuntu/Gnome:
Keyboard > Layout tab > Options... > Key to choose 3rd level > remove tip from "Right Alt".

By the way, what [the hell] does mean "add the standard behavior to Menu key"? Ubuntu help says nothing (what else did you expect from opensource?), google search gives nothing helpful.

Labels: , , , , , ,

August 18, 2010

 

samsung printer drivers in ubuntu

install package splix
then search for printer, select default
go printing!

Labels: ,

July 8, 2010

 

Clipboard copy/paste in gnome terminal as in putty: solution parcellite

I don't know the formal side, but it seems that Gnome has two clipboards. One is for edit-copy/paste actions and another for mouse-select to copy and middle-mouse-click to paste.
Found today solution for this thing (which is not actually problem, of course. formally): The solution is Parcellite (to install type sudo aptitude install parcellite in term).
Of course (it's opensource, dude!) program does not have any adequate docs (just a man page there, f..k...). So one more action is required: when you run it (to run Accessories->Parcellite) from tray (it has standard windows 3.11 clipboard icon for those who remember) open Preferences, change options "Use primary selection" (turn it on) and "Synchronize clipboards" (turn on). That's all, now you have only one clipboard (But lots of items in clipboard history, so when you copy-paste your password... you understand me ;-) ).
By the way, parcellite 0.9.2 has bug (ha-ha, thought opensource could be without bugs?!): you cannot change option "Items in history" to 1. It just does not save option value "1". Silently. In the best tradition of opensource geek apps. Open options again - you see default 25 there.
You can also even disable "Save history" option. But it saves multiple items anyway. Opensource, dude...

Labels: , , , , , , , ,

July 7, 2010

 

Moving window close button to the right in Ubuntu 10.04

Today I upgraded my office workstation from Ubuntu 9.04 to 10.04. While upgrading it frozen twice, but after soft rebooting (via ssh from another computer) and using startx to get X up, then re-starting upgrade manager again, everything is ok. (I would be surprised if upgrade was without problems, 'cas it's opensource ;-). sorry. )
My theme worked ok (only the wallpaper has gone), but moving window close and min/max buttons to the left is amazingly uncomfortable. To resolve this run 'gconf-editor' from command-line, it opens gnome configuration editor, just like windows registry editor (very much like!). Then just change this key's value:
/apps/metacity/general/button_layout

to:
menu:minimize,maximize,close

Changes applies immediately after saving value.

Labels: , , , , ,

June 30, 2010

 

psi im: very obvious and ugly bugs in opensource programs

Another open-source-soft-is-shit post. Sorry for multiple post negative. Next day of linux-is-best-BDSM-tool. Today I installed the popular open-source 'psi' messenger (0.12 version from stable ubuntu 9.04 repository). Here's two chat windows of psi where same friend conversation is handled:

How is such error possible in VERY popular IM?! Seems that developers think like 'oh, such a small bug, let it remain, 'cos I know how to avoid it'.

Labels: , , , , ,

February 11, 2010

 

Ubuntu desktop x86 issue: 3Gb RAM only, no PAE support

Upgraded RAM to 4Gb, just noticed that only 3Gb is used by Ubuntu 8.10 x86 desktop, because it has Ubuntu Desktop kernel (the default one) which has no PAE support.
We see in this desktop open-source Ubuntu world the same ugly issue as when using Windows XP: either use much more stable 32-bit (x86) applications and face the inability of using whole 4Gb RAM or go into experimenting with 64-bit apps and have your whole >=4GB RAM used.

So, if you want to use 4Gb RAM or more in your 32bit Ubuntu - you have 2 options:
* either install "server kernel" (which is not optimized for desktop usage and it has issues with third party drivers and the server kernel, especifically, nvidia video adapter drivers), or
* rebuild desktop kernel by yourself (and do it on any kernel update which happens some each month or two).
Welcome to the open-source: Ubuntu have all their own branch of kernel, but do not support PAE there.

I'll try to switch to server kernel and see what happen.

PS I'm thinking of switching workstation from ubuntu to centos or fedora core 12 (btw, it has Gnome by default now!).

Labels: , , , , , ,

May 27, 2009

 

Major java (Un)Security in Ubuntu/Macos

Ubuntu maintainers impress me one more with their 'i dont care' attitude to security o their system. The first was the debian-specific change to packege openssl that lead to ALL SSL and TLS communications and SSH key generation actually unencrypted.
Now they keep the both versions of sun's 5 and 6 java in stable repository (packages sun-java5 and sun-java6)one minor release BEFORE fixing of major vulnerability (CVE-2008-5353: calendar deserialization). The sun fixed this back in Dec 2008 already (soon after bug was found). And of course they have released stable packages of Java both JDK and JRE.
Hey, Ubuntu repository maintainers, why don't you update sun java packages in repo? Why do you leave unprotecked all those who trust you?
To those Ubuntu users who care about security when surfing in browser, I advice you update java manually using sun'site (Downloads section): http://java.sun.com site AND don't forget to REMOVE ubuntu's packages before, using for example Synaptics. Just search for java and remove everything about Java then reinstall JRE/JDK using Sun site.
PS Vulnerable Java releases are: Sun JDK and JRE 6 Update 10 and earlier; JDK and JRE 5.0 Update 16 and earlier; and SDK and JRE 1.4.2_18 and earlier. To see version just type java -version in terminal console.
PPS Macos users are ALL vulnerable to this, because Apple maintains Java branch for their Macos by themselves and have not yet released update OR patch (!!!). Unfortunately, it seems that security is not priority of Apple.
PS Apple has fixed it. Please update your macs ASAP.

Labels: , , , , , ,

March 12, 2009

 

windows look&feel for linux

Recently I've done some changes to my sandbox ubuntu installation (running in virtualbox) for it to look and feel like windows. This is a composition of themes and a custom changes. In case of someone needs same, later I will write some kind of manual - seems it can make life simple for windows to linux movers. Here's a screenshot:

Labels: , , , , , , ,

February 7, 2009

 

темы для системы

Визуальные темы - важная часть системы, дающая правильное ощущение при ее использовании (не зря это иногда называется "look & feel"). Линуксовые темы настолько отличны от OS/2 и Windows тем, что многие пользователи этих систем стараются найти что-нибудь менее чужеродное для себя, нежели стандартные темы KDE и GNOME. Я не исключение, поэтому недавно решил поискать более приятную взгляду тему. Выясянилось, что шареварные сайты предлагают огромный выбор бесплатных тем для GNOME. Часть из них ставится без проблем, однако вскоре я наткнулся на темы для движка murrine. И вот тут начался типичный debian-цирк: сначала не заработал automake, невнятно попросив поставить новый пакет. Далее, configure спотыкался несколько раз об отсутствие GTK-dev и чего-то, что я уже не помню (у меня Ubuntu 8.10). После минут 20 скачиваний каких-то пакетов и упражнений использования apt-cache (точное название пакета обычно не дается ;) ) марина так и не была поставлена, а дефолтовой темой стало что-то похожее на Win 3.11 :-)
После такого разочарования я решил посмотреть ситуацию с темами в winxp. Отмечу, что, ради отзывчивости системы, я использую самую легковесную в отрисовке тему "Windows Classic", отключая между тем сервис "Themes" (default - autostart), что привело меня в легкий ступор по поводу отсутствия вообще каких-либо тем в диалоге настройки дисплея. Преодолев это препятствие, я для начала сменил тему на Luna (синяя полукруглая тема, в которой XP начинает работать). После этого покрутил цветовые решения, что вызвало у меня восторг ("вах, новая жизнь моей винде!"). На этом я однако не остановился, поискав другие темы в сети. Выяснилось, что официальных тем (позже объясню что это такое) существует ровно 3: Royal, Royal Noire и Zune. Официальная тема - это подписанная ключиком microsoft тема. Все другие требуют замены некоей ключевой DLL-ки (что, в общем, совсем не добавляет доверия к системе - "я на такое пойтить не могу").
Важно другое, дополнительные темы тормозят оболочку винды _значительно_. Это значит, что система может перестать реагировать секунд на 5, тогда как с Classic темой такого не замечалось.
Отмечу, что эксперименты проводились на VirtualBox/Core2DuoE8400, поэтому тормоза этих тем могут быть из-за недоступности графического ускорителя из-под виртуальной машины. В ubuntu кстати никакие эффекты интерфейса не включились по этой причине, тогда как винда успешно отрисовывает хотя бы тени.
PS Потребляемая мощность процессора в секундах процессорного времени для winxp (чистая SP3) и Ubuntu 8.10 (также только что поставленная): 22 секунды и 44 секунды. Победитель? WinXP. Кстати, по времени выигрыш не настолько очевидный, как по потреблению процессора (там примерно в 1,5 раза, точных цифр у меня нет).

Labels: , , , , , , , , ,

This page is powered by Blogger. Isn't yours?