Bug#637351: ITP: urfkill -- urfkill is a daemon for the management of the radio killswitches.

2011-08-16 Thread Keng-Yu Lin
2011/8/13 Andrea Bolognani :
> I believe you could achieve the same effect using a combination of
> triggerhappy and the aforementioned rfkill, and I don’t like the idea
> of having a special daemon running to handle a subset of the special
> keys when there’s a more general solution to the problem already in the
> archive.
>
> That said, urfkill might have advantages I don’t see.
>

"rfkill" has nothing to do with the hotkey management. It is just a
tool to enable/disable a wireless device as specify in the argument.
"urfkill" is a way to manage and toggle these devices based on the
conf file.

The immediate problem is that when KEY_WLAN is commonly generated by
the key press, should bluetooth and 3G be turned off too where there
are in fact keycodes dedicated for each: KEY_BLUETOOTH, KEY_WWAN.

Also as a planned function (but not yet implemented in the code now)
of urfkill, people desire to turn off wifi on the first pressing,
bluetooth on the second and so on... This is only possible if there is
a dedicated daemon for handling this.



--
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/came48jj2snmia4rlnayvu-mwn5mbtts83wcbtojztourz05...@mail.gmail.com



Bug#637351: ITP: urfkill -- urfkill is a daemon for the management of the radio killswitches.

2011-08-16 Thread Keng-Yu Lin
2011/8/11 Christian PERRIER :
> Quoting Keng-Yu Lin (ken...@lexical.tw):
>
>> Thanks for the suggestion. I modified the description as below.I hope
>> that it is better explained and understandable.
>>
>> Package: wnpp
>>  Severity: wishlist
>>  Owner: "Keng-Yu Lin" 
>>
>>  * Package name    : urfkill
>>   Version         : 0.2.0
>>   Upstream Author : Gary Lin 
>>  * URL             : http://www.freedesktop.org/wiki/Software/urfkill
>>  * License         : GPL, LGPL
>>   Programming Lang: C
>>   Description     : wireless killswitch management daemon for laptops
>>
>>  urfkill daemon provides the management of the rfkill-related hotkeys
>>  and the killswitches in a more configurable way for the common RF
>>  devices, e.g. WiFi, Bluetooth, WWan, etc. urfkill handles the various
>>  key codes (KEY_WLAN, KEY_BLUETOOTH, KEY_RFKILL, etc)
>>  and toggles the killswitches based on a pre-defined policy.
>
> Maybe just avoid starting sentences with "urfkill" as it is always
> wierd to have sentences beginning with a lowercase letter.
>
> A common trick is using "The  program|daemon". Also avoid "e.g."
> which is a latinism that's too often used in English..:). I propose
> parenthesis...another option would be using "such as". Replace "etc."
> with an ellipsis (...) as it avoids the tricky use of a dot before and
> after a closing parenthesis.
>
> That would give:
>
> The urfkill daemon allow managins the rfkill-related hotkeys
> and the killswitches in a more configurable way for the common RF
> devices (WiFi, Bluetooth, WWan...). It handles the various
> key codes (KEY_WLAN, KEY_BLUETOOTH, KEY_RFKILL, etc)
> and toggles the killswitches based on a pre-defined policy.

Thanks for the refinement. I hope the description looks better now. :-)

Package: wnpp
  Severity: wishlist
  Owner: "Keng-Yu Lin" 

  * Package name: urfkill
  Version : 0.2.0
  Upstream Author : Gary Lin 
  * URL : http://www.freedesktop.org/wiki/Software/urfkill
  * License : GPL, LGPL
  Programming Lang: C
  Description : wireless killswitch management daemon for laptops

  The urfkill daemon allow managing the rfkill-related hotkeys
  and the killswitches in a more configurable way for the common RF
  devices (WiFi, Bluetooth, WWan...). It handles the various
  key codes (KEY_WLAN, KEY_BLUETOOTH, KEY_RFKILL...)
  and toggles the killswitches based on a pre-defined policy.



--
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAMe48Jj8ZykwTumD9VVVxvVTSjLdíw4qvwkkzw4jgyjax...@mail.gmail.com



Bug#637351: ITP: urfkill -- urfkill is a daemon for the management of the radio killswitches.

2011-08-11 Thread Christian PERRIER
Quoting Keng-Yu Lin (ken...@lexical.tw):

> Thanks for the suggestion. I modified the description as below.I hope
> that it is better explained and understandable.
> 
> Package: wnpp
>  Severity: wishlist
>  Owner: "Keng-Yu Lin" 
> 
>  * Package name: urfkill
>   Version : 0.2.0
>   Upstream Author : Gary Lin 
>  * URL : http://www.freedesktop.org/wiki/Software/urfkill
>  * License : GPL, LGPL
>   Programming Lang: C
>   Description : wireless killswitch management daemon for laptops
> 
>  urfkill daemon provides the management of the rfkill-related hotkeys
>  and the killswitches in a more configurable way for the common RF
>  devices, e.g. WiFi, Bluetooth, WWan, etc. urfkill handles the various
>  key codes (KEY_WLAN, KEY_BLUETOOTH, KEY_RFKILL, etc)
>  and toggles the killswitches based on a pre-defined policy.

Maybe just avoid starting sentences with "urfkill" as it is always
wierd to have sentences beginning with a lowercase letter.

A common trick is using "The  program|daemon". Also avoid "e.g."
which is a latinism that's too often used in English..:). I propose
parenthesis...another option would be using "such as". Replace "etc."
with an ellipsis (...) as it avoids the tricky use of a dot before and
after a closing parenthesis.

That would give:

The urfkill daemon allow managins the rfkill-related hotkeys
and the killswitches in a more configurable way for the common RF
devices (WiFi, Bluetooth, WWan...). It handles the various
key codes (KEY_WLAN, KEY_BLUETOOTH, KEY_RFKILL, etc)
and toggles the killswitches based on a pre-defined policy.

-- 




signature.asc
Description: Digital signature


Bug#637351: ITP: urfkill -- urfkill is a daemon for the management of the radio killswitches.

2011-08-11 Thread Keng-Yu Lin
2011/8/11 Karl Goetz :
> Hi,
> How does it differ from rfkill, already in the archive? Perhaps the
> description could be updated to make this clear.
> thanks,
> kk
>

"rfkill" package in the archive is just a simple utility for switch
on/off the RF device.
urfkill handles the hotkeys (KEY_WLAN, KEY_BLUETOOTH, KEY_RFKILL, etc)
and can be configurable to behave differently on the key pressed.
Say, one may like the bluetooth to be switched off too on KEY_WLAN,
whereas in fact KEY_WLAN is for Wifi only, at least literally.



-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAMe48JjCmqp0tPXAZjU4vhurFH2V1XG_DcfyFFk7T=zc4zc...@mail.gmail.com



Bug#637351: ITP: urfkill -- urfkill is a daemon for the management of the radio killswitches.

2011-08-11 Thread Keng-Yu Lin
2011/8/11 Christian PERRIER :
> Quoting Keng-Yu Lin (ken...@lexical.tw):
>> Package: wnpp
>> Severity: wishlist
>> Owner: "Keng-Yu Lin" 
>>
>> * Package name    : urfkill
>>   Version         : 0.2.0
>>   Upstream Author : Gary Lin 
>> * URL             : http://www.freedesktop.org/wiki/Software/urfkill
>> * License         : GPL, LGPL
>>   Programming Lang: C
>>   Description     : urfkill is a daemon for the management of the radio 
>> killswitches.
>>
>> urfkill daemon handles the configuration of the rfkill-related
>> function keys and provides the management of the radio killswitches.
>
>
> radiowhat? :-)
>
> I guess this is about the buttons that are often used to turn wireless
> communication on/off on modern laptops, but this is only a guess.
>
> I would suggest having a more explicit description.
>
> Also, the "Description" you give is a sentence. Short descriptions
> (aka "synopsis") shouldn't be sentences, see Developer's Reference.
>
> Something along "wireless killswitch management daemon for laptops"
> would be appropriate, imho (assuming the package is indeed what I
> think it is..:-))
>
>

Thanks for the suggestion. I modified the description as below.I hope
that it is better explained and understandable.

Package: wnpp
 Severity: wishlist
 Owner: "Keng-Yu Lin" 

 * Package name: urfkill
  Version : 0.2.0
  Upstream Author : Gary Lin 
 * URL : http://www.freedesktop.org/wiki/Software/urfkill
 * License : GPL, LGPL
  Programming Lang: C
  Description : wireless killswitch management daemon for laptops

 urfkill daemon provides the management of the rfkill-related hotkeys
 and the killswitches in a more configurable way for the common RF
 devices, e.g. WiFi, Bluetooth, WWan, etc. urfkill handles the various
 key codes (KEY_WLAN, KEY_BLUETOOTH, KEY_RFKILL, etc)
 and toggles the killswitches based on a pre-defined policy.



--
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/came48jj7darrnbczxftg1qc8gcyjtwpekaj744djnwge0qd...@mail.gmail.com



Bug#637351: ITP: urfkill -- urfkill is a daemon for the management of the radio killswitches.

2011-08-10 Thread Karl Goetz
On Wed, 10 Aug 2011 23:25:48 +0800
Keng-Yu Lin  wrote:

> Package: wnpp
> Severity: wishlist
> Owner: "Keng-Yu Lin" 
> 
> * Package name: urfkill
>   Version : 0.2.0
>   Upstream Author : Gary Lin 
> * URL : http://www.freedesktop.org/wiki/Software/urfkill
> * License : GPL, LGPL
>   Programming Lang: C
>   Description : urfkill is a daemon for the management of the
> radio killswitches.
> 
> urfkill daemon handles the configuration of the rfkill-related
> function keys and provides the management of the radio killswitches.

Hi,
How does it differ from rfkill, already in the archive? Perhaps the
description could be updated to make this clear.
thanks,
kk

-- 
Karl Goetz, (Kamping_Kaiser / VK5FOSS)
Debian contributor / gNewSense Maintainer
http://www.kgoetz.id.au
No, I won't join your social networking group


signature.asc
Description: PGP signature


Bug#637351: ITP: urfkill -- urfkill is a daemon for the management of the radio killswitches.

2011-08-10 Thread Christian PERRIER
Quoting Keng-Yu Lin (ken...@lexical.tw):
> Package: wnpp
> Severity: wishlist
> Owner: "Keng-Yu Lin" 
> 
> * Package name: urfkill
>   Version : 0.2.0
>   Upstream Author : Gary Lin 
> * URL : http://www.freedesktop.org/wiki/Software/urfkill
> * License : GPL, LGPL
>   Programming Lang: C
>   Description : urfkill is a daemon for the management of the radio 
> killswitches.
> 
> urfkill daemon handles the configuration of the rfkill-related
> function keys and provides the management of the radio killswitches.


radiowhat? :-)

I guess this is about the buttons that are often used to turn wireless
communication on/off on modern laptops, but this is only a guess.

I would suggest having a more explicit description.

Also, the "Description" you give is a sentence. Short descriptions
(aka "synopsis") shouldn't be sentences, see Developer's Reference.

Something along "wireless killswitch management daemon for laptops"
would be appropriate, imho (assuming the package is indeed what I
think it is..:-))



signature.asc
Description: Digital signature


Bug#637351: ITP: urfkill -- urfkill is a daemon for the management of the radio killswitches.

2011-08-10 Thread Keng-Yu Lin
Package: wnpp
Severity: wishlist
Owner: "Keng-Yu Lin" 

* Package name: urfkill
  Version : 0.2.0
  Upstream Author : Gary Lin 
* URL : http://www.freedesktop.org/wiki/Software/urfkill
* License : GPL, LGPL
  Programming Lang: C
  Description : urfkill is a daemon for the management of the radio 
killswitches.

urfkill daemon handles the configuration of the rfkill-related
function keys and provides the management of the radio killswitches.



-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110810152548.537.18317.reportbug@yingge