Search posterous

Search all posts and users. Type a name, type a favorite song title, whatever! See what comes up.
  

More posterous blogs











More recommended blogs »

Here are posterous posts filed under ubuntu...

Alex says...

I think its new in PostgreSQL 8.4, there is a new field type called citext, which stands for case insensitive text.  Currently on Ubuntu 9.10 its in the PostgreSQL contrib package, which often serves as a testbed for features before they are adopted into PostgreSQL proper.

Using citext ensures that all comparisons are case insensitive, which includes referential integrity on inserts, updates and deletes, and SQL queries for lookups for example, which I think will work well for those fields that should always be compared case insensitive.

Although citext (and probably many other modules) are not listed on the contrib page, they are included, you can see them in the complete file list.

Steps to install on Ubuntu 9.10 (Karmic Koala):

# Install the contrib package
sudo apt-get install postgresql-contrib-8.4
# Add the citext module to a database of your choice
psql [username] -d [databaseName] -f /usr/share/postgresql/8.4/contrib/citext.sql

Where in this case /usr/share/postgresql/8.4 is the PostgreSQL SHARE_DIR folder.

Now you can use the field citext instead of text.  If you'd like to use citext on Ubuntu 9.04 Jaunty (which only includes PostgreSQL 8.3), then check out Mark's post about installing PostgreSQL 8.4 on Ubuntu 9.04.

Filed under: howto, linux, postgres, postgresql, ubuntu

matrax says...

Installed Windows7 on regular PC and well.It's nice but I think that I like ubuntu and osx better.Of course I have to use it more :)

Filed under: osx, ubuntu, Windows7

matrax says...

Installed Windows7 on regular PC and well.It's nice but I think that I like ubuntu and osx better.Of course I have to use it more :)

Filed under: osx, ubuntu, Windows7

pcdevil says...

Újabb félév, újabb Ubuntu, így újabb frissítés, majd róla bekezdés.
A frissítés ugye voltaképpen szűz telepítés, és még csak netbookon végeztem el, de így is tanulságos volt. A telepítés gyorsan zajlott, csak egy tipikus felhasználó által generált hiba miatt szakadt meg: véletlen rányomtam a kilépés gombra úgy 60%-nál, így kezdhettem elölről:$ Beállítások terén semmi szokatlant nem csináltam, talán annyi, hogy a home könyvtárat kódoltatom a géppel, ami ugye védelmet nyújt, ha netán ellopnák a netbookot (jobb félni, mint megijedni).
Bár a telepítés gyors volt, egy tipikusan az MSI Wind-okon lévő bug már akkor is az őrületbe kergetett: Amikor megváltoztatom a képernyő fényerejét, vagy felbontást váltok, vagy elindul a grafikus felület, vagy a képernyőkímélő kapcsol be/ki, akkor a fényerő elkezd táncott járni, és fel-le ugrál. Olykor ez 3 percig is eltart, és nem elég, hogy ez a fajta diszkófény nagyon zavaró, de a processzort (gondolom főként a buborékablak frissítése miatt) folyamatosan 50%-on használja, így a programok használata még viccesebb élménnyé válik. A Gnome-Do program előhívása az, ami félmegoldásként használható, mivel valamilyen oknál fogva leáll a villodzás, de őszintén szólva nem szeretném ha hosszútávon így maradna.
Másik nagyon zavaró hiba a Firefox-hoz köthető, ugyanis nem jegyzi meg az eszköztárak helyzeteit és kiegészítők beállításait. Ez főként azért bosszantó, mivel a 3.5 -ös Firefox támogatja a Mozilla Weave kiegészítőt, ami lehetővé teszi, hogy a különböző beállításokat több gépen szinkronizáljuk, de így ez is eléggé használhatatlan. Ezek után már csak kisebb kellemetlenségnek mondható, hogy a lapfüleket is meg kell nyitni minden indításkor, mivel ezeket sem menti el, dacára a beépített munkafolyamat-kezelőnek.
Nézzük, mit nyújt a "Karmikus Koala" a bugokon túl.. Az értesítési ikonok letisztultabbak, az alap téma és a bejelentkező képernyő szintúgy megújult. Ezek mind-mind grafikai, és pozitív dolgok. És itt kb meg is állhatunk a csodákban, mert nem tudok sorolni jó újdonságokat. Az Ubuntu One-t nem használom, mivel a Dropbox kényelmesen integrálódik a rendszerben, és van Windows-os kliense is. Empathy és Totem 2 katt után törlődött a rendszerből, és felváltottam őket Pidgin-nel és Mplayer-el. És míg sokak szerint érezhetően gyorsabb az Intel vga driver, addig nálam ebből sem lehet semmit érezni.
Amik az előző telepítésnél előjöttek, és most mégis kimaradt a telepítésből: A Screenlet-eket nem használom. Hiába tetszetősek, az Asztalra sosem nézek, így csak feleslegesen zabálnák az erőforrásokat. A Quake stílusú Terminált se hoztam létre, ezt se használom elég régóta, mivel nem állt kézre. Prism-et se használom már, a Firefox-ban mindig nyitva (a Faviconizetab bekapcsolásával és a Tab Mix Plus Freeze tab funkciójával) a Google Reader és a GMail. Torrentek terén szakítottam az rtorrent-el, már egy ideje Deluge-t használok. Okot nem tudok, valamiért szükségem volt rá, és azóta megmaradt.
Összességében véve nem vagyok megelégedve a rendszerrel. Bár működik, néha béta állapotot tükröz egy-egy cselekedete, és emiatt az utóbbi 3 év ubuntuzás óta először gondolkozom azon, hogy az Ubuntu-t ténylegesen felváltsam egy másik nagy disztribúcióval. Aztán meglátjuk még, hogy "mit hoz a jövő"..

Filed under: kocka, ubuntu, ubuntu 9.10

Matt says...

I'm still working through a bit of a hiccup with using my Amahi calendar with Evolution, so I thought I'd install Thunderbird and Lightning to see if they worked. The problem with Evolution and my Amahi calendar is that no matter what I try, the calendars on Amahi are flagged as read only. I understand that it will be read only (at least potentially) with a pre-existing calendar, but even when I create a new one I can't add new appointments to it. Not good. ;-)

Thunderbird is easy enough to install with apt-get install, and Lightning is just an add-on to Thunderbird, but on both my 32-bit and 64-bit machines when I launched Lightning the "new calendar" option was grayed out. A bit of scroogling showed that Lightning has a dependency on libstdc++5. The issue is that beginning with Ubuntu 9.10 libstdc++5 is no longer in the standard repositories, so sudo apt-get install libstdc++5 no longer does the trick.

Easy enough to resolve by downloading the package however, so if you run into this issue just grab the 32-bit or 64-bit pacakge as appropriate and install.

Now it's time to ping the Amahi folks about the read-only issue with Evolution--I was liking Evolution until I ran into that.

Filed under: Amahi, Calendar, Lightning, Thunderbird, Ubuntu

frjohnsen says...

So installation of Ubuntu 9.10 in dual-boot with Windows went fine, but I did encounter some problems on my first workday. For good solutions, feel free to comment.

  • We're using Exchange 2007 for email, contacts and calendars, and I think I have tried every combination of servers and domains available in Evolution with no luck. I'm sure there is a solution, but it is certainly not easily found. This could be what makes me drop Ubuntu alltogether if there is no solution.
  • Dual screens posed quite a problem, and it's still not solved completely. I use a 24" Dell via HDMI and a 17" IBM via VGA from my laptop, and after some fiddling, I managed to get them to work. However, I can't shut the lid on the laptop without all screens going blank.

On a positive note, installing a Dell 3115cn printer via WLAN was completed without a hitch, and OpenOffice seem to to the job so far.

More to come, have a great weekend!

Filed under: Exchange, Linux, OpenOffice, Ubuntu, Windows

justin says...

edit the apt sources file

$ sudo gedit /etc/apt/sources.list


add in

deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main


then add in the apt key

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com
0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5


then update apt and install chrome

sudo apt-get update
sudo apt-get install chromium-browser

Filed under: chrome, linux, ubuntu

Matt says...

Much as I'm loving Ubuntu 9.10 and greatly, greatly appreciate all the hard work the Ubuntu team puts into building what I consider to be the finest desktop OS in the world (I'm seriously in awe when I think of the work involved and the fantastic end result), I have to point out one major mistake that was made with this release: the decision to replace Pidgin with Empathy as the default IM client. There's a discussion about they whys behind the decision here, but it seems in this case abstract technical decisions won out of usability decisions, which in the end isn't good for anyone.

My major annoyance with Empathy is as follows. If someone IMs me, I receive a popup notification in the top right-hand corner of my screen. Great. If, however, I'm not looking at my screen when the notice pops up, the only way to know someone IMd me is to look at my contacts list for a blinking icon. Completely, utterly terrible usability. Pidgin pops up a new tab in my chat window when someone IMs me. That's as it should be. That's how IM works, folks. Do your homework and don't change paradigms that don't need changing. I shouldn't have to worry about scanning my contact list every time I step away from my computer to see if someone IMd me when I wasn't looking.

Yes, I know, I can change applications; I've already re-installed Pidgin, and my apologies to anyone whose IMs I didn't respond to for hours this week. But with such a major usability annoyance I can't fathom why the "better integration with the desktop environment" rationale would make Empathy the default IM client in Ubuntu.

So more than anything this is to ask "WHY?" and to beg the Ubuntu team to actually USE the programs they supply as defaults instead of making decisions solely for under the hood technical reasons. Users don't care about the integration blah blah, they care about knowing when someone IMs them.

Filed under: Rants, Ubuntu

kOoLiNuS says...

Lately I had the necessity to create an account and modify another one on an Ubuntu box at work. I've regularly logged on via a ssh -X shell and gave the command sudo users-admin resulting in a "blocked" window ... I mean one on which I wasn't able to unlock the command via an administrative password input.

After a little diggin' on the web I found that the solution is in giving this command:

sudo ck-launch-session users-admin &

which will ask you the administrative password and make the commands on the appearing window

Filed under: bash, how-to, remote, sysadmin, ubuntu

frjohnsen says...

I'll admit it right away: I'm a Windows fanboy, so testing Ubuntu as a work platform less than two weeks after the launch of Windows 7 seems a bit weird. Anyway, I like to have the ability to choose and customize, so last night, I decided to dual boot, with the intention of not having to say the following sentence in the next month: "Nope, I can't do that. I'm using Linux."

I read quite a few stories about 9.10 being buggy, but decided to go for the new version anyway. So here's the story in handy bullet style:

So far, all is well, with one exception. We use Microsoft Exchange 2007 for e-mail, contacts and calendars, and I have not been able to get my account up and running in Evolution. If anyone has any tips, I'd appreciate it.

More updates to come...

Filed under: Daemon Tools, Dropbox, Tweetdeck, Twitter, Ubuntu, Windows