Tuesday, July 31, 2012

Mass Resize Photos

mogrify -resize 35% -quality 50% _MG*.JPG
mogrify -rotate -90 _MG*.JPG

Sunday, July 8, 2012

Blogilo 1.1

Blogilo 1.1 Blogger testing Using any hard returns will result in a posting error due to the xml parsing, this now makes Blogilo impossible to use with blogger. Some punctuation also results in an error.

Truecrypt User Mount

If you have truecrypt and want to mount a volume using the gui, you will notice that it requires root access to mount.  Here is how to use the gui to mount and unmount volumes as a user:

First we need to create a group which will have all the permissions required for our users to mount and umount volumes

Login to a shell as root and type the following commands:

groupadd truecrypt

now we need open the visudo file and add permissions for the truecrypt group to work:  (I added the line to the bottom of the file)

visudo

# Users in the truecrypt group are allowed to run truecrypt as root
%truecrypt ALL=(root) NOPASSWD:/usr/bin/truecrypt

make sure you save and exit (if you do not know how to use visudo or vi, man visudo or man vi will help you, you can also google for common vi commands.  IT IS NOT RECOMENDED TO EDIT THE VISUDO FILE FROM ANOTHER EDITOR.  THE SAFE WAY TO EDIT THE VISUDO FILE IS TO RUN VISUDO FROM A ROOT SHELL

Finally we need to add our trusted users to the truecrypt group so they can mount and unmount truecrypt files.

gpasswd -a USERNAME truecrypt

Sunday, June 10, 2012

Boinc Slackbuild on github

Since Slackbuilds will not host my BOINC slackbuild which uses svn to download, compile sources, I created a github account and uploaded them there.

https://github.com/KaMiila/BOINC-SlackBuild

Wednesday, June 6, 2012

Disable root access on SSHD

Why slackware does not initially disable root access on SSHD is beyond me, here is how to turn it off:

login as root:

nano /etc/ssh/sshd_config

Change from:

# PermitRootLogin yes

Chang to:

PermitRootLogin no

Save and exit

Issue command:

/etc/rc.d/rc.sshd restart

**** Make sure you remove the comment (#) or nothing will change ****

Monday, June 4, 2012

Manually Configure Blogilo

The auto-fetch option for blogger did not work for me so I manully configured Blogilo to use blogger. This is my first post from Blogilo (lets hope it actually posts)
Login to your blog via webpage (you may have to click on the name of your blog to get the correct url ID, copy the location)
URL = http://www.blogger.com/blogger.g?blogID=000111222333444555666
Add your username and password
username@gmail.com
Mypasswordisweak
Click on the Advanced tab
Select blogspot.com from the dropdown menu
copy just the blog id number from the url (this was the first step we did)
click OK

EDIT:  This apparently is not working on slackware-current which uses Blogilo version 1.1 and KDE version 4.8.4.  There is an error message:  An error occured in the last transaction. Server (Atom) error: Could not regexp the id out of the result.

Enlightenment hacks

Quicklaunch

If you want to put a quicklaunch of Enligtenment's file manager on your IBar:

Right-click on the IBar --> IBar--> create new icon

Under applications type:

enlightenment_remote -efm-open-dir $HOME

Name it whatever you feel like it, choose an icon you like, click apply, save, then add the new icon to your IBar

Right-click on the IBar --> IBar --> Contents

Scroll down to the icon you created (sorted by name alphabetically)

Adding a systray for all the programs that are running:

Right-click on your shelf --> shelf bottom --> contents

click on systray

you will need to exit Enlightenment and restart it (DONT click the restart button, that will not enable it)  just exit the DE and startx again.


Caution


The Enlightenment devs seem to think their software is stable or at least not beta.  BEWARE IMO it is and should be in the ALPHA stage, there are tons of bugs and minor issues that will annoy you.  You have been warned.

I no longer use E17 after playing around with it for only 30 minutes.  Too many issues to worry about.  But I continue to look at it after each new release to see if they actually fixed anything to make it useable.