Wednesday, June 22, 2011
oops
What if you woke up one day and realized that you have left a trail of hurt and lies behind you and even you couldn’t make sense of it any more? What if there was no one that you could think of to look to for help. What if you realized that even surrounded, you are eternally alone. What if all it was that you could do was to stuff it all down deep inside and try to pretend that you are actually human like all of them.
Thursday, March 3, 2011
Thinkpad SL410 Crunchbang 10 "Statler" Debian 6.0 (revised incomplete)
Thinkpad SL410 Crunchbang 10 "Statler" Debian 6.0
This Article has been updated as of March 2011Laptop Specifications:
thinkpad_acpi unsupported Thinkpad detected!
This warning can be stopped by blacklisting thinkpad_acpi. You don't lose any functionality that you have because the module isn't loading anyway this just cleans up the boot messages.
"Waiting for /dev to be fully populated...[ 5.609978] ACPI I/O resource 0000:00:1f.3 [0x1c00d-0x1c1f] conflicts with ACPI region SMBI [0x1c00d-0x1c0f]"
This message can be stopped by blacklisting i2c_i801 again no loss aside from what already doesn't work.
There is a sync issue with the intel graphics in the current stable releases that can be worked around by appending "i915.powersave=0" to the kernel line in grub.
And now I have a smooth boot and in squeeze and most all distros, now including RHEL 6 Workstation, Fedora 14, Ubuntu 10.10, suspend is perfect.
I am having issues with Redhat based distros and a weird issue with the mouse pointer getting jumpy and pretty much the whole interface slowing down. Not really too sure what that is about yet but I'm hoping to get it worked out soon.
Friday, March 12, 2010
everytime i see this it makes me smile. :-y
This message was sent using the Picture and Video Messaging service from Verizon Wireless!
To learn how you can snap pictures and capture videos with your wireless phone visit www.verizonwireless.com/picture.
Note: To play video messages sent to email, QuickTime� 6.5 or higher is required.
Saturday, February 13, 2010
Linux Phrasebook Essential Code and Commands by Scott Granneman
Just picked up a copy of this book from books-a-million and I have to say it is very handy. My opinion is that most people aren't experts and even if someone is they still forget things. But for us normal users, that is those of us who seem to always have an open terminal, this book is awesome. I learned everything I know from googleing and reading articles and this can be tough to do when those that think they know more treat "newbies" as inferior in some way. So you just pick up the bits and pieces as you go along until you can manage things at times without really understanding what you are typing into that blinking cursor.
Well, that is where this book fits. It explains the essentials in a non threatening way, and in plain English. I have already found new things about old things that I didn't know. I would urge everyone to pick a copy of this up.
Well, that is where this book fits. It explains the essentials in a non threatening way, and in plain English. I have already found new things about old things that I didn't know. I would urge everyone to pick a copy of this up.
Tuesday, January 26, 2010
Syncing Folders Between two Machines Running Linux
There was a thread in th #! forums that peaked my interest. A user wanted to be able to easily sync the music folder on a laptop with that of a desktop. I thought it was an awesome idea. Here is my solution:
install sshfs on the laptop
sudo aptitude install sshfs
install openssh-server and client on the desktop if not already there.
sudo aptitude install openssh-server openssh-client
Create a temporary directory for mounting the desktops music folder on the laptop. I created one named "desk_music"
Now you can use this script to sync your music!
#!/bin/bash
count=$(ping -c 4 192.168.1.100 | grep 'received' | awk -F',' '{ print $2 }' | awk '{ print $1 }')
if [ $count -eq 0 ]; then
echo "failure"
else
echo "we're in business" &
sshfs chelsea@192.168.1.100:/home/chelsea/Music /home/monkeybritt/desk_music;
cp -rnv /home/monkeybritt/desk_music/* /home/monkeybritt/Music;
fusermount -u /home/monkeybritt/desk_music
fi
using cp with the -rnv argument tells it to copy recursively and to skip existing files, and the v (verbose) will show progress.
install sshfs on the laptop
sudo aptitude install sshfs
install openssh-server and client on the desktop if not already there.
sudo aptitude install openssh-server openssh-client
Create a temporary directory for mounting the desktops music folder on the laptop. I created one named "desk_music"
Now you can use this script to sync your music!
#!/bin/bash
count=$(ping -c 4 192.168.1.100 | grep 'received' | awk -F',' '{ print $2 }' | awk '{ print $1 }')
if [ $count -eq 0 ]; then
echo "failure"
else
echo "we're in business" &
sshfs chelsea@192.168.1.100:/home/chelsea/Music /home/monkeybritt/desk_music;
cp -rnv /home/monkeybritt/desk_music/* /home/monkeybritt/Music;
fusermount -u /home/monkeybritt/desk_music
fi
using cp with the -rnv argument tells it to copy recursively and to skip existing files, and the v (verbose) will show progress.
Wednesday, January 13, 2010
HOW-TO: Manually Install Cursor Themes In #!Crunchbang Linux 9.04
Not all distributions use a graphical cursor theme manager and at times it will be necessary to install cursor themes to x-cursor-theme alternatives. I ran into this issue and was disappointed at the lack of documentation. Basically this is how it's done:
1. Extract theme archive and copy it into /usr/share/icons.
2. Make sure the theme folder contains both an index.theme and a cursor.theme. If it doesn't have both you will have to create them.
index.theme:
[Icon Theme]
cursor.theme
[Icon Theme]
3. Now you have to add it to your alternatives for x11 cursors:
sudo update-alternatives --install /etc/alternatives/x-cursor-theme x-cursor-theme /usr/share/icons/themefolder/cursor.theme 50
4. Now you can choose your theme
sudo update-alternatives --config x-curosr-theme
If you wind up with the plain black core cursor you need to restore the link between /etc/alternatives/x-cursor-theme and the default setting in /usr/share/icons/default by pasting this command:
ln -s /etc/alternatives/x-cursor-theme /usr/share/icons/default/index.theme
sudo update-alternatives --remove x-cursor-theme /usr/share/icons/theme-folder/cursor.theme
1. Extract theme archive and copy it into /usr/share/icons.
2. Make sure the theme folder contains both an index.theme and a cursor.theme. If it doesn't have both you will have to create them.
index.theme:
[Icon Theme]
Name=name-of-theme
cursor.theme
[Icon Theme]
Inherits=name-of-theme
3. Now you have to add it to your alternatives for x11 cursors:
sudo update-alternatives --install /etc/alternatives/x-cursor-theme x-cursor-theme /usr/share/icons/themefolder/cursor.theme 50
4. Now you can choose your theme
sudo update-alternatives --config x-curosr-theme
If you wind up with the plain black core cursor you need to restore the link between /etc/alternatives/x-cursor-theme and the default setting in /usr/share/icons/default by pasting this command:
ln -s /etc/alternatives/x-cursor-theme /usr/share/icons/default/index.theme
If you want to remove a theme use this command:
Friday, January 8, 2010
HOW-TO: SSHFS in Linux and SH with Midnight Commander
I like using the terminal its just plain fun.
Gnome users depend on nautilus for all the networking and mounting but it uses sftp for mounting ssh folders and that doesn't always work for the best.
If your like me and you use pcmanfm, thunar or midnight-commander than you will want to use sshfs. I think even if I used nautilus I would use sshfs because it mounts the remote directory as if it were local and this seems to be easier for applications to read the files.
I'm going to show you my method for both mounting my shares with sshfs and how I use sh in midnight-commander to quickly copy files over my network.
The first thing I did was create a directory in my home folder ~/DekstopSSH. This is where I will mount sshfs.
Second I created an alias for the long string for mounting. This is the structure of the command:
you will be prompted for your user password, and after successfully entering that your remote folders are now mounted as if there were local files in the directory that you created.
To close the connection use the command
If you would rather use more of a gui you can create two scripts, one for mounting and the other for un-mounting.
For mounting paste this into an empty text file and replace with your information:
save the file and make it executable.
chmod +x "filename" will make it executable.
For unmounting you would create another file that contains this:
Again replacing with your info and making it executable.
Now you can just click on the mount file and a nifty little box should pop up and ask you for a password.
Its really that simple.
Now for Part two I'm going to explain in brief how to copy files over from a remote folder using sh in the cli file manager midnight commander.

1. In the drop down menu for left select shell link.
2. Enter the remoteuser@remoteIP in the box.

4. Browse to the file you want to copy, highlight it and F5 to copy.
Gnome users depend on nautilus for all the networking and mounting but it uses sftp for mounting ssh folders and that doesn't always work for the best.
If your like me and you use pcmanfm, thunar or midnight-commander than you will want to use sshfs. I think even if I used nautilus I would use sshfs because it mounts the remote directory as if it were local and this seems to be easier for applications to read the files.
I'm going to show you my method for both mounting my shares with sshfs and how I use sh in midnight-commander to quickly copy files over my network.
The first thing I did was create a directory in my home folder ~/DekstopSSH. This is where I will mount sshfs.
mkdir DesktopSSH
Second I created an alias for the long string for mounting. This is the structure of the command:
sshfs remoteuser@remoteIP:/home/remoteuser /home/localuser/DesktopSSH
you will be prompted for your user password, and after successfully entering that your remote folders are now mounted as if there were local files in the directory that you created.
To close the connection use the command
fusermount -u ~/DesktopSSH
If you would rather use more of a gui you can create two scripts, one for mounting and the other for un-mounting.
For mounting paste this into an empty text file and replace with your information:
#!/bin/bash
sshfs sshserver@ip.of.ser.ver:/home/remoteuser /home/localuser/DesktopSSH &
exit
save the file and make it executable.
chmod +x "filename" will make it executable.
For unmounting you would create another file that contains this:
#!/bin/bash
fusermount -u ~/DesktopSSH &
exit
Again replacing with your info and making it executable.
Now you can just click on the mount file and a nifty little box should pop up and ask you for a password.
Its really that simple.
Now for Part two I'm going to explain in brief how to copy files over from a remote folder using sh in the cli file manager midnight commander.

1. In the drop down menu for left select shell link.
2. Enter the remoteuser@remoteIP in the box.
3. Enter the password

4. Browse to the file you want to copy, highlight it and F5 to copy.
And... Success!
Thats all I have for today thanks for reading!
Subscribe to:
Posts (Atom)




