Page 5 of 6

Re: HOWTO: NC10 scripts

Posted: 05 Jan 2010, 10:28
by voria
New 'nc10-scripts' on the repository. Changelog:

Code: Select all

nc10-scripts (5.0~ppa4~nc10~karmic) karmic; urgency=low

  * Add back the 'wmswitcher.sh' script to toggle compiz on/off,
    mapped to <Shift><Ctrl><Alt>m.

Re: HOWTO: NC10 scripts

Posted: 06 Jan 2010, 13:29
by jmg74fr
Thank you, Voria, that's usefull for me to stop compiz before switching from single screen to external monitor (or videoprojector) !

One more question (not urgent ;) ) :
Have nc10 scripts installation modified the way the netbook goes to sleep ? (to known if the modification of sleeping mode comes from nc10scripts installation, or anything else I've modified during my initial tests)
Before, [Fn]+[esc] made nc10 going to deep sleep (correct words ??) with no HD, very low consumption and not waken by key pressed ; now, it just goes to a simple sleep, but wakes up when a key is pressed. Note that "deep sleep" is still OK with menu...

Re: HOWTO: NC10 scripts

Posted: 11 Jan 2010, 14:23
by voria
jmg74fr wrote:Have nc10 scripts installation modified the way the netbook goes to sleep ?
No, 'nc10-scripts' installs a script which is executed only during boot/resume/thaw process, in order to set the latest wireless/bluetooth/webcam status.

Re: HOWTO: NC10 scripts

Posted: 13 Jan 2010, 08:13
by jmg74fr
Thank you.
In fact I had to re-install Ubuntu (forgotten that "sudo" could be dangerous ;-) ...)

After this fresh installation, sleeping mode is nice (= "deep sleeping", hard disk stopped) before or after nc10scripts added. So, as you said my previous problem has nothing to do with your wondefull scripts !

Re: HOWTO: NC10 scripts

Posted: 13 Jan 2010, 13:26
by voria
New 'nc10-scripts' package on repository. Changelog:

Code: Select all

nc10-scripts (5.0~ppa6~nc10~karmic) karmic; urgency=low

  * Change default map for bluetooth toggling to FN-F7.
Main post updated to reflect recent changes to the package.

Re: HOWTO: NC10 scripts

Posted: 14 Jan 2010, 18:56
by voria
The 'nc10-scripts' package is going to be renamed as 'samsung-scripts', and so the code branch on my Launchpad account.
At the moment the new package is available only on my experimental repository; I'll update the main post of this thread to reflect all the changes as soon as the package will land on the official repository.
Here is the changelog of the testing package:

Code: Select all

samsung-scripts (6.0~ppa1~nc10~karmic) karmic; urgency=low

  * Package 'nc10-scripts' renamed as 'samsung-scripts'.
  * Main script ('nc10') renamed as 'samsung-scripts'.

Re: HOWTO: NC10 scripts

Posted: 21 Jan 2010, 12:56
by voria
New scripts are on the repository now, the main post has been updated.

Re: HOWTO: NC10 scripts

Posted: 22 Jan 2010, 23:32
by CaptnDifool
Hi Voria,

what happened? Shold I remove the NC10-Scripts und install "Samsung-Scripts" instead?

By the latest update the NC10-Scripts dont run, especially WiFi dont have an effect. Its always running.

Re: HOWTO: NC10 scripts

Posted: 22 Jan 2010, 23:46
by jmg74fr
On my nc10, it's OK with shortcuts.
But mind that commands became 'samsung-scripts' instead of 'nc10', eg. 'samsung-scripts status'. Hope your problem is only forgotting this modification...

Re: HOWTO: NC10 scripts

Posted: 23 Jan 2010, 00:26
by voria
jmg74fr is right.
Probably the old keybinding commands have been saved in your user's session, so the new global configuration is ignored.
Open the compizconfig-settings-manager (in System->Preferences, install it if it's not there), go to the 'Commands' plugin and modify the hotkeys to run the 'samsung-scripts' command in place of the old 'nc10'.

Re: HOWTO: NC10 scripts

Posted: 23 Jan 2010, 01:09
by CaptnDifool
voRia wrote:jmg74fr is right.
Probably the old keybinding commands have been saved in your user's session, so the new global configuration is ignored.
Open the compizconfig-settings-manager (in System->Preferences, install it if it's not there), go to the 'Commands' plugin and modify the hotkeys to run the 'samsung-scripts' command in place of the old 'nc10'.
Ok, I had changed the "NC10-Scripts" to "Samsung-Scripts" (installed only the last one) then I had deleted the entries in the xfce-shortcut settings, which belong to the scripts. My WM is xfce, may be that a problem? In earlier versions that was not.

Now I have to edit this commandlines in the "command-plugin" row by row?

The "Fn-Key" will not response in the Compiz config :-|

Sorry, that I am fail to understand, what I have to do exactly. :-[

Re: HOWTO: NC10 scripts

Posted: 23 Jan 2010, 12:35
by voria
CaptnDifool wrote: My WM is xfce, may be that a problem? In earlier versions that was not.
If the scripts used to work before, I don't see why they should not work now.
CaptnDifool wrote: Now I have to edit this commandlines in the "command-plugin" row by row?
The "Fn-Key" will not response in the Compiz config :-|
The package automatically creates keybindings for gnome and kde, I've never used xfce so I don't know how its keybindings system work.
How did you create them for xfce with the old nc10-scripts? You probably have to redo them.

Re: HOWTO: NC10 scripts

Posted: 23 Jan 2010, 13:06
by CaptnDifool
Now I got it. I have gdm but use very rare gnome, my default wm ist xfce. Ihave reedited the keybindings in the xfce keyboard settings - ist works well :)

The backlight I had fixed to manual setting, auto backlight switched in battery mode particulary to max brightness instead lower values without my doing.

Sorry for my misunderstandings. Many thanks for your good work and kindful support. :)

A further question:
Is Gnome needed for FN-Key function? My Samsung E252 (notebook) don't response to the FN-Key :-|

Re: HOWTO: NC10 scripts

Posted: 23 Jan 2010, 13:16
by voria
CaptnDifool wrote:Many thanks for your good work and kindful support. :)
You're welcome. ;)
CaptnDifool wrote: Is Gnome needed for FN-Key function? My Samsung E252 (notebook) don't response to the FN-Key :-|
No, more probable is that the FN keys are not enabled by udev, so they cannot be used.
Looking at '/lib/udev/rules.d/95-keymap.rules', the E252 is not in the list of the supported models.

Re: HOWTO: NC10 scripts

Posted: 23 Jan 2010, 15:33
by jmg74fr
A proposition : to avoid these problems, for non-KDE-or-Gnome users, is it possible to add an alias, to keep 'nc10' available, and automaticaly installed wtih samsung-scripts from repository ?
(something like 'ln -s samsung-scripts nc10' but you're far better than me to find correct syntax :-p ?)