Jefim Borissov Житие мое

24Jul/0720

HOW-TO: Linksys WUSB54GC Wireless and Ubuntu Linux (7.04 Feisty / 7.10)

Drivers for WUSB54GC

Hi, this is a guide I decided to write after buying and installing a Linksys WUSB54GC wireless USB adapter. The guide is very simple.

What you need to get this device going is to install ndiswrapper and the driver. You can use the driver attached to this post (or you can go to Linksys official web-site, download the driver (not the Vista one), unpack it (I know that it is an EXE file, but you can still unpack it) and find the drivers in the Drivers folder - that's exactly how I got the drivers I attached to this post).

Ok, now the installation procedure. Lets assume you unpacked the drivers into your home directory (~) - the should be three files:

  • rt73.cat
  • rt73.inf
  • rt73.sys

1. Install ndiswrapper:

apt-get install ndiswrapper

2. Change the dir to where your driver files are located:

cd ~

3. Install the drivers:

ndiswrapper -i rt73.inf

ndiswrapper -m

ndiswrapper -mi

ndiswrapper -ma

4. Reboot. Now the device should start working - you can verify that by clicking on the nmapplet or by going to Administration->Network - it should be there and it should show you wireless networks. I got it working that way and it correctly shows the signal strength, connects nicely - works nicely.

Now, why I used ndiswrapper - before I installed and configured ndiswrapper the device was also present and it even showed me the wireless networks, but it did not connect to any network.

Filed under: Linux, Ubuntu 20 Comments
25May/072

Linux Application Developement

God! I really love Linux (especially Ubuntu), I really do. But! Please, someone tell me how the hell is anyone supposed to develop GUI apps here? I know, I know. There are tons of development tools. Glade, MonoDevelop, Anjuta etc. But! I tried them. The only friendly tool was MonoDevelop. But really, I created a Gtk# program (project to be exact) and just screamed! Why you ask? Because I tried to crate a button. It created. No problem. Then I thought that it would be nicer if the button had a pretty background image. Know what? IT IS NOT POSSIBLE TO SET A BACKGROUND!!! That sucks big time. I do not need this ugly button with no-good design. Oh, oh. And one more thing. I certainly tried to compile the thing and it DIDN'T work. Because the assembly was not found. Now what the hell is that?.. EVERY dev tool in Linux I saw in NOTHING compared to MSVS (which I use all the time). Nothing I tell you. And don't try telling me stories about real programmers who can make everything possible. I don't need the freaking routine! I need a good IDE where I can forget about details. I need normal control out-of-the-box. With options. With yummy features and stuff. Look at .NET! You call Mono a .NET analogue? B-u-l-l-s-h-i-t. Mono is a zillion kilometers away from .NET. Not even a bit close. Well, I know, it's not version 1.0 at all. But what the point PR-ing it so much? Almost full System.Windows.Forms? Where? Oh, oh, MonoDevelop has a VS2005 project import. Yeah. Sure. It imports. With a detail that nothing works. Edit my GUI code in source view? Do I look like crazy? No way I'm going to do that.

Now, the point is, linux REALLY needs something like MSVS. MonoDevelop is, in my opinion, the closest analog, but it is still far-far away from it. No..... MonoDevelop is even ok, compared to framework.

Oh. One more thing. If you are thinking about writing an angry post about not respecting someone's work - that's not right. I think that devs are doing a great job. I really do. I complain about the whole situation. I will never switch to Linux development I guess. I always try to support people doing real things in this world, but in this case I just have to admit - Microsoft is doing a far better job than the Linux world.

18May/072

Zend Studio 5.5 – Antialiasing the font (tested on Ubuntu 7.04

Hi! Today I am very happy to announce that I am now running Ubuntu 7.04!

Now, no long preludes, since this post is about "How the <fluffy bunny> do I get those antialiased fonts to word in Zend Studio?!". That was the question for me about 5 minutes ago. Well, I really thought that Zend was perfect - usually, if they have this checkbox - it works without tweaking. Now here's the disappointment part - that Tools -> Preferences -> Desktop -> Use Antialised Fonts didn't really work. I asked my best friend (his name's Google) -oh, whyyyy?... Google was silent... he didn't know. Fortunately, Google remembered that Zend has a forum! Yay! Searched the forum and found the answer.

Here goes:

"... in <installdir>/bin, edit ZDE.lax adding the following line at the end

lax.nl.java.option.additional=-Dswing.aatext=true

restart ZDE and you should have antialiased fonts... " (c) pkoebbe

That worked like magic. No problems at all! So, I hope that this helps someone and that my friend Google will soon cache this post.

PS The original post on Zend forums is here.

12Feb/073

The best linux FTP client: FileZilla

Hello, today I want to tell you about my search for a nice FTP client. First things first - I've been using gFTP for a long time and I find it to be nice, but to say the truth it lacks some features and is quite buggy. There is no recursive chmod, it crashes every time when internet stops working (this is important, since I use WiFi all the time), it waits 30 seconds if he got disconnected from server (and I haven't found a way to stop this except restarting gFTP). That is not all, but I think that you get the point :)

And this is the best FTP client I knew for my Ubuntu Edgy until now. Today I found out that the FileZilla FTP client is being made cross-platform. I use that one all the time in Windows and let me put it short - "IT ROCKS!!!". No, really, it has a very nice site manager, it does not crash (not once since I installed it on Windows and I'll need some time to see how it goes under linux), has a great user interface, transfer queue and so on. Also it allows you to install themes (icons for buttons) ^_^

Overall, I find FileZilla to be the best choise for Linux. It is still in beta, but it is A LOT more stable that gFTP. So, if you have Ubuntu Edgy installed and you're wiling to try it out - "apt-get install filezilla"! Don't know about others, but Edgy repositories have it.

And in the end I'll post an overview and features from FileZilla official site:

Overview

FileZilla is a fast and reliable FTP client for windows with lots of useful features and an intuitive interface.

Features

Among others, the features of FileZilla include the following:

  • Easy to use
  • Multilingual (English, German, French, Japanese, just to name a few)
  • Strong encryption support using SFTP over SSH and FTP over SSL/TLS
  • Supports transfer resuming and files larger than 4 GiB
  • Site Manager
  • Queue support
  • Proxy support
  • Speed limits
  • MODE Z transfer compressing
  • ... and more!
Filed under: Linux, Software 3 Comments
11Jan/070

My list of Linux must-have programs

Well, since must-have programs' lists are so popular at the moment, I decided to post mine. Here goes:

  • Firefox, Epiphany @ Internet surfing
  • Thunderbird @ Email client
  • Amarok @ Music player
  • Totem, VLC @ Video player
  • Metal Blob Solid @ Favourite game :love:
  • Baobab @ Disk usage analyzer
  • ParolaPass @ Password generator (I just don't like to manually generate passwords)
  • GEdit @ Simple text editor
  • F-Spot @ Photo management
  • Gimp @ Photo editing (used rarely, but very handy when in need for a photo editor)
  • Azureus @ Torrent client
  • Connection Manager @ Wireless network browser/connector
  • Gaim, XChat @ Chatting
  • gFTP @ FTP client (sometimes annoying, but still the best I've seen)
  • OpenOffice Writer @ No comments :D
  • Zend Studio @ PHP coding
  • Eclipse @ Java coding
  • Anjuta @ C++ coding
  • MySQL Query Browser, MySQL Administrator @ MySQL management

Well, that's it! By the way, did you know that the Windows version of XChat costs 19.99$?..

Filed under: Linux No Comments
10Jan/0715

Equalizer in Linux players

Today I want to write about equalizers in Linux players (duh!).

What about them? Well, there is a LOT of (audio)players for Linux and most of them do not have an equalizer. That is quite strange, since this is a must-have feature in an audio player, don't you think? I do. I have tried a lot of players and here is a very short list:

  • Rhythmbox (no eq)
  • Listen (no eq)
  • BMPx (no eq that is VERY strange, since BMP has one)
  • Banshee (no eq)
  • Muine (no eq)
  • Quod Libet (no eq)
  • XMMS (has an eq, but ugly and discontinued... and no library)
  • BMP (eq present, but no library)
  • Zinf (god, no!)
  • Exaile (this was mentioned by Igor, but still no eq, I found an open ticket, saying that this feature is in the developement)

Well, I think this is quite a complete list of popular players. Did you notice that one great player is not on the list? Yeah, that's right! Amarok's not there. Why? Because it is the only player with ALL the features I need (music library, dynamic playlists, last.fm and an EQUALIZER!). I don't know about you, but I like my music playback to be juicy and rich. If I listen to power metal I want it to be POWER metal. Well, as I said, Amarok is the best (except that it ruins my GTK style and adds QT to the system, which I usually don't have, but I can live with that).

To say the truth I am disappointed in Linux audio players. I know that Rhythmbox development team is talking about implementing an eq, but I want it now.

By the way, on the second place for me is Listen player, which is quite nice and I prefer Amarok over it only because of the eq. If in the future Listen will feature an eq I will switch back to using it.

Filed under: Linux 15 Comments
7Jan/070

External Enclosure (for CD/DVD/HD etc.) in Linux vs. in Windows

Ok, here's the story. My laptop DVD+-RW is not working very good, so I decided to get an external DVDR. Well, I already had an external enclosure thingy I didn't use, so I had to get only a DVD to put inside the box. Ok, as usual, I opened up hv.ee and found a dvdr (no 'w') for a small price (just what I need). Bought it and stuffed it into the external box. "Ok", - thought I - "what could be easier - just plug the USB connector and voila - it's working!". Well, not exactly. Turns out that Windows does not know what an external enclosure is. It sees the freaking device (I mean, he sees that there IS SOME device) but does nothing to install it. Ok, apparently I just need to install the drivers. Oh! What a surprise! Drivers are on a CD (yeah, I know, this is the easiest method to distribute drivers - USB sticks are too expencive and floppies are too old)! Well, ok, not a problem. I google for drivers. Good lord, there they are! I download them, extract and run the setup.exe. Ok, the setup doesn't ask me anything (ok with me if he knows what he's doin'). Countless error messages appear on the screen (I didn't count, but believe me - there were many of 'em). And after that "installation" process Windows finally starts seeing the CD in the external enclosure (considering all these error messages that was really a shock for me!). Well, that went nice.

Now, lets try Linux (Ubuntu Edgy Eft). I boot up, enable the external enclosure (with the CD already inside). Ok, it works. Ubuntu automatically mounted it. Yay!

6Jan/071

"Why Linux Viruses are fairly uncommon" from Charlie Harvey

evilmalware 0.6 (beta)Copyright 2000, 2001, 2003, 2005

E/17 |-|4><0|2z Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is

NO warranty; not even for MERCHANTABILITY, COMPLETE DESTRUCTION OF IMPORTANT

DATA or FITNESS FOR A PARTICULAR PURPOSE (eg. sending thousands of Viagra

spams to people accross the world).

Basic Installation

==================

Before attempting to compile this virus make sure you have the correct

version of glibc installed, and that your firewall rules are set to `allow

everything'.

1. Put the attachment into the appropriate directory eg. /usr/src

2. Type `tar xvzf evilmalware.tar.gz' to extract the source files for

   this virus.

3. `cd' to the directory containing the virus's source code and type

   `./configure' to configure the virus for your system.  If you're

   using `csh' on an old version of System V, you might need to type

   `sh ./configure' instead to prevent `csh' from trying to execute

   `configure' itself.

4. Type `make' to compile the package. You may need to be logged in as

   root to do this.

5. Optionally, type `make check_payable' to run any self-tests that come

   with the virus, and send a large donation to an unnumbered Swiss bank

   account.

6. Type `make install' to install the virus and any spyware, trojans

   pornography, penis enlargement adverts and DDoS attacks that

   come with it.

7. You may now configure your preferred malware behaviour in

   /etc/evilmalware.conf .

SEE ALSO

   evilmalware(1), evilmalware.conf(5), please_delete_all_my_files(1)




Текст взят отсюда
Всё правда на 100%

Filed under: Linux 1 Comment
27Nov/060

Bash 'em all to hell!

I love grep, find, locate & whereis! They're awesome! Supa-dupa-pupa-miracles! Jeez, how did I live without them before?..

Filed under: Linux No Comments
15Nov/067

[HOWTO] Non-latin shortcuts/hotkeys in linux (russian keyboard layout example)

[Update]

if you just need a fix for firefox russian shortcuts, go here: https://addons.mozilla.org/firefox/3529/

Если вы ищете патч/аддон для Firefox, то вам сюда: https://addons.mozilla.org/firefox/3529/ Спасибо за эту информацию max'у. Проверено - работает на отлично :)

[/Update]

Ok, there is this VERY annoying thing in linux - in some applications keyboard shortcuts just don't work. First of all - why? Ok, let's take russian layout for example - the shortcut for "Paste" is [ctrl]+v, right? In russian layout it is [ctrl]+м, so the application just doesn't get the command! And there is a workaround to fix it (BUT you will have to use an additional modifyer key to access shortcuts! (e.g. instead of [ctrl]+v you will need to press [ctrl]+[win]+v)).Basically, the idea of this workaround is very simple - use an additional modifyer, which will switch the keyboard layout to english while pressed, so that the shortcut will work. This is a two-step procedure.

How to setup this for russion keyboard layout:

1. (NB! There is an attached file, called "ru" - this is an updated version of the file, so feel free to download it and just replace your file) You have to edit/update the xkb file, that defines the russian layout. It is usually located in /etc/X11/xkb/symbols/ru (at least in Ubuntu). I am using Arch Linux - the location of this file is /usr/share/X11/xkb/symbols/ru. Open this file in your favourite text editor (you have to be superuser to edit this file, so do a sudo or just su) and find the following section:

xkb_symbols "basic" {

name[Group1]= "Russia";

key <AE01> { [ 1, exclam ] };
......
key <AB10> { [ slash, question ] };
key <LSGT> { [ slash, bar ] };

key.type[group1]="ALPHABETIC";

key <TLDE> { [ Cyrillic_io, Cyrillic_IO ] };
key <AD01> { [ Cyrillic_shorti, Cyrillic_SHORTI ] };
.......
key <AB09> { [ Cyrillic_yu, Cyrillic_YU ] };

key.type[group1]="TWO_LEVEL";

// End alphanumeric section
};

Ok, now replace the whole section (beginning with xkb_symbols "basic" and ending with };) with the following:

xkb_symbols "basic" {

name[Group1]= "Russia";

key.type[group1]="FOUR_LEVEL_ALPHABETIC";

key <AE01> { [ 1, exclam, NoSymbol, NoSymbol ] };
key <AE02> { [ 2, quotedbl, NoSymbol, NoSymbol ] };
key <AE03> { [ 3, numbersign, NoSymbol, NoSymbol ] };
key <AE04> { [ 4, asterisk, NoSymbol, NoSymbol ] };
key <AE05> { [ 5, colon, NoSymbol, NoSymbol ] };
key <AE06> { [ 6, comma, NoSymbol, NoSymbol ] };
key <AE07> { [ 7, period, NoSymbol, NoSymbol ] };
key <AE08> { [ 8, semicolon, NoSymbol, NoSymbol ] };
key <AE09> { [ 9, parenleft, NoSymbol, NoSymbol ] };
key <AE10> { [ 0, parenright, NoSymbol, NoSymbol ] };
key <AE11> { [ minus, underscore, NoSymbol, NoSymbol ] };
key <AE12> { [ equal, plus, NoSymbol, NoSymbol ] };
key <BKSL> { [ backslash, bar, NoSymbol, NoSymbol ] };
key <AB10> { [ slash, question, NoSymbol, NoSymbol ] };
key <LSGT> { [ slash, bar, NoSymbol, NoSymbol ] };

key.type[group1]="FOUR_LEVEL_ALPHABETIC";

key <TLDE> { [ Cyrillic_io, Cyrillic_IO, NoSymbol, NoSymbol ] };
key <AD01> { [ Cyrillic_shorti, Cyrillic_SHORTI, q, Q ] };
key <AD02> { [ Cyrillic_tse, Cyrillic_TSE, w, W ] };
key <AD03> { [ Cyrillic_u, Cyrillic_U, e, E ] };
key <AD04> { [ Cyrillic_ka, Cyrillic_KA, r, R ] };
key <AD05> { [ Cyrillic_ie, Cyrillic_IE, t, T ] };
key <AD06> { [ Cyrillic_en, Cyrillic_EN, y, Y ] };
key <AD07> { [ Cyrillic_ghe, Cyrillic_GHE, u, U ] };
key <AD08> { [ Cyrillic_sha, Cyrillic_SHA, i, I ] };
key <AD09> { [ Cyrillic_shcha, Cyrillic_SHCHA, o, O ] };
key <AD10> { [ Cyrillic_ze, Cyrillic_ZE, p, P ] };
key <AD11> { [ Cyrillic_ha, Cyrillic_HA, NoSymbol, NoSymbol ] };
key <AD12> { [Cyrillic_hardsign,Cyrillic_HARDSIGN, NoSymbol, NoSymbol ] };
key <AC01> { [ Cyrillic_ef, Cyrillic_EF, a, A ] };
key <AC02> { [ Cyrillic_yeru, Cyrillic_YERU, s, S ] };
key <AC03> { [ Cyrillic_ve, Cyrillic_VE, d, D ] };
key <AC04> { [ Cyrillic_a, Cyrillic_A, f, F ] };
key <AC05> { [ Cyrillic_pe, Cyrillic_PE, g, G ] };
key <AC06> { [ Cyrillic_er, Cyrillic_ER, h, H ] };
key <AC07> { [ Cyrillic_o, Cyrillic_O, j, J ] };
key <AC08> { [ Cyrillic_el, Cyrillic_EL, k, K ] };
key <AC09> { [ Cyrillic_de, Cyrillic_DE, l, L ] };
key <AC10> { [ Cyrillic_zhe, Cyrillic_ZHE, NoSymbol, NoSymbol ] };
key <AC11> { [ Cyrillic_e, Cyrillic_E, NoSymbol, NoSymbol ] };
key <AB01> { [ Cyrillic_ya, Cyrillic_YA, z, Z ] };
key <AB02> { [ Cyrillic_che, Cyrillic_CHE, x, X ] };
key <AB03> { [ Cyrillic_es, Cyrillic_ES, c, C ] };
key <AB04> { [ Cyrillic_em, Cyrillic_EM, v, V ] };
key <AB05> { [ Cyrillic_i, Cyrillic_I, b, B ] };
key <AB06> { [ Cyrillic_te, Cyrillic_TE, n, N ] };
key <AB07> { [Cyrillic_softsign,Cyrillic_SOFTSIGN, m, M ] };
key <AB08> { [ Cyrillic_be, Cyrillic_BE, NoSymbol, NoSymbol ] };
key <AB09> { [ Cyrillic_yu, Cyrillic_YU, NoSymbol, NoSymbol ] };

key.type[group1]="FOUR_LEVEL_ALPHABETIC";

// End alphanumeric section
};

2. Ok! One step more and we're done. Now you need to add a third-level chooser in your xkb. If you are using KDE, then go to Control Center -> Regional & Accessibility -> Keyboard Layout -> Xkb Options. Check Enable xkb options if it is not checked and the Third level choosers section in the list, check the options you want and click Apply (I chose Press any of Win-keys to choose 3rd level). That should be it. You done! To test the thing open up Firefox, switch to russian layout and press [ctrl]+[win]+c to Copy and then [ctrl]+[win]+v to Paste.

I hope that this entry will be helpful to (at least) some people with non-latin layouts.

Updated “ru” file!

(Right-click the link, choose to save the file and remove the extension ;) )

Filed under: Linux 7 Comments