Act1v8’s Crap

Cut The Crap

Archive for the ‘linux’ 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 , , , , , ,

Some Things…

leave a comment »

Oh… It has been a while since my last post. Mainly because of my extreme business with school and other responsibilites. But, see how good of a person I am, I found time to post just for You!

Things that happened:

  • Started school, first year in RJK High
  • Studied
  • Made new friends
  • Spent SFD 2007 really great!
  • Got a new 100GB internet connection, for a good price, FINALLY!
  • Bought myself a Wireless Router, yippee

Idea:

I somehow got an idea that my favorite Music Player, Banshee, should support Videos.

Written by Act1v8

September 21, 2007 at 8:38 pm

Posted in linux, me-myself-I

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

Joy with Sticks

leave a comment »


Some time ago, maybe two years I bought a Joystick. Logitech Freedom 2.4 Cordless Joystick. But I guess I bought it at the wrong moment. Why? …

At that time the Free Software revolution was taking over me, and I stopped my gamer career and went with another — programming. So after some time, the Joystick was put in a cabinet and forgotten with time… until…

This year I started flying school (which is coming to an end today due to missunderstandings with my father and the chief of the Skopje Air Club anyways) and I wanted to see how I’m doing on the sym. Downloaded Flight Gear, and just said. Ah, let’s see how does my joystick work under Linux. So I got the wireless dongle and plugged it in the USB port. The light came on…

The immediate response of mine was to run dmesg in the terminal to see whether the Kernel is having troubles with the joystick. The output was AMAZING! Linux just recognized my joystick, initiated the driver and loaded everything else.

I started Flight Gear and the rest went on…

I must say that I had some problems with the calibration of the joystick, because this one has like 5 axes and I’ve got no idea which is which.

But I’m still amazed at how well this worked under Linux!

Written by Act1v8

August 20, 2007 at 2:36 pm

Posted in flying, linux

Mugshot and Banshee

leave a comment »


Mugshot
Mugshot is a kind of social service by Red Hat which is very super duper in connecting you with other cool social services on the web like: Last.fm, Facebook, AIM, Google Reader, connecting your blog and all sorts of stuff like that and sharing them with a group or the people in your network. I love it so much that I’m practically addicted to it!

There is one cool feature in Mugshot called “Music Radar”. It works through Last.fm or through Rhythmbox via the Mugshot desktop client. As most of you know I use Banshee for music organization and listening to the organized music. The Mugshot client doesn’t support Banshee yet. The Mugshot team say that they are working on that but I don’t see any improvements.

I remember I read on a blog that in Foresight, my favorite no-use distro, the Mugshot client supports Music Radar reporting through Banshee and that the problem with me is due to the un-updated Mugshot packages in Ubuntu.

Recently I’m being bugged more and more about this feature, so I am thinking of writhing my own plugin for Banshee to utilize the functionality. I don’t think this is a good idea but I have no choice. Wish me luck! (if I ever make it, I’m a bit lazy these days)

Written by Act1v8

August 6, 2007 at 10:03 pm

Posted in linux, mugshot