tag:blogger.com,1999:blog-141174462024-03-14T00:54:16.250-07:00Kevin's WorldKevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.comBlogger180125tag:blogger.com,1999:blog-14117446.post-18804127706583638232017-02-10T08:11:00.001-08:002017-02-10T08:37:20.242-08:00Kevin's Weather ClockI've been wanted to get a Raspberry Pi 3 for a few months now and over Christmas I got a starter kit. Of course this gave me the impetus to do something with it. Coming up with a basic first project was the tricky part. First, I thought about a few complicated things and then decided that a clock would be a good first project. After thinking more about it, maybe a clock that showed the current weather would be a good first project.<br />
<br />
So I did some research and decided on the following parts.<br />
<ul>
<li>Raspberry Pi 3 Starter kit (32GB, 2.5A powersupply)</li>
<li>Official RPi 7" touchscreen</li>
<li>Eleduino Bamboo Touchscreen case </li>
<li>Rii K12BT Bluetooth keyboard (optional)</li>
</ul>
<div>
Putting the unit together was pretty easy, I have done a lot of computer building over the years and this was only difficult because the parts are small.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrg3obge7c5-UP-RepXglbSlT5Ai5asusupQFhgNeyV2HwAa6byOEYYakrW80bB-1uxD7j6dsCn-Ypfv8880sc8Il9xSpxzZ-ods0nym7CCxsxNpBoM1Jvo6ZGZYfjcQ1NvfxG/s1600/IMG_2162.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrg3obge7c5-UP-RepXglbSlT5Ai5asusupQFhgNeyV2HwAa6byOEYYakrW80bB-1uxD7j6dsCn-Ypfv8880sc8Il9xSpxzZ-ods0nym7CCxsxNpBoM1Jvo6ZGZYfjcQ1NvfxG/s320/IMG_2162.jpg" width="320" /></a></div>
<br />
I decided that for the software side I wanted to use NodeJS. I hadn't done much with it at the time so I made a simple website and did most of the data retrieval using client side javascript. In fact the node server was only really serving the pages and not doing any processing on them.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis5uD1mUNj9np9-JHPfVhWrY-nDx9EtIO_5EbPCUvZk2ibGOmFEXqX0iB0q5jWeJSJIdFQmtqkL1jd1f_kzAfO12zQM7nhjpXEwpjVm1DyU1T0rL5juBerguuv4Xjy9CFK3gvK/s1600/IMG_2161.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis5uD1mUNj9np9-JHPfVhWrY-nDx9EtIO_5EbPCUvZk2ibGOmFEXqX0iB0q5jWeJSJIdFQmtqkL1jd1f_kzAfO12zQM7nhjpXEwpjVm1DyU1T0rL5juBerguuv4Xjy9CFK3gvK/s320/IMG_2161.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
I liked this design but felt the current temp was not as easy to read as I wanted it, and it was not a very 'nodejs' project.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
So I decided to take on a v2 of this project. This time using electron, nodejs, reactjs, and mobx. These are some technologies I had become familiar with at work and wanted to use them for a personal project. The clock, map, current, and forecast elements are all react components now and there is a mobx store that has the weather data in in. So when the weather data is updated all the react components respond and are automatically updated. Electron makes the whole project feel more like an 'app' and that is why I used it.</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7yYoUKUGGQqr5ww5ICn2lOt0qoXf2PXlKoZZWqCNcz7XuvQJwEKd-JF6aPDM8hrvLIRrck39mtJ-jzYZJGgja8WdyZaop843Q_tkOPmncUpmgyKBj1plfhzxtGgSLoZmMg9mZ/s1600/IMG_2232.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7yYoUKUGGQqr5ww5ICn2lOt0qoXf2PXlKoZZWqCNcz7XuvQJwEKd-JF6aPDM8hrvLIRrck39mtJ-jzYZJGgja8WdyZaop843Q_tkOPmncUpmgyKBj1plfhzxtGgSLoZmMg9mZ/s320/IMG_2232.jpg" width="320" /></a></div>
<br /></div>
<div>
I have some more ideas on what I might do with it. But for right now, I am happy how it all turned out.<br />
<br /></div>
<div>
The code can be found at: <a href="https://github.com/kdekorte/kwc">https://github.com/kdekorte/kwc</a> in the v2 branch. And to make it work you will need a Weather Underground developer key (free) and to put that and your city and state in the config.js file at the root of the project. The run 'npm install' once and then 'npm run kiosk' to run it full screen or 'npm run start' to run it on your desktop. Kiosk mode is specifically designed for the dimensions of the RPi touchscreen, so if it looks bad on another screen that is why.</div>
<br />
<br />Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com0tag:blogger.com,1999:blog-14117446.post-1698369881807535262014-07-06T06:26:00.000-07:002014-07-06T06:26:29.137-07:00At the 6 month pointSo I have been using my Mac for about 6 or 7 months now and I am still happy with the purchase, so that is a good sign.<br />
<br />
But what are somethings that Linux does better?<br />
<br />
So far the main thing I have found is that Spaces on the Mac is similar but not near as useful as virtual desktops on Linux. When I am using my Linux machine I use virtual desktops constantly, but when I am using the Mac I don't. Not sure why, but so far it has yet to stick, maybe it is because there is not a panel widget to dock widget to make it easy to switch between them.<br />
<br />
Another thing I miss is the package management, sure Apple has the store, but there are several apps that I use that are not in the store and so I have to end up manually updating them. It is very annoying when I want to open a program and the first thing it does is to tell me there is an update to it. Reminds me of using Windows and booting up to 5 apps that need updating. This problem needs to be solved. Maybe Apple or Someone else needs to come up with an "open" store that is searched by the System Update process. Kinda like how there are alternate package repos to Debian and Fedora. Apple needs to provide hooks into system update to make that happen, so I don't see it, but it sure would be nice.<br />
<br />
Finally, I still think that the Finder could use some work. Nautilus has always been a good file manager and I think Finder could learn a few more things from it. There are still some things I don't do "the Mac way" and so that is probably what I am running into. Renaming a file is still not intuitive, pressing Enter should open the file, not rename it and there is no option menu item for rename.<br />
<br />
<br />
<br />Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com2tag:blogger.com,1999:blog-14117446.post-47635170900602801322014-06-18T13:30:00.000-07:002014-06-18T13:31:03.133-07:00Dreaming of a new Thunderbolt DisplayDear Apple,<br />
<br />
Since I have purchased my Macbook Pro 13" (late 2013), I have been hoping to get an Apple Thunderbolt display. Unfortunately, the one that is available is pretty much out of date. So while I am still hoping that Apple will come out with a new one, I thought I would put on my "dream display" hat and write down those thoughts.<br />
<br />
Because Thunderbolt 2 is kinda like a cabled version of PCIe 2.0 in 4x mode. Not quite the bandwidth that most people associate with video cards, but enough to run a decent card, my thought was why can't someone put a video card inside of a Thunderbolt display. After all we have the <a href="http://en.wikipedia.org/wiki/Mobile_PCI_Express_Module" target="_blank">MXM</a> standard which allows the video cards in some laptops to be upgraded. This way when I am docked at the home or office, I have a secondary card that may have some additional OpenGL muscle over the card in the laptop, while still allowing me to have a power saving video card in the laptop itself. I typically use my laptop in clamshell mode when it is docked so I don't use the laptop display in that case. If MXM is not an option how about the option to use the video card from the new Mac Pro in here.<br />
<br />
The resolution of the display should be 4Kish and at least a 16:10 aspect ratio. I think 16:9 is a little "short" for me.<br />
<br />
As for ports on the back of the display<br />
<br />
Input:<br />
1x Thunderbolt 2 in that allows a single connection to the computer<br />
<br />
Output:<br />
1x Thunderbolt 2 (again for connecting additional devices)<br />
1x DisplayPort 1.2 (so I can daisy chain a second display if needed)<br />
1x Mic, built in mic in the display would be nice as well<br />
1x Speakers, the monitor should have speakers as well<br />
1x 1Gb Ethernet<br />
1x WebCam with light when it is active<br />
4x USB 3.0 ports on the back<br />
1x USB 3.0 on front or side<br />
<br />
And make it less than $1000, if possible...<br />
<br />
Sincerely,<br />
<br />
KevinKevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com0tag:blogger.com,1999:blog-14117446.post-10590631500580941042013-11-16T06:11:00.000-08:002013-11-16T06:44:13.683-08:00Moving to MacintoshI'm been using Linux as my primary operating system for more than 13 years, and on and off before then. However, some of the recent changes in the way the desktops are being designed and other factors got me thinking. If the Gnome Desktop is looking more and more like OSX, maybe I should look at OSX. So after 6 months of research, using the equipment in stores, and trying things out I decided that I would get a Mac as my next computer. I also think I was ready for a change in my personal computing.<br />
<br />
So when the new Macbook Pro's were released in October I figured it was time to make the move. I ended up getting a MacBook Pro 13 with a 2.8Ghz i7, 16GB of RAM, and the 512GB SSD (yes, I am now broke for awhile). The hardware that Apple makes is really excellent, and I figured if I really hated OSX, I could always put Linux on the machine. So I have used the machine for a couple of weeks now. And I have to say that while I am not fond of a few things (the menu bar at the top and Spaces just don't work that well compared to virtual desktops), I am finding that I can just use the computer and I am getting used to these changes. It is also nice that when buying hardware and software, I now do not have to spend a few hours researching if it will work in Linux. I can usually just look at the box and know.<br />
<br />
I am also having to get used to paying for software again. I have to admit that being able to install OpenOffice on the Mac was a big reason to consider it. I'm not sure I could fork out another $500 in software for the Mac, so that cost of buying into the Mac is pretty low after purchasing the hardware.<br />
<br />
I also have to admit that this is one of the fastest machines I have ever used for day to day activities. Even faster than some of the massive servers I have used less than 3 years ago. I think the SSD is a big part of that as the CPU clock speed is not all that different.<br />
<br />
Does this mean I have given up on Linux as an operating system, definitely not. I still use it as my primary OS on my work laptop (RHEL 6.3) and I think as a server OS there is nothing better at the moment. I will probably always have a Linux box somewhere in the house, unlike Windows 8. Also a side note here is that Windows 8 is probably one of the main reasons that I started looking at Mac. I know that I don't use Windows personally, but others in my house do and after having a loaner machine here it made us all think that Windows 8 was not for us, at least on the desktop.<br />
<br />
So what does this mean, it means that I need to find someone to take over some of my Linux projects. Over the last year I have not had much time for them anyway due to my work schedule (I travel a lot more now). And it is time the projects had someone focusing on them.Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com9tag:blogger.com,1999:blog-14117446.post-80785145200070371082013-10-19T07:16:00.001-07:002013-10-19T07:16:26.668-07:00Preliminary gnome-mplayer and wayland testingOn my Fedora 19 machine wayland is available and so I thought it would examine what might be needed to make gnome-mplayer run in this configuration. GTK 3 will support wayland, but what I am not finding is a way to embed mplayer into a GTK window. The current code uses the GTKSocket and passes the XID of that window to mplayer for embedding. I am also not completely sure that the GTKPlug/Socket API is going to work on Wayland. According to the GTK 3 manual I see this note<br />
<br />
<span style="background-color: #93c47d;">The GtkPlug and GtkSocket widgets are only available when GTK+ is compiled for the X11 platform and GDK_WINDOWING_X11 is defined. They can only be used on a GdkX11Display. To use GtkPlug and GtkSocket, you need to include the gtk/gtkx.h header.</span><br />
<br />
So the current method of embedding mplayer may be a no go on Wayland/GTK3.<br />
<br />
However, I believe I may have a workaround for all this. I think if we compile gnome-mplayer in GTK2 mode and then use XWayland everything should "just work". It is also possible there will be a way that XWayland is launched for applications that are linked to Xlibs or we may just need to but a wrapper script around gnome-mplayer to ensure it is launched properly even in GTK3 mode. Not the cleanest solution, but better than nothing. Once Fedora 20 is released and Wayland and XWayland are available I will do some more testing and see what needs to happen.Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com1tag:blogger.com,1999:blog-14117446.post-10797942692633343152012-10-30T12:19:00.002-07:002012-10-30T12:19:16.852-07:00gnome-mplayer 1.0.7 released<br />
Announcing the release of gnome-mplayer 1.0.7<br />
<br />
Due to a change in the logging of the application gmtk 1.0.7 is *required* for gnome-mplayer and gecko-mediaplayer<br />
<br />
Notable changes:<br />
<br />
gnome-mplayer now has MPRIS2 support, so as support is added to the applications gnome-mplayer should be able to be controlled from several panel applications. I have requested this support from several applications but as of yet support has yet to appear.<br />
<br />
Added Anamorphic 2.39:1 as a preset screen ratio<br />
<br />
Prevent crash message on shutdown.<br />
<br />
GTK compatible logging system<br />
<br />
Fix problem when controlling the playback of audio only files<br />
<br />
Rework playlist handling in gecko-mediaplayer so that website playlists are handled in a sane manner and caching is done correctly.<br />
<br />
And the normal stuff:<br />
Several bug fixes<br />
Additional keyboard shortcuts and fixes<br />
<br />
<br />
Files:<br />
<br />
http://gmtk.googlecode.com/files/gmtk-1.0.7.tar.gz<br />
<br />
http://gnome-mplayer.googlecode.com/files/gnome-mplayer-1.0.7.tar.gz<br />
<br />
http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-1.0.7.tar.gz<br />
<br />
Enjoy!<br />
<div>
<br /></div>
Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com1tag:blogger.com,1999:blog-14117446.post-43462383327453336872012-08-10T13:32:00.000-07:002012-08-10T14:08:02.712-07:00Using a keyboard and mouse with the Kindle FireAfter <a href="http://kdekorte.blogspot.com/2012/07/upgrading-os-for-android-404-on-kindle.html" target="_blank">installing</a> CM9, with the 3.x kernel, on my Kindle Fire, I read about people connecting keyboards, mice and other USB devices to the Kindle Fire. In order to do this a USB cable referred to as a OTG cable is needed. I happened to order this <a href="http://www.amazon.com/gp/product/B005GI2VMG/ref=oh_details_o01_s00_i00" target="_blank">one</a>, but there were many options. After I got the cable, I plugged a USB 2.0 powered hub into the OTG cable which was then plugged into the Kindle Fire. A powered hub is essential as the Fire does not put out enough voltage to power most external devices. Also, on the Kindle Fire, you will want to install the applications "StickMount" and "File Expert" from the Google Play store.<br />
<br />
Now for the big test. The first thing I did was plug in a USB mouse into the powered USB 2.0 hub. Much to my surprise a mouse cursor appeared on the screen and I was able to move the mouse around and click a few things. I was wondering if the mouse cursor would appear as the Kindle Fire is a touch screen device. Both the touch screen and the mouse worked at the same time, so nothing was lost. So far so good. I then plugged in my USB keyboard and then I opened a browser window and was able to type in the url on the physical keyboard. So now things are looking pretty promising. The next step was to plug in a USB flash drive. Within a second StickMount popped up a prompt asking me to allow it SuperUser access and then informing me that the USB device had been mounted in /sdcard/usbStorage/sda1. I then used File Expert to navigate to that directory and view the files on the flash drive. Everything seemed to be there and I was able to open and interact with files just like files found on the Kindle internal storage. Perhaps with the right USB flash drive, very low power requirements, the USB hub would not be needed and then you would have a solution to the limited space on the Fire. One of my sticks, a 4GB one, almost worked, but the 32GB one definitely would not.<br />
<br />
Now for the things that didn't work. I tried to plug in my 1TB External USB harddrive and while the OS knew something was there, I do not believe the file system drivers were present. I also did not have much luck with my USB Bluetooth adapter. Also while these devices where plugged in I could not charge the Kindle Fire, so I was limited on how long the device would run. <a href="http://www.amazon.com/Samsung-Note-Multi-functional-Connection-Kit/dp/B006MJZOMW/ref=sr_1_1?s=wireless&ie=UTF8&qid=1344629910&sr=1-1&keywords=Mobile+Fun+Connection+Kit+for+Samsung+Galaxy+S3" target="_blank">This adapter</a> from Amazon may allow you to work around that issue.<br />
<br />
So all in all the Fire with the OTG cable, a powered USB 2.0 hub, a USB keyboard and mouse can actually function as a basic computer. Now I would not recommend this setup for full time usage, but if you want something for some basic work that requires a lot of typing on the cheap, this would be one option. I also see no reason why this setup would not work with other Android devices. So if you decide to try this, I would appreciate some feedback. <br />
<br />Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com32tag:blogger.com,1999:blog-14117446.post-80031321805617655502012-07-19T09:40:00.001-07:002012-07-19T09:43:02.795-07:00Upgrading the OS for Android 4.0.4 on the Kindle FireI have a Kindle Fire and it is a pretty nice piece of hardware. I use it for reading and watching videos while I travel weekly. But lately I saw that the new Android OS 4.1 (Jelly Bean) was available for it so I wanted to try it out. Needless to say it was an interesting experiment and I thought at one point that I had broken it forever. Luckily, I did not. In the end I decided to not use the Android 4.1, but to drop back to 4.0.4 because it was a little more polished and all my applications worked on it. After the upgrade the Kindle Fire feels like a new device. It responds better, does things I never expected it to do and still does all the great Kindle things I wanted it originally for.<br />
<br />
Tools you Need:<br />
<br />
<b>On Windows</b> use <a href="http://forum.xda-developers.com/showthread.php?t=1399889">Kindle File Utility</a>, I would recommend that you not run this in a VM and connect the Fire directly to a motherboard USB port. I had better luck running this tool on Windows . <br />
<br />
Run the "install permanent root" part of the setup and that should install FireFireFire (bootloader) and TWRP (recovery tool)<br />
<br />
<b>On Linux</b> use <a href="http://forum.xda-developers.com/showthread.php?t=1430038">FireKit</a> and run the <i>install_fff_twrp_from_stock </i>script as root (this is the actual method I used)<br />
<br />
Once FireFireFire and TWRP are installed you now have complete control of what OS to put on the device.<br />
<br />
So what I did next is to copy a ROM to a folder on the Kindle, doesn't matter where as TWRP will be able to navigate to it.<br />
<br />
I got the Android 4.0.4 ROM (CM9 based) from here: <a href="http://rombot.droidhive.com/ROMs/otter/cm9/">http://rombot.droidhive.com/ROMs/otter/cm9/</a><br />
I also got the Google apps from here: <a href="http://goo.im/gapps">http://goo.im/gapps</a> make sure to use the 20120429 version of them for CM9.<br />
<br />
After the files are copied on to the Kindle, disconnection the Kindle and power it off.<br />
<br />
Boot the Kindle (the logo should be blue now, from FireFireFire) and press the power button to boot it into "recovery" mode. This will start TWRP. First thing you should do is make a backup. This will take about 1GB of space on the Kindle so make sure you have room. After the backup is done, wipe the device including data, cache, dalvik (this will not wipe the SD card). After the wipe is done, install the ROM you just downloaded from the directory on the Kindle. Then install the gapps file you downloaded. I would recommend not flashing them at the same time, but to do one at a time.<br />
<br />
After that you should be able to reboot your Kindle Fire and have a working Android 4.0.4 system after a few minutes of bootup.<br />
<br />
You may also want to install the Amazon Market from here: <a href="https://www.amazon.com/app-email%20">https://www.amazon.com/app-email</a> so that you can redownload and install the apps you have purchased before.<br />
<br />
To enable USB storage access go to Settings -> (Device) Storage and in the top right click on the three dots and select USB Mass Storage<br />
<br />
<br />
Desktop: <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv4VzwG8W3ZVdbM8rU422DNtNt_cdkKz7T5xLBVgn0qlKH8u4yB9Un9_E6i4n8r5GU14WRyDpVqzC0PUsuJrNdRCP-gb39-l_U2p3fONXxKUl1KAjxQwxwtxpiJkHLBxXiiGna/s1600/Screenshot_2012-07-19-10-29-45.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="232" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv4VzwG8W3ZVdbM8rU422DNtNt_cdkKz7T5xLBVgn0qlKH8u4yB9Un9_E6i4n8r5GU14WRyDpVqzC0PUsuJrNdRCP-gb39-l_U2p3fONXxKUl1KAjxQwxwtxpiJkHLBxXiiGna/s400/Screenshot_2012-07-19-10-29-45.png" width="400" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Apps:<br />
<br />
Kindle for Android - Book reading<br />
Next Issue - for reading my Entertainment Weekly subscription<br />
MX Player - for playing videos, works great with subtitled .mkv files<br />
Netflix and HBO Go work fine <br />
<br />
Enjoy<br />
<br />Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com2tag:blogger.com,1999:blog-14117446.post-6849158791904713982012-05-18T09:30:00.001-07:002012-05-18T09:30:12.263-07:00mplayer-video-thumbnailer aka nailer updateI hadn't really noticed that my mplayer-video-thumbnailer had not been working properly in under Gnome3. Some thumbnails were getting updated and others were not. So I finally tracked down the problem and was able to solve it in about 20 mins. It turned out that nautilus had changed its configuration for thumbnails from a gconf entry to something similar to how Thunar does it.<br />
<br />
So I made some changed and bumped the version<br />
<br />
You can download it from here:<br />
<br />
<a href="http://mplayer-video-thumbnailer.googlecode.com/files/nailer-0.4.6.tar.gz">http://mplayer-video-thumbnailer.googlecode.com/files/nailer-0.4.6.tar.gz</a>Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com3tag:blogger.com,1999:blog-14117446.post-56988447076853857982012-05-17T13:50:00.002-07:002012-05-17T13:50:31.625-07:00MPRIS2 support in GNOME MPlayer<a href="http://specifications.freedesktop.org/mpris-spec/latest/index.html">MPRIS2</a>is becoming the standard way of controlling media players over DBUS. Since GNOME MPlayer already had much of this capability built in due to the usage of DBUS to communicate with gecko-mediaplayer I decided to add MPRIS support in to the upcoming 1.0.7 release of gnome-mplayer.<br />
<br />
After a few days of work, much of the MPRIS specification has been implemented. Really not that hard except for having to figure out how to implement some of the more unusual types. The <a href="http://github.com/randomguy3/mpristester/">mpristester </a>application was a huge help in debugging and ensuring that the implementation went correctly.<br />
<br />
After initial support was working I began testing the code with a few of the gnome-shell extensions that use MPRIS to control several media players. I had to make a few modifications to them, mainly just adding "gnome-mplayer" to the list of supported players and after that they just started working.<br />
<br />
So if you use one of these extensions, tell them to add support for gnome-mplayer to there application. And as always if they have issues, I should be able to fix the problems within a short period.<br />
<br />
The code is in SVN now, and I recommend that you get gmtk and gnome-mplayer from SVN for the best support.<br />
<br />
<br />Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com0tag:blogger.com,1999:blog-14117446.post-46554981519477102472012-04-06T09:07:00.003-07:002012-04-06T09:07:59.949-07:00ANNOUNCE 1.0.6Version 1.0.6 of gmtk, gnome-mplayer and gecko-mediaplayer has been released.<br /><br />The following changes have been made over 1.0.5<br /><br /><b>gmtk</b><br /><br />Setting PulseAudio as the default Audio Output is recommended for systems configured with PulseAudio as the default output device and volume is now tracked properly<br /><br />Size allocation bugs are now fixed as well as media restarts when needed.<br /><br />Added -zoom option to mplayer commandline when x11 is picked as the vo<br /><br />Fixed compile issues due to missing libm<br /><br />Fixed several pointer issues<br /><br /><b>gnome-mplayer</b><br /><br />Removal of some older non-used code<br /><br />Fixed some issues with some websites to solve gecko-mediaplayer issues<br /><br />Enhance key handler to work with remapped keys<br /><br />Add Preference to disable Nautilus plugin if desired, allows plugin package to be installed, but not enabled in nautilus. Solves some packaging issues<br /><br /><b>gecko-mediaplayer</b><br /><br />Fix problem in style parser, which causes some sites not to work.<br /><br />Remove some noise from the xsession-errors file<br /><br />Removal of "--enable_new_libxul" configure command as it is now autodetected. <br /><br /><br />The files can be found here:<br /><br /><a href="http://gmtk.googlecode.com/files/gmtk-1.0.6.tar.gz">http://gmtk.googlecode.com/files/gmtk-1.0.6.tar.gz</a><br /><br /><a href="http://gnome-mplayer.googlecode.com/files/gnome-mplayer-1.0.6.tar.gz">http://gnome-mplayer.googlecode.com/files/gnome-mplayer-1.0.6.tar.gz</a><br /><br /><a href="http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-1.0.6.tar.gz">http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-1.0.6.tar.gz</a>Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com1tag:blogger.com,1999:blog-14117446.post-9017630524483942192011-12-29T07:00:00.000-08:002011-12-29T07:00:03.734-08:00ANNOUNCE 1.0.5Version 1.0.5 of gmtk, gnome-mplayer and gecko-mediaplayer have been released<br /><br />The build process is the same as 1.0.5b1 which is documented here:<br /><br /><a href="http://kdekorte.blogspot.com/2011/10/105b1-of-gmtk-gnome-mplayer-and-gecko.html">http://kdekorte.blogspot.com/2011/10/105b1-of-gmtk-gnome-mplayer-and-gecko.html</a><br />
<br />The following fixes have been made since 1.0.4<br /><br />gmtk <br /><br />This library is new as of 1.0.5 and is required for the build. Several common functions and routines in gnome-mplayer and gecko-mediaplay have been moved to this library. Which should result in a slightly smaller installed code size. <br /><br />gmtk can be used to build your own media players as widgets have been created to control mplayer. A simple media player can be built using this library very quickly. If you have questions about this library and how to use it in your GTK application, please email the list and I will cover its usage.<br /><br /><br />gnome-mplayer<br /><br />Removal of large amounts of code that are now present in gmtk<br />Customization of Menu Hot keys<br />Remove need of mplayer config file<br />--vo and --dvd_device command line options<br />Several other small fixes <br /><br /><br />gecko-mediaplayer<br /><br />Due to changes at Apple, QT files from Apple.com are now fully downloaded before playing, prevents mplayer from crashing or going into a infinite loop<br /><br />Workaround xulrunner issues due to the API changing but Mozilla not bumping the API version<br /><br />Conversion to gmtk for preference storage and other common routines.<br /><br /><br />Download links:<br /><br /><a href="http://gmtk.googlecode.com/files/gmtk-1.0.5.tar.gz">http://gmtk.googlecode.com/files/gmtk-1.0.5.tar.gz</a><br /><br /><a href="http://gnome-mplayer.googlecode.com/files/gnome-mplayer-1.0.5.tar.gz">http://gnome-mplayer.googlecode.com/files/gnome-mplayer-1.0.5.tar.gz</a><br /><br /><a href="http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-1.0.5.tar.gz">http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-1.0.5.tar.gz</a><br />Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com2tag:blogger.com,1999:blog-14117446.post-24075638450570882252011-12-06T18:42:00.001-08:002011-12-06T18:47:33.578-08:001.0.5 is getting closerSorry for the long delay in getting 1.0.5 out the door. There have been a lot of changes and fixes for some minor issues that have been painful to fix. Apparently, the nsapi has changed again and was not properly versioned in all instances. So several attempts were made to detect and work around the problems. I believe we have solved the issues. You can read <a href="http://code.google.com/p/gecko-mediaplayer/issues/detail?id=161">issue 161</a> for all the gory details: 158-162 are all related to this problem.<br />
<br />
I hope to have some time in the last weeks of December to get the release out the door. Hopefully, it will be painless as packages have been made and a large amount of testing has been done.<br />
<br />
My work schedule has been a little busier over the last few months so I have had less time to spend on these applications. Also, I want to make sure we don't have any surprises. I expect we will, but I want to try and minimize them.Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com0tag:blogger.com,1999:blog-14117446.post-41517514604145332112011-11-25T07:05:00.001-08:002011-12-16T05:47:36.352-08:00mplayerplug-in and Firefox 8I've received a few emails that mplayerplug-in may not be working with Firefox 8. While I have not personally looked into this yet I believe this may be due to the removal of XPCOM in Firefox. The best option going forward would be to migrate from mplayerplug-in to gecko-mediaplayer. gecko-mediaplayer uses the nsapi that Mozilla recommends for plugins.<br />
<br />
Now I know everyone's first thought is that gecko-mediaplayer and gnome-mplayer have to many dependencies or that gnome-mplayer requires gnome. Well lets be frank. The only main requirement difference and dependency, if you are using Firefox, is that gecko-mediaplayer/gnome-mplayer require that dbus is present and running on the system. I've done some testing and dbus does not really add much RAM or CPU usage when it is not being used. <br />
<br />
<br />
<div style="text-align: left;">
<span style="font-family: "Courier New",Courier,monospace; font-size: x-small;">top - 08:10:30 up 7 days, 31 min, 8 users, load average: 1.08, 0.35, 0.16<br />Tasks: 3 total, 0 running, 3 sleeping, 0 stopped, 0 zombie<br />Cpu(s): 3.1%us, 2.8%sy, 0.0%ni, 93.7%id, 0.2%wa, 0.2%hi, 0.0%si, 0.0%st<br />Mem: 8179620k total, 6119660k used, 2059960k free, 608028k buffers<br />Swap: 2103292k total, 0k used, 2103292k free, 2992068k cached<br /><br /> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND <br /> 1686 kdekorte 20 0 24992 3572 704 S 0.3 0.0 9:45.59 dbus-daemon <br /> 899 dbus 20 0 22996 2684 1236 S 0.0 0.0 0:09.42 dbus-daemon <br /> 1685 kdekorte 20 0 22220 508 300 S 0.0 0.0 0:00.00 dbus-launch</span></div>
<br />
As stated before gnome-mplayer does not require any gnome components, it originally did, but those components have been replaced with GTK/GLIB or other optional libraries. It can be configured to not use gconf or dconf. gnome-mplayer can be compiled to support GTK2 or GTK3 and since GTK is used by Firefox no additional library is added there.<br />
<br />
mplayerplug-in does not support many of the features that gecko-mediaplayer does. The javascript is better, the support for Quicktime is better, and many of the problems that mplayerplug-in has are resolved in gecko-mediaplayer. So it is time for mplayerplug-in to finally go away.Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com1tag:blogger.com,1999:blog-14117446.post-60606493619684388622011-10-03T10:12:00.001-07:002011-10-05T04:39:30.246-07:001.0.5b1 of gmtk, gnome-mplayer and gecko-mediaplayerAnnouncing the release of version 1.0.5b1 of the following packages<br />
<br />
gmtk<br />
gnome-mplayer<br />
gecko-mediaplayer<br />
<br />
The building of these packages is a little different than 1.0.4 due to the addition of gmtk.<br />
<br />
gmtk is a common library that is used by gnome-mplayer and gecko-mediaplayer. So build and install it first, it should auto configure for most situations<br />
<br />
About the only options you will need other than the prefix and the libdir are the following<br />
<br />
--enable-gtk3 or --disable-gtk3<br />
<br />
And then to select the backend for preference stores, either let the application configure it self to choose the best option or pick _one_ of these<br />
<br />
--enable-gconf<br />
--enable-gsettings GTK 2.26 or higher required for this one<br />
--enable-keystore<br />
<br />
On Fedora 15 (x86_64) I use the following command to configure gmtk<br />
<br />
./configure --prefix=/usr --libdir=/usr/lib64<br />
<br />
<br />
Once gmtk is compiled and installed build gnome-mplayer and then gecko-mediaplayer. They will use the version of gtk and backend that were chosen in gmtk, so no need to re-specify those options. So please check your flags if you have scripted these builds in the past.<br />
<br />
tar files of the source can be obtained from the following links:<br />
<br />
<a href="http://gmtk.googlecode.com/files/gmtk-1.0.5b1.tar.gz">http://gmtk.googlecode.com/files/gmtk-1.0.5b1.tar.gz</a><br />
<br />
<a href="http://gnome-mplayer.googlecode.com/files/gnome-mplayer-1.0.5b1.tar.gz">http://gnome-mplayer.googlecode.com/files/gnome-mplayer-1.0.5b1.tar.gz</a><br />
<br />
<a href="http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-1.0.5b1.tar.gz">http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-1.0.5b1.tar.gz</a>Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com2tag:blogger.com,1999:blog-14117446.post-40177173852597837112011-08-12T07:52:00.000-07:002011-08-12T07:52:31.417-07:00Savage2 and Heros of Newerth on Fedora 15 using ATI/Gallium/Mesa 7.11I was having some weird issues with Savage2 and Heroes of Newerth on my ATI/Gallium/Mesa 7.11 setup. They would crash stating that either OpenGL 2.0 was unavailable or an extension was missing. I was finally able to track this down by useing LIBGL_DEBUG=verbose<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">LIBGL_DEBUG=verbose ./savage2_update.bin </span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">warning: The VAD has been replaced by a hack pending a complete rewrite</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">libGL: OpenDriver: trying /usr/lib64/dri/r600_dri.so</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">libGL error: dlopen /usr/lib64/dri/r600_dri.so failed (/home/kdekorte/Savage2/libs/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib64/dri/r600_dri.so))</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">libGL error: unable to load driver: r600_dri.so</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">libGL error: driver pointer missing</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">libGL error: dlopen /usr/lib64/dri/swrast_dri.so failed (/home/kdekorte/Savage2/libs/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib64/dri/swrast_dri.so))</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">libGL error: unable to load driver: swrast_dri.so</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">libGL error: reverting to indirect rendering</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">Savage2 - Fatal Error: OpenGL 2.0 not available.</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">Segmentation fault (core dumped)</span><br />
<br />
So I went into /home/kdekorte/Savage2/libs/ (this is where I installed Savage2) and renamed libstdc++.so.6 to old.libstdc++.so.6 and tried again. After that Savage2 started working. I did the same thing with Heroes of Newerth and that solved its problem as well.Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com0tag:blogger.com,1999:blog-14117446.post-89581698783916833962011-07-20T12:53:00.000-07:002011-07-20T12:53:48.509-07:00Keyboard CustomizationOne of the common requests I get for gnome-mplayer is the option to customize the keyboard hot keys. One thing about a US keyboard is that it has keys that a Russian keyboard does not have. So when I hardcode a hotkey, it may work for me, but may cause problems for others. So I have finally gotten around to building this functionality into the code.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK4z9NuqK7zZ5B_zr40zeAuPuCtswDH_LT6Fnm1bgwZsrBcntfy8HoN3Ke-Bibk6gwBnpGybS0gajjPhzCsP4v08Ww9GSsupvPtfR8yh9ujtHjemnSpKUUd3DWx8eLgLGGKX8X/s1600/Screenshot-GNOME+MPlayer+Configuration.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="345" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK4z9NuqK7zZ5B_zr40zeAuPuCtswDH_LT6Fnm1bgwZsrBcntfy8HoN3Ke-Bibk6gwBnpGybS0gajjPhzCsP4v08Ww9GSsupvPtfR8yh9ujtHjemnSpKUUd3DWx8eLgLGGKX8X/s400/Screenshot-GNOME+MPlayer+Configuration.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Keyboard Customization screen</td></tr>
</tbody></table>As of right now I only have the menu shortcuts working with this new method. If it turns out that this method works properly with Russian or other keyboards, then I'll add more shortcuts to this screen.<br />
<br />
To use this you need SVN of gnome-mplayer and gmtk from July 20, 2011 or later. gmtk is only needed as I added one function to it.Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com2tag:blogger.com,1999:blog-14117446.post-58509838827527069672011-07-13T13:40:00.000-07:002011-07-13T13:40:05.975-07:00Sample builds of gnome-mplayer based on gmtkHere are some sample tar files of gmtk, gnome-mplayer and gecko-mediaplayer. <br />
<br />
I don't think I have the schema file installs working correctly yet, so <br />
you might need to install these packages on top of 1.0.4 <br />
<br />
<br />
<a href="http://www.google.com/url?sa=D&q=https://dekorte.homeip.net/download/gmtk-1.0.4.tar.gz" rel="nofollow" target="_blank">https://dekorte.homeip.net/download/gmtk-1.0.4.tar.gz</a> <br />
<a href="http://www.google.com/url?sa=D&q=https://dekorte.homeip.net/download/gnome-mplayer-1.0.5.tar.gz" rel="nofollow" target="_blank">https://dekorte.homeip.net/download/gnome-mplayer-1.0.5.tar.gz</a> <br />
<a href="http://www.google.com/url?sa=D&q=https://dekorte.homeip.net/download/gecko-mediaplayer-1.0.5.tar.gz" rel="nofollow" target="_blank">https://dekorte.homeip.net/download/gecko-mediaplayer-1.0.5.tar.gz</a><br />
<br />
Build gmtk first and install it, then build and install gnome-mplayer and gecko-mediaplayer.<br />
<br />
For gmtk you might need to specify libdir on the configure command.<br />
<br />
Example on Fedora 15 64bit.<br />
<br />
./configure --prefix=/usr --libdir=/usr/lib64<br />
Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com0tag:blogger.com,1999:blog-14117446.post-88420090532617150762011-07-01T09:56:00.000-07:002011-07-01T09:56:19.014-07:00Announcing gnome-mplayer 1.0.4 and gecko-mediaplayer 1.0.4Announcing gnome-mplayer 1.0.4 and gecko-mediaplayer 1.0.4<br />
<br />
gnome-mplayer improvements:<br />
<br />
Conversion to the gmtk_media_player backend which isolates all mplayer control operations to a gtk widget. This is the majority of the change with over 3000 lines either moved or changed, and also the reason for the long testing period.<br />
<br />
Various bug fixes over 1.0.3<br />
<br />
GTK3 support, enable with --enable-gtk3 on the configure line.<br />
<br />
Additional languages<br />
<br />
Detection of Ubuntu global menus, assumed to be true when UBUNTU_MENUPROXY is defined in the environment.<br />
<br />
dconf / gsettings preference store is enabled when using glib 2.26 or higher. Gconf support can be preferred with --with-gconf=yes<br />
<br />
<br />
<br />
gecko-mediaplayer improvements:<br />
<br />
Several javascript api enhancements to support more functions<br />
Added Portuguese translation<br />
More improvements for Apple sites<br />
<br />
<br />
TAR Files:<br />
<br />
http://code.google.com/p/gnome-mplayer/downloads/detail?name=gnome-mplayer-1.0.4.tar.gz<br />
<br />
http://code.google.com/p/gecko-mediaplayer/downloads/detail?name=gecko-mediaplayer-1.0.4.tar.gzKevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com0tag:blogger.com,1999:blog-14117446.post-60770485323154459782011-06-09T09:32:00.001-07:002011-06-09T09:32:50.819-07:00ANNOUNCE gnome-mplayer and gecko-mediaplayer 1.0.4b2This is to announce the second and hopefully last beta for the 1.0.4<br />
series of gecko-mediaplayer and gnome-mplayer<br />
<br />
This beta includes fixes for the tunein.com website that enhance the<br />
Windows Media Player emulation in javascript.<br />
<br />
gnome-mplayer<br />
<br />
<a class="moz-txt-link-freetext" href="http://code.google.com/p/gnome-mplayer/downloads/detail?name=gnome-mplayer-1.0.4b2.tar.gz&can=2&q=">http://code.google.com/p/gnome-mplayer/downloads/detail?name=gnome-mplayer-1.0.4b2.tar.gz&can=2&q=</a><br />
<br />
gecko-mediaplayer<br />
<br />
<a class="moz-txt-link-freetext" href="http://code.google.com/p/gecko-mediaplayer/downloads/detail?name=gecko-mediaplayer-1.0.4b2.tar.gz&can=2&q=">http://code.google.com/p/gecko-mediaplayer/downloads/detail?name=gecko-mediaplayer-1.0.4b2.tar.gz&can=2&q=</a><br />
<br />
<br />
Please let me know if you have any issues with these packages.Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com2tag:blogger.com,1999:blog-14117446.post-42318340065541826832011-06-01T13:46:00.000-07:002011-06-09T09:33:08.307-07:00ANNOUNCE gnome-mplayer and gecko-mediaplayer 1.0.4b1<span style="font-family: inherit;">I am releasing the current SVN code to get some more testing exposure. I have been using the code for a couple of weeks and I am pretty satisfied with how things are working. I'm sure there might be a few bugs mainly due to the size of the changes in the code, but many of my test cases are working well.<br />
<br />
The code can be obtained from here:</span><br />
<br />
gnome-mplayer<br />
<br />
<a class="moz-txt-link-freetext" href="http://code.google.com/p/gnome-mplayer/downloads/detail?name=gnome-mplayer-1.0.4b1.tar.gz&can=2&q=">http://code.google.com/p/gnome-mplayer/downloads/detail?name=gnome-mplayer-1.0.4b1.tar.gz&can=2&q=</a><br />
<br />
GTK3 support can be enabled in gnome-mplayer with the --enable-gtk3 flag<br />
passed to configure.<br />
<br />
<br />
gecko-mediaplayer<br />
<br />
<a class="moz-txt-link-freetext" href="http://code.google.com/p/gecko-mediaplayer/downloads/detail?name=gecko-mediaplayer-1.0.4b1.tar.gz&can=2&q=">http://code.google.com/p/gecko-mediaplayer/downloads/detail?name=gecko-mediaplayer-1.0.4b1.tar.gz&can=2&q=</a>Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com0tag:blogger.com,1999:blog-14117446.post-35767603301199035532011-05-18T10:45:00.000-07:002011-05-18T10:45:46.573-07:00New Asterisk BoxAbout six months ago I built an <a href="http://www.asterisk.org/">Asterisk</a> box for my home network. It allowed my to manage the phones around my house much better and to give a little more control as to what rings where and when. Everything more or less worked ok, but I had built it on my main file server and due to a motherboard issue the <a href="http://www.openvox.cn/products/show.php?itemid=41&lang=2">Openvox A800P</a> card I had would occasionally have interrupt issues and make the calls choppy. I was able to correct most of these issues by not using the FXS daughter cards on the A800P by using a <a href="http://www.cisco.com/en/US/products/ps10029/index.html">Cisco/Linksys PAP2T</a> phone adapter, but still could generate problems with large amounts of disk activity which on a file server happen quite often. Additionally, I wanted to make the phone server to be separate from the file server.<br />
<br />
After looking around I found an ideal box for my new server. Jetway offers a tiny Intel Atom based server the <a href="http://www.jetway.com.tw/jw/barebone_view.asp?productid=773&proname=JBC110C96-525-B%20/%20JBC110C96-52W-B">JBC110C96-525-B</a> which has just enough room to fit the A800P card into it, which was a concern. Actually, getting the card into the machine was kinda tricky and I was concerned I was going to break it. The machine was cheap (< $200 from NewEgg) considering it reports itself as a 4 core 1.8 Ghz processor (I'm sure two are hyperthreaded) and with 2GB of RAM in it, runs very nice. I had a spare 160GB laptop SATA hard drive that I used as the primary storage. You really only need about 20GB for a PBX in a Flash (PIAF) install, and even that is overkill. Tempting to run it off a flash drive.<br />
<br />
My experience with PIAF has been hit and miss. I like that everything pretty much works as they say it does. However, I don't like that they don't bother to package all the customizations as RPMS like the base system. To me it would be a big win if they bothered to do that. I also needed to patch the dahdi drivers to support the A800P card. Which if I had not done it before would have been much more difficult. I'm not sure why PIAF can't just provide these drivers in the base install.<br />
<br />
Second FreePBX the web management interface to Asterisk has some real problems. I could not get it to configure my outgoing calls to go the way I wanted them, so I actually ended up removing the FreePBX generated configuration files and ended up using my own from the last server. I'm sure I'm losing some features by doing this, but the frustration of making it work drove me nuts. Probably some of this had to do with me not understanding the software that well, but it appeared to me that I had configured it correctly.<br />
<br />
All in all the hardware is great, cheap, and dead quiet. The box has plenty of power to handle multiple calls. I've very positive it could scale to at least 10 with no problem, and probably 25 to 30. If I could get a pair of 1.5TB 2.5" SATA drives that were cheap and reliable (seems to be some issues with the quality of these drives at the moment) I would be very tempted to replace my big file server with one of these boxes. <br />
<br />
All in all, I'm happy with the hardware I chose, not as much with the software, but there doesn't seem to be any better option at this point.Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com0tag:blogger.com,1999:blog-14117446.post-22360452443614813502011-05-18T10:19:00.000-07:002011-05-18T10:19:36.194-07:00Apple Trailers on Fedora 15I just want to know if this is a local problem or not. I went to <a href="http://trailers.apple.com/trailers/paramount/thor/">http://trailers.apple.com/trailers/paramount/thor/</a> to test some problems with Apple trailers in gecko-mediaplayer. The problem is that the option to select the trailers are no longer showing up. I have this same issue in chrome and in another account. So I'm wondering if it is Fedora 15 problem or something local here. My Fedora 14 machine shows the screen perfectly.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy6F5B0ilsG-j4JONow-a4hBYQqpBgdRnSRSj3ef_R5qutCnuoTZlri_zhyLoV-S_c2rqJIpptP4EbqF0EiWeUysnP_R49LJHXKV6stowTKXc31WFyN-L-9hiDQPWU7SKxP6xs/s1600/Screenshot-Thor+-+Movie+Trailers+-+iTunes+-+Mozilla+Firefox.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="272" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy6F5B0ilsG-j4JONow-a4hBYQqpBgdRnSRSj3ef_R5qutCnuoTZlri_zhyLoV-S_c2rqJIpptP4EbqF0EiWeUysnP_R49LJHXKV6stowTKXc31WFyN-L-9hiDQPWU7SKxP6xs/s320/Screenshot-Thor+-+Movie+Trailers+-+iTunes+-+Mozilla+Firefox.png" width="320" /></a></div><br />
Note how on this screen the red box that is normally on the left is missing. Any ideas? It worked last Friday that I know of.Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com0tag:blogger.com,1999:blog-14117446.post-59621405725217681302011-05-02T10:14:00.000-07:002011-05-02T10:17:29.262-07:00Gnome Mplayer 1.0.4 beta statusOver the weekend I battled with gnome-mplayer/gmtk. It kept hanging on startup or crashing after running for a short period of time. Eventually, I found the problem and it was something I should have known better to do. I was setting GTK values, size allocations and colors, in the thread. This is just something you don't want to do. I could have used thread guards, but I decided to put things into the GTK idle loop, which a technique I have used in the past that works well.<br />
<br />
As part of the testing I wanted to make sure that the iPad playback was still working properly, and it appears to be so far.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO-KD89oghmIuzZ0pUL9fkvLEQZCO8Q_o3gSW6ArHEFv-bBYYWgN0sZNyfKghAD7lcDNQZsuld-lYMX7oxcSvxld493Q9AKfs3h98P1rFqRm_x3QJBY8xv2jBg0KUZTtkURquf/s1600/Screenshot-Nirvana+-+Smells+Like+Teen+Spirit+-+%2528161-182%2529+-+GNOME+MPlayer.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="233" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO-KD89oghmIuzZ0pUL9fkvLEQZCO8Q_o3gSW6ArHEFv-bBYYWgN0sZNyfKghAD7lcDNQZsuld-lYMX7oxcSvxld493Q9AKfs3h98P1rFqRm_x3QJBY8xv2jBg0KUZTtkURquf/s400/Screenshot-Nirvana+-+Smells+Like+Teen+Spirit+-+%2528161-182%2529+-+GNOME+MPlayer.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Gnome Mplayer playing music off an iPod</td></tr>
</tbody></table><br />
Any testing that could be done on the current SVN of gnome-mplayer would be appreciated.Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com0tag:blogger.com,1999:blog-14117446.post-24321899669819395632011-04-29T09:43:00.000-07:002011-04-29T09:43:44.149-07:00Gnome Mplayer StatusI've been working the last week to convert gnome-mplayer to use my gmtk_media_player widget backend. So far really good progress has been made and things are shaping up nicely. Found a few problems here and there vs the code I built to do the initial testing of gmtk_media_player before I converted to it, but that was pretty much expected.<br />
<br />
The good news is that performance and memory usage seem to be about the same so far. Also, I'm really liking the event based structure of the code. It is much clearer what is going on with mplayer now to the main code.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv-fW7TvkM_5WcojDwTPEVhycU2C24x6SJv_pDVdyH2-vZqdsYIdX1PfR_ouYGKtKMFJKRl9117ziLdHe0TTAo6IhVXWsQGIx6wB7I_HBnZmwGOS-MrjZDfnTVikfN-FUzbXwZ/s1600/Screenshot-www.thematrix.com+-+Animatrix+Trailer+-+GNOME+MPlayer.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="258" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv-fW7TvkM_5WcojDwTPEVhycU2C24x6SJv_pDVdyH2-vZqdsYIdX1PfR_ouYGKtKMFJKRl9117ziLdHe0TTAo6IhVXWsQGIx6wB7I_HBnZmwGOS-MrjZDfnTVikfN-FUzbXwZ/s400/Screenshot-www.thematrix.com+-+Animatrix+Trailer+-+GNOME+MPlayer.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">gnome-mplayer, 1.0.4beta, GTK3</td></tr>
</tbody></table>I have an idea of how to get zooming to work, but it might require clutter to do it. I'm thinking of embedding gmtk_media_player into a clutter actor and then taking advantage of the capabilities of clutter. I did this in fosfor about 6 months or more ago, and I noticed that totem recently started using clutter as well for the same purpose.Kevin DeKortehttp://www.blogger.com/profile/16570447287826184242noreply@blogger.com0