← Back to team overview

torios-dev team mailing list archive

Re: [Torios] new zenity applications zmktbl and ztweaks

 

Hi Israel,
[inline]
Best regards
Nio

Den 2015-04-17 23:37, Israel skrev:
> Hi Nio
> (inlines)
> 
> On 04/17/2015 09:18 AM, Nio Wiklund wrote:
>> Den 2015-04-17 15:30, Israel skrev:
>>> On 04/17/2015 07:44 AM, Israel wrote:
>>>> On 04/17/2015 05:05 AM, Nio Wiklund wrote:
>>>>> ...
>>>> ...
> 
>>>> No. Thanks for finding that silly bug at this early stage! There
>>>> were other instances too. I'll soon upload a corrected version. 
> No problem... I have found similar bugs in my code... sometimes they
> take a loooong time to find, because they hide :)  Fresh eyes are always
> a help!

Yes

>> ..
> 
>> 0. The fixes I have done are in the linux-tools/torios directory at
>> Phill's server.
> Downloaded!

There is already another new version uploaded: It contains a bug-fix for
the bug Jack found plus other bug-fixes are pure improvements,
particular auto mode for zTweaks. (zMktbl in not changed, but both
installers are debugged - bad bugs found).

>> 1. Maybe we should consider how to *unmount drives*, that are not in
>> use, so that the OBI does not see them as occupied. 
> Yes, this is a good idea.  But it will take some serious thought to do
> this effectively and safely :)
> The user may have mounted a drive on purpose... maybe a warning with an
> OK button should be good.  And an option to edit which ones are unmounted...

Yes, there can be good purposes for mounting partitions (I think we
should talk about partitions). Actually all mountable partitions can be
mounted except the one we want to extract to a tarball.

On the other hand I don't think it is a good idea to mount more than one
partition to /mnt, so that should be checked for too.

And in general, I think it is a good idea to have as few partitions as
possible mounted while extracting to a tarball. This way the process is
disturbed as little as possible.

Another way would be to allow for selecting a mounted drive, and when
selected, try to unmount it. If unmounting fails, let the user make it
unmountable (close the application, that locks it). If that is not
possible, the user should boot from another drive.

>> I think ztweaks can be useful whenever people want to switch between
>> languages in simple systems. The keyboard language switch is probably
>> working 'in every linux distro and flavour'.
>>
>> The touchpad manager works only in simpler systems. At least newer
>> versions of standard Ubuntu and Kubuntu override the commands synclient
>> and syndaemon, that are used in ztweaks, so it does not work.
> Yeah... I am trying to figure out how to overcome this issue myself.
> Maybe adding a .config/autostart/mouse.desktop with
> Exec=$your_desired_synclient_stuff

Yes this is a possibility. But shutting off the touchpad in autostart
can be a bad idea, unless it is conditional (only when there is a mouse
or other pointing device). The simplest method with synclient is not
conditional.

But there is a long list, that can be used by the end user. Maybe we can
supply a few more options that what is included now, at least

sysclient touchpadoff=0  # on
sysclient touchpadoff=1  # off
sysclient touchpadoff=2  # only tapping and scrolling is off

See man synaptics for a lot of details (at least there is a lot in
Trusty, which I am testing now).

>> So I think zTweaks is useful in ToriOS live and installed. I will use it
>> also in Lubuntu and LXLE - when installed - but won't bother in the live
>> version, because I can use the crude commands setxkbmap, synclient and
>> syndaemon.
>>
>> The structure is such that it should be fairly easy to add other user
>> tweaks, that might be useful. Would you suggest some tweak, that can be
>> done with command line tools. (An example might be the screen resolution
>> using xrandr, if people want anything but the highest resolution, but
>> there is already arandr.)
> I think we can come up with some things.  arandr is very easy to use and
> works very well.
> There may be some settings we can do with screen brightness (or gamma,
> etc..)
>> Best regards
>> Nio

Other possible options:

- Colour prompt in the terminal
- Lock screen and screensaving
- Talking clock (saying hours and half-hours)

But at least for me, keyboard setting (language) and touchpadoff when
typing are the most important tweaks.





Follow ups

References