Joined: Fri Nov 30, 2007 12:32 am Posts: 1201 Location: Nr Warrington, Cheshire
eeePC model: 1000H
Aurora version: Beta 4.0
As many of you have noticed, we do not have a full collection of scripts to cover all of the models you are using out there.
Soooo, if you are using a script that you have found out there on the wibbly wobbly web, edited or tweaked an existing one, created one yourself, then post them here to be included in eeeconfigure and share your configuration goodness with the rest of your community. All manufacturers and models considered. Scripts will be included in the Eeebuntu v3.0 release (post Ubuntu release). Scripts can be anything that makes life with mini machine a little easier.
Don't forget to state the manufacturer, model and a simple explanation of what the script does.
Steve.
_________________ Aurora Dev - eeepc 1000H - 2GB RAM - 500GB HD Aurora Dev (amd64) - Dell Precision M4500 - 16GB RAM - 750GB HD - 120GB SSD - i7Q40 Eeebuntu Team - Developer Twitter: Preobrazhensky
Joined: Sun Jan 25, 2009 3:42 pm Posts: 80 Location: UK
eeePC model: 900A
Aurora version: Standard 3.0
Hi Steve As a complete ignoramus on scripts, can you or someone tell me of a thread, or a site, or an anything which takes one through the entire process, starting from "What is a script", up to enabling one to "run them"?
At a guess I'd say that running a script is typing some in the terminal and pressing Enter. ...
I've read so much about "Running Scripts", and would some steps to finding out about this mystique.
John
_________________ Asus EeePC 901 Laptop (20Gb) :: Eeebuntu 2.0 Standard (Intrepid)
Joined: Fri Nov 30, 2007 12:32 am Posts: 1201 Location: Nr Warrington, Cheshire
eeePC model: 1000H
Aurora version: Beta 4.0
At its basic level a script is something that you run on the command line. It is a method of automating the commands you need to run to achieve something. A script is run in the shell (the command line, dos like, interface) of Linux. There are several different shells, we use bash as default.
A script contains commands that you would run in the terminal but these commands can be wrapped in programmatic logic, like testing that a certain file exists in a certain place before modifying it or copying the existing file before modifying it.
The main script in eeeconfigure is to install eee-control. eee-control is held in a compressed file within inside a database. The script to install eee-control will:
1. Read the database 2. Recreate the archive file 3. Extract the archive file 4. Run the extracted script that will install eee-control.
All of this can be done manually, you can download the archive, extract it, go into the extracted folder and run the script to install it.
With the power of the Linux shell, scripts can be VERY complex.
Does this help?
_________________ Aurora Dev - eeepc 1000H - 2GB RAM - 500GB HD Aurora Dev (amd64) - Dell Precision M4500 - 16GB RAM - 750GB HD - 120GB SSD - i7Q40 Eeebuntu Team - Developer Twitter: Preobrazhensky
I made a script for converting a 1024x600 display to 1024x768. The script works very well on an eeepc 1000h. It is useful if the display is too small for e.g. large dialogs. It can be easily linked to a hotkey. (toggle) It can be run without root permissions.
Code:
#!/bin/bash # # panning script # v1.0 # by otto meijer
. /etc/default/eeepc-acpi
#check if panning is enabled if test -f "/tmp/panvga" then PANSTATE=1 /usr/bin/eeepan-stop /usr/bin/xrandr --output VGA --off sleep 0.5
I have a script to copy my documents on the next computer in a series of PC's on Ubuntu should work as well on eeebuntu ... this script must be copied on the Desktop of the computer receiving the backup Here it is :
#!/bin/bash SOURCE_DIRS=/media/nfs/ TARGET_DIR=/home/user/documents # monter le repertoire nfs mount /media/nfs
So this script doesn't work on eeebuntu copying the /home/user/documents file of a computer on ubuntu 8/04
Aspire, the PC on Ubuntu 8.04 is copied OK on a PC with Debian Lenny and also on another PC with ubuntu 8.04 doen't work with eeebuntu
Why ?
jean@jean:~$ sudo mount /media/nfs [mntent]: line 9 in /etc/fstab is bad mount: wrong fs type, bad option, bad superblock on 192.168.0.1:/home/jean/documents, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so
_________________ Asus eeepc 107 4G with eeebuntu 3.0 Standard
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum