You are not logged in.
Pages: 1
In SliTaz 5 there's a five second delay after trying to halt/reboot or closing the x session. How do I get rid of that (useless and annoying) delay? Thanks!
Offline
Hi new_u,
This delay provided here because user may click mistakenly on these menu items. No questions from any opened programs, system will forced to reboot / shut off and you may loose your work. I decided not to provide configuration tools for this such simple actions, instead to make reasonable small delay.
I don't remember how to change the delay, but let's go together to find it out.
Open LXPanel configuration file: ~/.config/lxpanel/<used-profile-name>/panels/panel
Here <used-profile-name>: I use 'default' (because I started [c]lxpanel[/c] without options), probably you use 'slitaz' because your [c]lxpanel[/c] started as "lxpanel -p slitaz".
Config fragment:
[c]Plugin {
type = menu
Config {
name=user.directory
image=avatar-default
tintcolor=#33230D
item {
image=system-log-out-panel
name=Выйти из системы
action=tazbox logout exit
}
item {
image=system-reboot-panel
name=Перезагрузить
action=tazbox logout reboot
}
item {
image=system-shutdown-panel
name=Выключить
action=tazbox logout halt
}
}
}[/c]
Here the lines with "action=" are significant. We see "tazbox" script are executed with the first argument "logout" and with the second argument one of "exit", "reboot" or "halt".
We can find "tazbox" sources on our sources repository hg.slitaz.org -> slitaz-tools project -> "Browse" button -> go to "tazbox" folder -> open "tazbox" script:
http://hg.slitaz.org/slitaz-tools/file/c368cf4a87d5/tazbox/tazbox
Here find (Ctrl + F) word "logout" and, among other, found what we need on the line #147: http://hg.slitaz.org/slitaz-tools/file/c368cf4a87d5/tazbox/tazbox#l147
[c]timeout=5[/c]
and on the line #158:
[c]--timeout $timeout --timeout-indicator=bottom \[/c]
I really don't know what with you ended if you change line #147 to
[c]timeout=0[/c]
In most cases the 0 is a "corner case". You may get zero delay as well as infinite delay.
Anyway, you may remove the line #158.
::
Also, FYI you can press the Power button to switch your box off immediately.
Offline
Thanks Aleksej! You saved me the trouble of going through the sources. Much appreciated.
For what it's worth, I think this was better handled in SliTaz 4. You select the option you want, and then hit OK. That is faster, and it also prevents you from accidentaly closing the session or the computer.
Offline
It's only matter of taste, I think. Like they say here on Russian, on color and taste all pens are different 
Personally, I don't like that behavior in SliTaz 4. Too many clicks to such simple action. And just FYI that piece of code is 1:1 copy from the Yad examples page (Yad is thing that show all the dialogs in SliTaz scripts). You wrote "That is faster" but I doubt you reboot your box so frequently that extra 5 seconds are significant...
Also, you should see the tendency of today in modern interfaces, if you use for example Google mail. You don't need to confirm mail deleting. All that annoying questions "are you sure...?" are in the past. User knows what he wants, and he sure of course. But no one guaranteed against errors. Good interface forgives an errors and let user undo his action. In the web browser you may close the tab accidentally, and then re-open it again...
I like the current logout machinery, and the only way to make it safer is to find a way to determine the presence of opened windows (and ask for confirmation only in this case, possibly with auto-confirmation on timeout) or exit immediately instead.
Anyway, I can add all that old variants of logout menu for you and provide configuration variable in one of the user configuration scripts, if you want it. Let me know.
Offline
So I took a better look at tazbox in SliTaz 5 and found out that
1) invoking "tazbox logout" still gives the old behaviour. Good!!
2) the logout option in the main menu (menu on the left) also works like in SliTaz 4. Good!!
3) I can also add an application item to a launch bar that invokes "tazbox logout" and get exactly the same interface that SliTaz 4 has.
>Anyway, I can add all that old variants of logout menu for you
Thanks for the offer! But I don't think that's needed. All the options I want are still there.
>Also, you should see the tendency of today in modern interfaces,
Yes and I don't like that tendency nor I think it is a good idea and not just because of a matter of taste. Sometimes things in linux are overcomplicated. But the opposite, dumbing interfaces down and making them 'automatic' and 'simple' is just as bad IMO.
By the way, the current oversimplifaction in interfaces is taking place because people are copying the dumbed down interfaces used in 'smartphones'. I don't think that's a serious engineering decision.
Offline
>Google mail. You don't need to confirm mail deleting.
That's because google mail is never deleted. It is stored forever by the NSA, CIA, FBI, etc 
Offline
First quote:
For what it's worth, I think this was better handled in SliTaz 4. You select the option you want, and then hit OK.
Second quote:
2) the logout option in the main menu (menu on the left) also works like in SliTaz 4. Good!!
? Select the option, then click OK?
I not started SliTaz 4 for about a year and don't remember it exactly how it was there. But I know that current logout menu don't have options dropdown and OK button. It have three buttons for three actions. Man, what are you really want?
You don't like my "engineering decisions"? Well, nothing wrong. You have your rights to it.
By the way, the current oversimplifaction in interfaces is taking place because people are copying the dumbed down interfaces used in 'smartphones'.
I think interface should help you realize your tasks. And that's all. There's a number of tasks and a number of realizations. What's wrong with the "dumb" interface if it helps you make a work? I think, you not just a 'smartphones' and Google hater, eh?
Offline
>But I know that current logout menu don't have options dropdown and OK button. It have three buttons for three actions.
Right, it's not exactly the same as in SliTaz4, but it works almost the same - you don't have to wait, and it's not easy to accidentaly close the system.
>I think, you not just a 'smartphones' and Google hater, eh?
I certainly do not love google nor smartphones. So you are just a google lover who wants to turn linux into a web based mail system, run by the NSA...?
Offline
And why did you draw such conclusions?
Offline
Because of what you wrote? 
Offline
Then read carefully 
Offline
....So you are just a google lover who wants to turn linux into a web based system....
+1 like
Offline
Please, stop using TazPanel, guys, because it is opened in the web browser, i.e. web-based. In addition, please, share your opinion in the SliTaz mailing list, so more people let to know your personal preferences. I think, Christophe will be "glad" to read these sentences.
And, of course, you can put your "+1 like" to a more appropriate place - SliTaz official Facebook page. Unfortunately, "+1" means nothing here on forum.
And, finally, I'll be very pleased to see your patches in the SliTaz.
Adieu.
Offline
O.T.
I don't speak English, only Italian
Tranquillo che tazpanel in casa mia non ci è mai entrato, né ci entrerà!
Poi mi spiace dirtelo per una persona nella tua posizione, ma hai un pessimo carattere. Non si reagisce così ad una semplice critica. Mi auguro che Pankso abbia tempo di partecipare di più alle scelte in SliTaz. La sua mano aveva dato prova di grande gusto e creatività. Cosa che purtroppo vedo mancare sempre di più.
Per quello che riguarda i “Like” e facebook, ci andate poi voi su quelle piattaforme. Evito google e derivate, ma sebbene qui il significato pur non essendo proprio di quella piattaforma, ha sortito lo stesso (a malo modo) il suo effetto.
Offline
I don't speak Italian, sorry.
К вашему сведению, именно Кристоф (ака Pankso) разработал TazPanel. Идея была поддержана и развита другими разработчиками, в частности, Паскалем Белларом и мною. Говорить о том, что наши идеи отстой, должно быть легко? Это то же самое, что насрать в душу...
Именно Pankso открыл официальные страницы SliTaz в Facebook и Twitter. А теперь, не принимая его же идеи, вы говорите, что вы скучаете по его креативности?
Спасибо за ваше мнение, но я не думаю, что два миллиарда пользователей смартфонов - дураки, а вы - д'Артаньяны. Речь вообще не шла о смартфонах. Каждый интерфейс должен помогать пользователю выполнять его задачу. Способы взаимодействия с интерфейсом разные (мышь на десктопе, тачскрин на планшете, 3-D аэро-мышь на смарт-тв) и задачи разные (написать программу, послушать музыку, прочитать книгу, ...). Зачем всё лепить в одну кучу?
А ваше поведение - это просто нео-луддизм. И это выглядит весьма жалко...
Offline
I can understand some Italian (because I'm a native speaker of spanish). I learned Russian for a couple of years, a long time ago, but I forgot almost everything...
Anyway, I don't use tazpanel either but tazpanel doesn't bother me because I can still use the *linux* distro SliTaz the way linux is used, mostly by means of the command line. The close button delay was more annoying because I thought I couldn't avoid it, but I can.
Aleksej, I must admit that the google translation of your post looks OK but google sucks anyway. I am not going to get into a political discussion about corporatism and freedom, but I expected people interested in *free* software to know better.
You say that interfaces should serve their purpose, which is correct but also a tautology. We can go back to this being a matter of taste, and in that case I can ask : Why should SliTaz users follow your tastes in interface design? Thankfully since we are dealing with open source software, it can be tweaked to suit personal 'tastes'...to some degree.
Offline
Why should SliTaz users follow your tastes in interface design?
The answer is deadly simple: because I DO the job. Here and now.
And I see nothing of your interfaces. Words are cheap, show me YOUR code. Include your code into SliTaz, and then:
SliTaz users [will] follow your tastes in interface design
I have neither the time nor the desire to continue this thread. Therefore, I think that you will not be offended if I do not respond to further posts, or I will do it extremely rarely.
Offline
>The answer is deadly simple: because I DO the job. Here and now.
Ha ha ha. In other words you have zero arguments. And I won't be offended if you don't keep posting pro-google nonsense. Neoluddism? LMAO.
Offline
Aleksej,
You saved me!
Without the 5 seconds delay I'd have lost all my work. I realized that I didn't save it when there was only one second left...
Thank you for this idea of genius!
Offline
You're lucky guy! 
Have a nice day.
Offline
Pages: 1
[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]