Showing posts with label gOS. Show all posts
Showing posts with label gOS. Show all posts

Wednesday, January 2, 2008

gOS Hibernate and Suspend

Using the Hibernate works good I have been using it almost every day along with the Suspend function. Some web pages will crash when the computer is backup; the web pages that I seem to have had problems with are ones that have an auto refresh.
If your the only user on the gOS computer or your default login is USER then I would recommend the Hibernate function as apposed to shutting every thing down. It saves power and makes startup much quicker.


Both Hibernate and Suspend have worked all but one time for me that's not bad when my Mother got her new Macintosh* it had a glitch in OS X 'sleep mode' and would not wake up or it would wake up but not go back on line. I am using Hibernate every time I go to bed and every time I go to work that works out to be about twice a day. I don't have much to compare it to at work our computers are just on or off and my other computers are running BOINC (SETI@home and Malariacontrol.net) , so they are on all the time. At work I use use Puppy Linux a liveCD so it is only on when I use the computer.


Next is Suspend it is used the most on this gOS computer, If say for example I go have lunch or I go to watch a little TV because I know the minuet I get back I want the computer up and running so I can check my email or head over to Makezine.com.

*This was a long time ago and the problem has been long since fixed (by Apple).

Wednesday, December 19, 2007

How to get your Thumb Drive working under gOS

Waiter there is a Thumb drive in my soup... ( Note this is for the first version of gOS )



I plugged my thumb drive in to my gOS computer because I wanted to take a pdf file with me the other day. When I plugged in my thumb drive I was happy to see it show up on the desk top. gOS gave it a icon just like the CD-RW so I was surprised when I could not write to it.

The first thing I did was right click on the thumb drive and check properties check the it said owner hans and permissions were others can read and owner can read and write. OK I thought I tried checking the others can write but I still could not.

Next I opened up the UXterm and tried to copy to /media/Lexar (Lexar is the brand of thumb drive I was using for this) 'permission denied' it told me maybe it was not mounted to write? Thinking it was something in the fstab file. I looked around on the web but nothing seemed to work. One more time I looked at the permissions from UXterm for the /dev/sda and /media/Lexar by typing :


cd /media

ls -l

that showed

drwxr-xr-x 3 root root ... Lexar


that was it ! I checked the file properties by right clicking on the icon again, they did not match
. Then from the command line (UXterm) I typed



cd /media

sudo chown hans Lexar

#' can not change owner ship of Lexar'

Yes it told me I could not change the owner ship of my Lexar thumb drive but this what happened next I clicked on the Lexar thumb drive again, to check the properties still the same on the gui but now I could not open or read the device. "O NO I thought I just messed up my thumb drive." I pulled out my thumb drive it took a moment but then unmounted. I then plugged my Lexar back in to see if I could at least read from it; now it gave me a new icon for the device one that looked more like a floppy or removable media type icon. I still had the UXtem open and typed ls -l it gave me hans as owner. I was then able to copy to the device.

NOTES:
  • In order to see the thumb drive listed in the /media directory (from the command line) when you type ls you must have the device mounted to do this you must click on the icon on the desktop and open it. Just because it shows up on the desktop does not mean it's mounted.
  • Many articles will will talk about the command line for this article the command line and UXterm are used interchangeably.
  • The article is geared towards new users of gOS Linux
  • I used a Lexar thumb drive for this article it should be the same for any brand of USB thumb drive.

Thursday, December 13, 2007

Installing Tcl Tk on gOS

I just got TCL and TK Programming for the absolute beginner by Kirt Wall. I decided on this book because it is the newest book on the subject I could find on amazon.com .

Following the instructions in the book:

# sudo apt-get install tcl tk

That just gave me an error message. I am new to Debian-based systems "I mostly have used RedHat, SuSE and NetBSD" that said I have used rpm or tarballs to install. I looked on the web to see if anyone else had installed Tcl/Tk on gOS but did not find anything. Next I tried the tarballs from the http://www.tcl.tk/software/tcltk/ page. Down loading was fast to fast I should have known something was wrong. I clicked the save as and downloaded a html page I had to delete the two tarballs and then left click on the link for the download to automaticaly start. then I followed the instructions on the www.tcl.tk page the this seemed to work almost flawlessly only one error on tcl but not so well on tk page when I ran the make test I got errors and skipped files also this made all kind of windows on my desktop that I could not close.

OK lets see if it worked. type tclsh and

bash tclsh not found try
apt-get install tclx8.3

Aruuug!

so I typed that then


tclsh
tcl>

It worked!