Due to the many changes in my scripts done these days, a brief summary is a good thing to do.
You can always download the latest scripts from here
Scripts have been completely reorganized and standardized, thanks to the work done by Stuart Herbert
The main script is samsung-scripts
and it has to be installed in /usr/bin/
All the others scripts must be installed in /usr/lib/samsung-scripts/
If you are a K/Ubuntu user, install the samsung-scripts
package from my repository and everything will be set and ready to be used.
You can have a good summary of how the scripts work by launching the command 'samsung-scripts' from a terminal. This is the output:
samsung-scripts - Utilities for your Samsung netbook
samsung-scripts status - show status for all devices
samsung-scripts bluetooth on|off|status - no params will toggle
samsung-scripts cpuperf auto|status - no params will switch to next perf option
samsung-scripts lcd on|off - no params will toggle
samsung-scripts webcam on|off|status - no params will toggle
samsung-scripts wifi on|off|status - no params will toggle
Examples of use:
To check the current status of bluetooth:
samsung-scripts bluetooth status
To switch to next CPU governor:
To toggle the wifi device:
when the script is launched in an interactive session (ie, from a terminal), it prints its output on the standard output (ie, the terminal). When it's launched in a not-interactive session (for instance, from an hotkey), it shows its output in a notification bubble.
If you use the samsung-scripts
package from my repository, a new rule is automatically added to sudo in order to run the 'samsung-scripts' script with admin rights with no need to insert the user password.
Also, the following hotkeys are automatically created:
: launch the command 'switchscreenlayout.sh
' - (switch to next screen layout, more informations here
: launch the command 'sudo samsung-scripts lcd
' - (toggle the lcd brightness).
: launch the command 'sudo samsung-scripts bluetooth
' - (toggle the bluetooth)
: launch the command 'sudo samsung-scripts cpuperf auto
' - (show/switch CPU governors).
: launch the command 'sudo samsung-scripts wifi
' - (toggle the wifi device)
: launch the command 'sudo samsung-scripts webcam
' - (toggle the webcam)
: launch the script 'wmswitcher.sh
' - (toggle compiz, only available on Ubuntu)
There is a configuration file, /etc/default/samsung-scripts
, for users with a netbook different from NC10, where various options can be configured. Open the file in a text editor and follow the instructions to customize it.
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!