gentoo

Brother DCP-J315W and MFC-J430W

Thu, 02/20/2014 - 18:38 -- admin

These are the ebuilds that you will need to setup the drivers for these multifunction printers in Gentoo. You can just pick this tarball and uncompress it in your local overlay. These drivers support the network/wifi feature, for both printing and scanning.

http://www.jesgue.es/files/i92guboj-brother-overlay.7z

If your printer doesn't do anything after setting it up it might be a problem I also hit, related to infinality, please, check this:

http://forums.gentoo.org/viewtopic-t-984414-highlight-.html

Using bashmount-1.6.2 with udevil-0.4.2 (or greater)

Wed, 02/12/2014 - 09:21 -- admin

Hi.

Lately I became fed with all the consolekit disturbances, and decided to finally get rid of it. It has already had its chance but failed misserably, and I am not going to engage into systemd, I have no need of that. So, I started to look for alternatives, and found udevil, which does many things. In first place, it can automount. And then, it allows for 'umounting' as a user. There are also many goodies, like mounting of ISO fs's, sshfs, ftp via curlftpfs and a few others.

It works very well with spacefm, which is another extra goodie that might come in handy (even though I rarelly use a GUI file manager).

The problem is was that, just like with the pmount+uam binomial, there's no frontend to udevil (other than spacefm, that is, and using a file manager just to mount disks doesn't seem to convenient).

XDG, Filezilla and more (II)

Thu, 12/19/2013 - 11:59 -- admin

After this, and then this, I revised my xdg file associator script, and I am putting the revised version here:

#!/bin/bash
# rev 0.002
DESKTOP_FILE=$(basename $(locate "${1}".desktop))
#DESKTOP_FILE="${1}".desktop
FILE_EXTENSION="${2##*.}"
#
if [ "${FILE_EXTENSION}" == "" ]
then
   MIME_TYPE=($(xdg-mime query filetype "${2}"))
else
   cd /usr/share/mime
   MIME_TYPE=($(find . -name *"${FILE_EXTENSION}"*))
fi
#
for type in "${MIME_TYPE[@]}"
do
   type="${type/.\//}"
   type="${type/.xml/}"
   xdg-mime default $DESKTOP_FILE $type
   # The following is just to verify the type is set correctly
   DE_FILE=$(xdg-mime query default $type)
   echo " * ${DE_FILE} set as viewer for MIME type ${type}"
done

FTP, photo collection and file managers

Thu, 12/19/2013 - 11:54 -- admin

Morning :)

Today, I have been looking for a way to manage my remote files. More concretely the photographies I host on an FTP server. This is all part of my plan to take rid of this infamous cloud based service we all know about.

For FTP, I usually use Filezilla, and I don't plan to change that. It is an excellent FTP client, and I wouldn't ever trust anything else for my job (though sometimes I use mc under ssh when I have to work remotely). The problem comes when you have to manage a big image collection though.

QtADB and Gentoo

Mon, 06/10/2013 - 09:51 -- admin

Since I find myself from time to time doing this stuff, and I always forget the concrete steps, I'll just write it here so that in the future it can server as a reference for me. If it's useful to anyone else then so be it. If not, well, as I said, it's for my own reference so I really don't care ;)

In Gentoo all we need is this package to get the Android SDK:

# emerge android-sdk-update-manager

This will install a JRE if you don't have one already. The final emerge messages will tell you to:

# gpasswd -a android

and then re-login.

In addition, this thing needs to be able to erase and recreate dirs under /opt/android-sdk-update-manager, so I had to do this:

# chown root:android /opt/android-sdk-update-manager
# chmod g+w /opt/android-sdk-update-manager

Old website

Sat, 03/30/2013 - 11:26 -- admin

Today I've been doing some maintenance tasks, backups and the like, and when I opened the old folder (a physical one, you know ;=)) where I usually store the optical media used for backups I suddenly remembered about my old web site, which I had shut down like 3 or 4 years ago. It was a tiny site built by writing XHTML and PHP in Bluefish. It's not a big deal, but I decided to rescue it in case someone is missing it (I higly doubt it, but...). Here you can find stuff related to the FVWM window manager and the old XMMS multimedia player. It's old stuff and I have no idea whether it would work nowadays, on a current Linux OS, I have put it back there just for historical and decorative purposes ;) You can find a link to it in the menu to the left, or just here. Cheers!

Subscribe to RSS - gentoo