Several days ago I started a new project, called 'samsung-tools', which is intended to replace the samsung-scripts.
The project is registered on launchpad, and it's located here:https://launchpad.net/samsung-tools
Here's the project's description:
'Samsung Tools' is the successor of 'Samsung Scripts' provided by the 'Linux On My Samsung' project. It uses D-Bus functionalities for providing a system service dedicated to the control of the various devices on Samsung netbooks (bluetooth, wireless, webcam, backlight, cpu fan) and per-user session service(s) dedicated to the control of the user-related aspects (hotkeys, notifications, etc). Scripts/GUIs will be provided to allow the control of both services.
It's written entirely in python, and it's covered by GPLv3 license.
'Samsung Tools' is structured into levels:
- Level 1: the system service.
It runs with elevated privileges, it takes care of the physical control of the system's devices.
- Level 2: the session service.
It runs with user privileges, it "talks" with the system service and it takes care of managing user's aspects (like showing bubble notifications, managing hotkeys, and so on). There can be more than one session service running at the same time (one for every logged user), all of them talking with the running system service.
- Level 3: end-user scripts/GUIs.
They are used directly by the user, they "talk" with the user's session service.
They can be anything coming in your mind: command line scripts, GUIs, applets, and so on.
Just to make an example: if at some point we change the way the bluetooth toggling is managed by the system service, the session service (and end-user scripts/GUIs, of course) will continue to work without problems.
At the moment, the system service is fairly complete, it already manages bluetooth, webcam, wireless, backlight, cpu fan (cpu fan control needs the 'easy-slow-down-manager' package installed to work, it can be installed like any other package from my repository).
The work on session service proceeds good too: notifications already work, but it lacks hotkeys support yet.
Yesterday I worked on an end-user command line script, so that the basic functionalities can be already used.
The script is practically complete, and it's already usable.
If anyone wants to try it, follow these simple instructions:
- If you are using 'samsung-scripts', uninstall it:
sudo apt-get purge samsung-scripts
- Install 'easy-slow-down-manager' and 'xbindkeys':
sudo apt-get install easy-slow-down-manager xbindkeys
- On kubuntu, install 'python-gtk2' (ubuntu already has it installed):
sudo apt-get install python-gtk2
- Get the latest code with the command:
bzr checkout lp:samsung-tools
- Move to the new directory 'samsung-tools', and install with the command:
sudo make install
- To uninstall, use the command:
sudo make uninstall
Once installed, open a terminal and use the command:
to get further instructions on how to use the script.
Keep in mind that the code base is under heavy development, it changes fast and new features are added every day.
For any bug report/question, you can use the project's page on Launchpad
Let me know your thoughts!
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!