Janhouse

Posts Tagged ‘arch’

Ko mana mamma domā par Archlinux?

Sunday, December 4, 2011

Ubuntu upgreids, pēc kura parādījās Unity, nepatīkami pārsteidza ne tikai mani un daudzus citus IT cilvēkus, bet arī tos, kuriem Unity bija galvenokārt domāts – parastajiem lietotājiem. Viens no šādiem lietotājiem ir arī mana mamma, kura man nesen palūdza aizvākt Ubuntu no viņas portatīvā datora.

Gari plaši neprātojot, uzliku Archlinux. :D

Laptops nav no tiem jaudīgākajiem, tāpēc izvēlējos xfce + compiz ceļu (nevar bez izskaistinājumiem :) ). Visas vajadzīgās iekārtas darbojas out of the box (cik nu out of the box “pacman -S …” var būt), nekas nelago, nav nekā lieka.

Rezultātā:

(14:25:54) Jānis Jansons: kā tev Archlinux?
(14:25:55) Mamma: paldies!
(14:26:00) Mamma: foršs
(14:26:10) Mamma: labāks nekā ubuntu

 

Hamster time tracker in system tray

Thursday, April 7, 2011

Project Hamster is probably the best Linux time tracker out there.

But there is a small problem. It is written to be used as Gnome panel applet. I guess that some things will change with Gnome 3 (maybe it will get better Gnome shell integration or something?) but the lead developer has written that there will be no tray icon for Hamster:

generally though the system or notification tray is the no-go zone and one that triggered all the shunning in the panels (too many icons behaving too differently etc).

I found that there is script to use it with Ubuntu’s indicator applet but could not find one for system tray.

So I did it myself.

Inactive icon

I modified hamster-appindicator script by Alberto Milone to work with system tray (instead of appindicator). It now behaves similar to the panel applet. Only noticeable difference is that you don’t see current running task name and time in the tray (because there is only an icon and no text) and how long it has been running, but you can see it in the tooltip of the tray icon.

 

Right click menu

To make it more usable, I have included green and red icons that are used to indicate running task (by default I made it use green icon but you can change it in the script).

Left mouse click toggles tracker window, right click shows menu.

Opened window

Icons and script can be downloaded from https://bitbucket.org/janhouse/hamster-tray/downloads .

I’l later make hamster-tray PKGBUILD for Archlinux and put it on AUR.

If you want to point out any errors (it probably has some since I was making it in rush in the middle of the night) leave a comment. I’l try to update it at some point.

P.S. YAY! I can use Hamster again! :)

 

UPDATE:

08.04.2011.

After upgrading my Archlinux today I noticed that it did not work anymore because upgrade contained Gnome3 stuff.

So the error was:

$ hamster-tray
Traceback (most recent call last):
  File "/usr/local/bin/hamster-tray", line 51, in <module>
    from hamster.applet import HamsterApplet
  File "/usr/lib/python2.7/site-packages/hamster/applet.py", line 29, in <module>
    import gnomeapplet
ImportError: libpanel-applet-2.so.0: cannot open shared object file: No such file or directory

Quick dirty fix for the moment is to edit applet.py and remove line:

import gnomeapplet

This will probably make it not work as Gnome 2 panel applet but I guess that those applets are removed from Gnome3 anyway.

This is just a temporary fix and I will try to completely rewrite this script as soon as I get some time.

Linux video stabilizators

Wednesday, April 6, 2011

Lasot planet.archlinux.org blogus, uzdūros uz šī raksta par transcode stabilizer pluginu.

Tas pastāv jau labu laiku, bet nebiju par to iepriekš dzirdējis.

Transcoder stabilizer plugins samazina video trīcēšanu. Ja trīc rokas, Linux lietotājiem šis rīks var lieti noderēt. :D

Vairāk paraugi un informācija pieejama šeit: http://public.hronopik.de/vid.stab/features.php?lang=en

6 mēneši ar Arch Linux

Friday, April 1, 2011

Ir pagājuši seši mēneši kopš lietoju Arch Linux.

Uzskaitīšu dažus no iemesliem kāpēc no Ubuntu pārgāju tieši uz Arch:

  • Arch Linux logo ir smukāks kā Ubuntu logo.
  • Mani pamudināja freenode #ubuntu-lv kanāla lietotāji (kāpēc tur neuzturas Ubuntu lietotāji?).
  • Arch komūnas Wiki ir lielisks (jā, tas iekrita acīs vēl tad, kad lietoju Ubuntu).
  • Periodiski netiek izdotas stabilās versijas. Pastāv vairāki repozitoriji (stabilais, komūnas, testēšanas, u.c.), kuros pieejamās pakas tiek pastāvīgi atjaunotas. (Kā tulkot “rolling release distro”?)

Daži secinājumi:

  • Arch lietotāju komūna ir vēl labāka kā sākumā domāju. Gandrīz visu ir iespējams atrisināt izlasot Wiki. Pat ja Arch Wiki nav tas ko meklēju, problēmu palīdz atrisināt freenode #archlinux kanāla lietotāji.
  • Paku menedžeris Pacman, kuru lieto Arch, uz mana datora strādā ievērojami ātrāk kā Apt uz Ubuntu vai Debian.
  • Arch nav domāts katram. Ja esi iesācējs un nepatīk mācīties ko jaunu, paliec pie Ubuntu vai Windows.
  • Šķiet, ka uz Arch piecos mēnešos esmu iemācījies vairāk par Linux kā divus gadus lietojot Ubuntu.
  • Arch lietošana audzē matus :D – esmu sācis lietot vieglākas, vienkāršākas programmas. (Atteicos no Gnome un Compiz, lietoju Openbox, cenšos Gedit vietā lietot Vim un GUI rīku vietā aizvien biežāk izvēlos komandrindas programmas.)
  • Neskatoties uz to, ka lietoju “testing” repozitoriju un ik pa laikam uzinstalēju kaut ko no AUR, viss strādā pārsteidzoši labi un nav radušās lielas problēmas.
  • Lielākās problēmas, ar kurām saskāros uz Ubuntu, uz Arch nav vai arī ir vienkāršāk risināmas.

Varētu uzskaitīt daudzus un dažādus plusus un gan jau, ka atrastos arī mīnusi, bet ja esi nolēmis kārtīgāk apgūt Linux pasauli un nebaidies mācīties ko jaunu, iesaku pamēģināt Arch ikvienam Linux entuziastam.

Tuvākajā laikā distribūciju nemainīšu un paskatīšos kā Arch uzvedas uz serveriem (sākšu eksperimentēt ar mājas maršrutētāju).

Ubuntu 2010. gada pavasarī.

Ubuntu 2010. gada vasarā

Pirmās dienas uz Arch

6 mēneši uz Arch

P.S. Pēdējā ekrānatēlā var manīt, ka uz Openbox neesmu paspējis piestrādāt pie vizuālā. Kad to sakārtošu, pacentīšos tēmu ielikt DeviantArt (ja būs gana laba).

© Jānis Jansons (Janhouse)