Monday, March 25, 2013

Making your user use dmesg again


[06:49:52]  eh, the dmesg thing is a change that happened between 13.1 and 13.37. I personally put it back the way it was, by putting "kernel.dmesg_restrict = 0" in /etc/sysctl.conf

Thank you Urchlay from ##slackware on irc.freenode.com

Thursday, March 7, 2013

Jpilot on Slackware

The Slackbuild readme is missing some key information that is very simple to add (not sure why the maintainer failed to post this as Jpilot is useless without it).

For your user to sync a palm device it must first be added to the dialout group

Second, you may need to edit the preferences in Jpilot:

File --> Preferences --> Settings
   Click the drop-down menu 'Serial Port' and select usb: (if you are using a usb device like I am)
   Click the drop-down menu 'Serial Rate' and select anything 19200 or lower (the higher serial rates may not work, if you are getting problems keep lowering the serial rate, some have reported that 9600 is the highest they can use.  I am able to use 19200, experiment with your system)
   Click Ok

Now for the sync part.  DO NOT click the sync button on Jpilot first!!!!  It will not sync.  You must first click the sync button on your Palm cradle or from the palm hotsync app on your device FIRST, then click the sync button on Jpilot.

Same for when trying to do a backup.

Now that jpilot works for your user, you will probably just buy an overpriced iPhone POS or an ultra buggy crash happy android device.  I warn you, you are just wasting your time with that crap.  Keep your palm, or give it to me!

Friday, September 14, 2012

Saturday, August 25, 2012

Find working process on a mounted device

fuser -m /any/mounted/dir should give you whatever processes could still be active on the mounted device.

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