Archive for February, 2010

TefView Runs Under Wine

TablEdit is a program for creating, editing, printing and listening to tablature and sheet music (standard notation) for guitar and other fretted, stringed instruments, including mandolin and bass. This is a very useful tool for those who are trying to learn a new instrumental tune.  Multiple instrument tracks can also be created; for instance, the user could toggle between tablature for guitar, mandolin, all within the same song file.

TEFview is a free TablEdit file viewer. Files that were created with TablEdit can be viewed/listened to using TEFview. Unfortunately, they only offer a Windows and Mac version of the software.

With past versions of Ubuntu, I have been able to run the TEFviewer under wine, but I had to also install Timidity and and make some custom configurations. Now, with the latest version of Wine and Ubuntu, you can easily intall TEFview.

Download TEFview from http://www.tabledit.com/tefview/.  I installed this on my CrunchBang system which made the process slightly more complicated, but not too bad.  I chose to install Wine-Doors, which I have had good luck with in the past when running under Ubuntu.  When you install Wine-Doors, you are also installing the standard Wine package. Wine is in the Ubuntu repositories and is as easy to install as typing “sudo apt-get install wine” into your terminal emulator.  If you wish to instead install Wine-Doors, download the appropriate file from here: http://wddb.wine-doors.org/downloads.  For Ubuntu, dowload the .deb version.  Navigate to the file in your file manager, right-click on it and select “Open with gdebi package manager”.  Follow the installation procedure.  Once finished, you’ll find a menu launcher under Applications > Wine > Wine-Doors.  Launch Wine-Doors and specify that you do have a valid Windows license; once the setup has completed, a window will open that contains various software that can be installed.  Select File > Install From CD, and then browse to the directory where you saved the TefView software, then select the tefv.exe file and click Run.  Follow the installation wizard.

Here is the TefView in action.

TEFview

TEFview

Latest Desktop

My Thinkpad T30 is probably the machine that I use the most, and it is running Crunchbang Linux.  Screen resolution is only 1024×768.  This screenshot shows one of my recent OpenBox themes; I call it Sage.  I’ll be posting this one along with a handful of other themes on box-look.org sometime soon.  The conky file that I am using is a modified version of Hanna’s.  The black diamond-plate graphic I believe was originally created by Zwopper, although his version had a white #! located in the center of the graphic, which I removed — it’s not that I don’t want to plug my favorite OS, but I was going for simplicity here.

Simple desktop for the T30

Running MoC audio player and htop.

New Wallpaper Images

Here are a couple of new dark wallpaper images.  Both are 1680×1050.

Black Diamond-Plate Diamond-Plate Windmachines

MoCp – Console Audio Player

Recently, there has been a little bit of a buzz out there surrounding the MoC (music on console) audio player. My ramblings here don’t really bring anything new to the table, but I thought that I’d share my ~/.moc/themes/config file with you and share with you how I launch the application.  This is by far my favorite and most frequently used audio player on any of my machines.  MoC is located in the Ubuntu repositories and can be installed easily by typing the following into your terminal emulator:

$ sudo apt-get install moc

Note: everywhere you see “~/path/to/your/music” in this post or in the config file, please change this to the path to your own music directory.

MoCp - Music On Console Player

I choose to use Terminator as my main terminal emulator, and that’s where I execute the MoC player from.  In my ~/.moc/themes/config file, I’ve made a couple of comments regarding how to launch MoC.  You can add an alias to your ~/.bashrc file so that MoC knows to look for your specified theme file when you launch it from the console, or you can directly reference your theme config file from your menu launcher.

# ~/.bashrc alias to launch MoC command line music player using desired theme and to launch in main music menu
# alias mocp='mocp -m ~/path/to/your/music -T config'
# Gnome Panel launcher:
# terminator -x mocp -m ~/path/to/your/music -T config

# Alternatively, if you are using gnome-terminal or xterm instead of terminator, use:
# gnome-terminal -x mocp -m ~/path/to/your/music -T config
# xterm -e mocp -m ~/path/to/your/music -T config

You’ll notice that I’m calling on “mocp” rather than “moc”.  This is because “mocp” is the actual player application that you need to use — Music On Console Player.

On my Ubuntu machine, I’ve created a custom launcher on the Gnome panel that executes the second command that you see listed above, and when executed, MoCP launches and it uses my specified theme.  I use Ubuntu at work, but most all of my other machines are running either Crunchbang Linux (uses the OpenBox window manager), or a custom Debian build with the PekWM window manager.

OpenBox: To launch MoCp from the ~/.config/openbox/menu.xml file, I use the following:

<item label="MoC Media Player">
 <action name="Execute">
 <execute>terminator -x mocp -m ~/path/to/your/music -T config</execute>
 </action>
</item>

PekWM: To launch MoCp from the ~/.pekwm/menu file, I have specified the following:

Entry = "- MoCp Music Player" { Actions = "terminator -x mocp -m ~/path/to/your/music -T config" }

The ~/.moc/themes/config file will control the colors that appear in your MoC player; mine is located here.  I can’t take credit for writing this whole config file as I know that it originally came from elsewhere, but I unfortunately cannot recall who the original author was.  As I have noted in the config file, you will find a good tutorial on configuring MoCp located here.

EDIT:

I’ve decided to add the list of keys that are configured for MoCp; these come from the tutorial linked directly above.

enter — starts playing
s — stops playing
n — plays next item from the playlist
b — plays previous item from the playlist
space — pause
p — pause

S — plays at random
R — repeats the same song in a loop,
Next (X button below) must be OFF
X — switches to play sequentially
o — plays a file from the Internet
u — moves playlist item up
j — moves playlist item down
Ctrl+u — adds the URL to the playlist
g — searches marked string in file names
/ — searches marked string in file names

r — rereads the directory
T — switches to the theme selection menu
f — toggles display mode of song titles
TAB — switches marker bar between the playlist
and the file manager panels
l — switches between displaying the playlist
or the file manager panel
P — switches full path in the playlist
H — toggles hidden files view
Ctrl-t — toggles song duration time
Ctrl-f — toggles format file view
m — moves to directory entered in config file
G — moves to directory with currently played file
i — moves to marked directory
U — moves to upper directory
a — adds a file to the playlist
A — adds a directory recursively to the playlist
C — clears the playlist
V — saves the playlist
d — removes marked item from the playlist
Y — removes all empty items from the playlist

< — decreases volume by 1% , — decreases volume by 5% > — increases volume by 1%
. — increases volume by 5%

x — toggles the mixer channel
? — shows help

! — goes to a fast dir 1 (set in config file)
@ — goes to a fast dir 2
# — goes to a fast dir 3
$ — goes to a fast dir 4
% — goes to a fast dir 5
^ — goes to a fast dir 6
& — goes to a fast dir 7
* — goes to a fast dir 8
( — goes to a fast dir 9
) — goes to a fast dir 10

F1 — executes ExecCommand1 (set in config file)
F2 — executes ExecCommand2
F3 — executes ExecCommand3
F4 — executes ExecCommand4
F5 — executes ExecCommand5
F6 — executes ExecCommand6
F7 — executes ExecCommand7
F8 — executes ExecCommand8
F9 — executes ExecCommand9
F10 — executes ExecCommand10

Return top

-==[ Hilltop_Yodeler ]==-

Welcome to HilltopYodeler, a place where we'll do some hollerin' about Linux, OSS/FOSS, CSS/XHTML, pickin', paddlin', tinkering, snow, rock, bicycles, and other stuff that we're freaky for. Much of what will be discussed here will be related to Ubuntu Linux, Debian Linux, Crunchbang (#!) Linux, Damn Small Linux, OpenBox, PekWM, and Gnome. Grab your coffee... pick up your piolet... tuck in your whiskey nipper... have paddle in hand... grease your boards... bend some wires... plug into your lappie, mow down some sushi... and get your fool-freak yodel on!