Act1v8’s Crap

Cut The Crap

Archive for the ‘gnome’ Category

Make Banshee Recognize Your Mass Storage Device As A DAP

with 6 comments

I have this cool phone, music phone, from Nokia. It goes by the name N91. It’s a great phone. 4 gigs of Memory, on a HDD, and arround 5 MB internal phone memory (even though the HDD isn’t detachable 🙂 ). Every time that I want to add new music to it I have to do it manually. Connect the phone to the computer, use Nautilus to transfer songs, if they are Ogg manually convert them to MP3 and so on…

As Banshee is the player I use, which has great DAP support, I wanted it to see my phone as a DAP (well it should, it’s a music phone). There were two ways:

  1. Teach HAL (Hardware Abstraction Layer) that the phone is a DAP; very hard — humans are smarter: so is Banshee
  2. Create a .is_audio_player file inside the root directory of the Mass Storage Device — my phone.

Then you need to add a few lines into the file:

audio_folders=My Music/
folder_depth=2
output_formats=audio/mpeg,audio/mp3,audio/x-aac

Now you can start Banshee and sync up the phone. Great!

P.S. This works with the newest Rhythmbox too!

Advertisements

Written by Act1v8

October 7, 2007 at 4:46 pm

Posted in banshee, gnome, linux, nokia

Tagged with , , , , ,

I.Listen.Tofu

leave a comment »

Tofu is the name of my newest project! It’s a super-duper voice recording application, based on GStreamer, written in Python and the GUI, which still hasn’t been written, in GTK. It’s supposed to represent Voice Candy for Gnome, but we’ll see how much of that will be done.

You can think of Tofu as Cheese for your Voice! 

Much of the codebase, for recording and playing has been written. I just need to upload it to Google Code. Speaking of code, the code isn’t really clean right now. It’s been two days since I started writing! I try to use as much as I can from the Python writing convention, thus having unclean code!

What’s up with the name!?

Well I’ve been thinking a lot and Tofu seemed the best. I wanted to call it Gofu, but that sucks. I even thought of calling it Schwa (as the wovel), but it’s just too weird a name of. 🙂 … what a sentence …

And basically it truly represents Cheese for your Voice.

Written by Act1v8

September 30, 2007 at 6:46 pm

Posted in gnome, gstreamer, linux, Python

Tagged with , , , , , ,

Eat Cheese In A Photo Booth

leave a comment »

Have you ever tried eating Cheese inside a Photo Booth? I sure haven’t, but a guy named Daniel has and he’s so good at it!

Remember the guy Daniel I mentioned in the sentence before this one. Well he’s one truly amazing guy! Writing an application named Cheese is a very hard job, but he’s making it easy, very easy indeed!

If I could give him the Nobel prize for the application he has written, be sure I’ll!

Cheese is the coolest application ever known to man, it can take your picture from a web cam and turn it into something marvelous, into a super duper photo that you can share with your friends and family! It even can shoot a video!!! Basically this application, Cheese, speaks GTK, uses GStreamer for viewing and I don’t know if it listens GStreamer too. Here are some quick photos I took with it, too bad I couldn’t use my built-in webcam to do it, rather I had to borrow a USB web cam from my sister.

Say ‘Cheese’ Everyone!

Picture06.jpg

 

Picture05.jpg

 

Picture03.jpg

 

Picture01.jpg

More on my Flickr photos page.

Written by Act1v8

August 31, 2007 at 10:16 pm

Posted in application, gnome, linux

Why Python?

with one comment

I’m currently working on a small widget for Screenlets that posts to the Tumblr service. My first impressions are that it’s very hard to write a screenlet, and very inefficient. Why?

  • the screenlet has to be written in Python
  • there is no documentation on how to write a screenlet, not even API documentation
  • everything has to be SVG oriented
  • there are many useless things you’d have to do

These points are really bugging me. Why couldn’t the Linux community just develop a widget engine that works with HTML, JavaScript, CSS and PNG/SVG? Why are they making everything Python-oriented. That freaks the hell out of me! And yet they don’t even give you an API documentation.

Back to the Python ramblings. Haven’t the developers learned something from Yahoo! and Apple? That it is far better to use more common techniques for writing a widget, say JavaScript and HTML with CSS. That is the same way that Yahoo! and Apple do it! If the widget is in Python, things get a bit more complicated. And again, without documentation it’s nothing! Writing a widget in Python is a BIG PAIN IN THE ASS!

That’s why I decided not to write a widget, yet an Application, or a Gnome Panel Applet because I’d spend more time on writing a widget, than an Application with many features.

Thank you for reading,
Stojance Dimitrovski

Written by Act1v8

August 28, 2007 at 1:34 pm

Posted in gnome, linux, Python, widgets

Epiphany or Firefox

leave a comment »


For those of you who don’t know, Epiphany is the GNOME default web browser built on top of the Gecko rendering engine.

The question presented in the title is old as far as I know of the exsistance of the GNOME project. Epiphany in recent years has been improved so much that it became my default browser. Yes, as a big fan of Firefox it’s unbelievable of what I just stated, but it’s true.

Why?

Well, Epiphany is integrated far better than Firefox in the Gnome desktop. It uses much less disk and RAM memory space and it renders the pages a lot better. Yes, even though Firefox and Epiphany use the same rendering engine, Gecko, they render pages a bit different.

Firefox is too bloated and over-functioned for me. Things in Firefox are hard to find and the gazillion extensions available for it make it even more difficult! Yes, I know that there are some really cool extensions for Firefox but I can live without them. But there is one extension/feature that I can not live without. That is del.icio.us. But Epiphany has great del.icio.us support through an extension called ‘o so ironically: Epilicious.

Well I made it pretty clear by far why I’m using Epiphany as my default browser. There is just one issue that is bugging me to the core of my mind and back!

Gecko has support for inline spell checking. And, that is in Epiphany. But the problem is that it isn’t functional. It just highlights the words that aren’t correct and if you right-click them you see no suggestions. Err… you see nothing. Oh! I just got an idea! I’ll file a bug!

Anyway for a true Epiphany in browsing use Epiphany! It really is worth it!

Written by Act1v8

August 5, 2007 at 8:23 pm

Posted in gnome, linux

Superiority in speaking

leave a comment »

Vala is the new superior programing language similar to C# made for the GNOME desktop, mainly for easier programming of libraries and simple GNOME-oriented programs. Vala is also a compiler that turns the Vala (C# 3 like) code into C code and then compiles the C code.

It may sound confusing and silly at first, but it’s really powerful! Having this tool simplifies things much more. Imagine you needing to write a huge, and very needed, library in C for something very important and your knowledge of C is scarce, and/or not good. What will you do? Spend three times the time needed to write the library into bug fixing and stupid syntax mistakes other than concentrating on something more useful or productive. Well, with Vala you can write a library far easier and faster than you’d in C. Because C# is much simpler than C, you can do it much faster and then let the Vala parser recode your library (or even program) to C making it faster to run than on a VM like Mono or some other .Net thing.

Vala is so great. As I know C# well enough I wanted to give it a try. And I did and I must admit that it’s far better than making a program in C# and then running it on top of Mono. Even though it still doesn’t offer the power of Mono, it is a good project with a great goal.

Written by Act1v8

August 4, 2007 at 5:16 pm

Posted in gnome, linux, vala

Bluetooth on Linux

leave a comment »

Usually most DRM-oriented devices out there, such as a lot of PDA’s aren’t that well supported on GNU/Linux. Sure, there are some applications that can interact with them, but they aren’t so easy to operate with.

Bluetooth is one of those technologies I like to call DRMd, but Bluetooth isn’t really a DRMd technology. Support for it in GNU/Linux is, I have to say this, more than excellent. BlueZ is the name of the project that does all of those HCI and who-knows-what sinks and wells and pipes and kernel stuff.

Basically, if you have a compatible USB Bluetooth dongle all you need to do is just plug it in! It works right away. In Nautilus, the GNOME DE main file manager, to send a file all you need to do is: Right click the file you want to send > Send To… > Select from Send As: Bluetooth (OBEX Push), then select the devce > Send. It’s one of those things that “Just work!”.

The only thing that isn’t so good in GNU/Linux is A2DP protocol for Advanced Audio jumbo-mambos for Bluetooth headphones. ALSA is working on it, and it’s pretty good so far, but it has some issues, of course.

Written by Act1v8

July 16, 2007 at 11:52 pm

Posted in bluetooth, gnome