[Colors]base_color=normal=lightgray,black:input=white,brightred:errors=white,brightred:gauge=yellow,red:selected=gray,lightgray:marked=yellow,black:markselect=yellow,brown:directory=white,black:executable=brightgreen,black:link=green,black:device=brightmagenta,black:special=brown,black:core=brightred,yellow:menu=gray,lightgray:menuhot=yellow,lightgray:menuhotsel=brightred,black:dnormal=white,gray:dfocus=white,brightgreen:dhotnormal=brightred,gray:dhotfocus=brightred,gray:editmarked=white,brightred:editnormal=white,black:editbold=blue,brown:reverse=yellow,black:helpnormal=white,black:helpitalic=brightmagenta,black:helpbold=brightcyan,black:helpslink=yellow,black:helplink=brightblue,black:viewunderline=brightgreen,white
Jun 25, 2010
Midnight Commander gray theme
This is my color theme for Midnight Commander. To apply it, paste code which you can find below into ~/.mc/ini file. Remember to close all running instances of mc before you do this, because that file is overwritten when mc exits and your changes will have no effect.
Jun 17, 2010
mpdgui
Graphical client for Music Player Daemon (MPD)
This project was born because I wanted to learn Swing. Also thumbnail view for audio library is something that looks cool, but none of existing MPD clients (that I know of) provides that view.In addition to Swing and Substance as LAF, this application uses Google Guice as dependency injection framework and EventBus to communication between components. Finally, for connection with MPD server, it uses javampd library.
When I started working on this project, the last version of javampd was 1.3. Currently available version 3.2 is backward incompatible and can't be used. Also I've made small changes to this library, so if you want to build this project, you have to get source code for this library in version 1.3.1 from my repository or you can download compiled javampd-1.3.1.jar.
Screenshots
Build instructions
This project is build by Maven, so all required dependencies are declared in pom.xml file and will be downloaded from the internet. Unfortunately, javampd and Substance are not available from any public Maven repository - you have to manually download and install them in your local Maven repository. Alternatively, in pom.xml is declared my private maven repository which holds those libraries, but this server has slow connection and is often offline. You can try it before manual downloading.Assuming that you have those two libraries installed, or my server works, enter:
$ mvn packageto build this application.
If build was succesfull, two jars will be created in target directory:
mpdgui-VERSION.jarand
mpdgui-VERSION-jar-with-dependencies.jarThe first jar requires all dependencies to be available on classpath to run this application. Second jar has all dependencies inside so it's easier to distribute and execute but it's a little bigger.
Enter
$ java -jar mpdgui-VERSION-jar-with-dependencies.jarto launch application. You can change default settings (MPD host, port and Substance skin) by context menu available on right mouse click.
Compiled jar with dependencies is available to download here.
TODO
On my TODO list waits integration with Last.fm, and few functions available in most MPD clients as search and file system browser.Retrieving thumbnail from the internet currently don't work, but this is planned as part of last.fm integration. You can see actual images if in your home directory exists .covers directory created by Sonata. This also means that unless you create this directory and copy images by hand, this will work only on Linux as Sonata doesn't work on Microsoft Windows.
From less technical things - name for this app would be nice, but this will have to to come rather from other users than me.
If you like this app, or rather whould like it if it was more feature complete, drop a comment bellow. There is a lot things to do, so developers are welcome to contribute.
The most important part now is code refactoring - EventBus and Google Guice were added later during development and not all is designed to work with them - this has to be fixed before any new features will be added.
May 11, 2010
Maven archetype for GWT application
This is simple archetype based on archetype bundled with (org.codehaus.mojo) gwt-maven-plugin. In opposite to archetype from that plugin, this one uses only one web.xml file stored in webapp/WEB-INF directory. Directory war (created in Development Mode) can be removed by clean goal as it's content is copied from appropriate directories when needed (maven-clean-plugin is already configured to do this). At this moment archetype is configured to use GWT 2.0.3 but it works also with earlier versions.
http://bitbucket.org/ajurzyk/gwt-app-archetype
If you have Mercurial in your system, you can clone whole repository:
Enter directory with downloaded sources and execute:
After succesfull instalation, you can delete source files as their are no longer needed.
To generate GWT application use standard archetype:generate command:
Enter created directory (your.artifact.id) and execute:
For details about gwt-maven-plugin usage check http://mojo.codehaus.org/gwt-maven-plugin
Usage
Source code for this archetype is available from Mercurial repository:http://bitbucket.org/ajurzyk/gwt-app-archetype
If you have Mercurial in your system, you can clone whole repository:
or simply download latest snapshot of code in zip file.$ hg clone http://bitbucket.org/ajurzyk/gwt-app-archetype
Enter directory with downloaded sources and execute:
to install archetype in your local Maven repository.$ mvn install
After succesfull instalation, you can delete source files as their are no longer needed.
To generate GWT application use standard archetype:generate command:
$ mvn archetype:generate \ -DarchetypeGroupId=com.ajurzyk \ -DarchetypeArtifactId=gwt-app \ -DarchetypeVersion=1.0 \ -DgroupId=your.package.name \ -DartifactId=your.artifact.id
Enter created directory (your.artifact.id) and execute:
$ mvn gwt:run
For details about gwt-maven-plugin usage check http://mojo.codehaus.org/gwt-maven-plugin
Subscribe to:
Posts (Atom)