SliTaz SliTaz Forum

You are not logged in.

#1 2017-08-19 19:18:52

Daniel8
Member
Registered: 2017-08-19
Posts: 27

standby mode to turn off slitaz

Hello,

Why there is no standby mode to turn off slitaz ?

it's very useful.

thanks

Offline

#2 2017-08-21 19:24:13

Daniel8
Member
Registered: 2017-08-19
Posts: 27

Re: standby mode to turn off slitaz

I can pause the screen, yes, but not computer.

maybe be than it's for the memory and so that slitaz is not slowed down after.

Offline

#3 2017-08-22 11:13:05

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: standby mode to turn off slitaz

Slitaz is small - everything you Need you have to configure yourself

You have to install acpi and configure it

http://forum.slitaz.org/topic/powermanagement-swap#post-39618

Maybe this thread helps

Offline

#4 2017-08-22 19:24:20

Daniel8
Member
Registered: 2017-08-19
Posts: 27

Re: standby mode to turn off slitaz

thank you very much, but it's not easy to understand but i will try

Offline

#5 2017-08-25 19:48:49

Daniel8
Member
Registered: 2017-08-19
Posts: 27

Re: standby mode to turn off slitaz

i have installed acpib but after what to do please ?

i don't see the software..

and after where i can find the file ~/.config/openbox/rc.xml ?

it's difficult to understand for a beginner as me ^^;

Offline

#6 2017-08-25 21:49:13

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: standby mode to turn off slitaz

Here you will find good instructions

http://doc.slitaz.org/en:guides:start

first install cpu frquency scaling:

http://doc.slitaz.org/en:guides:cpu-frequency

hidden files you can find with pcmanfm - with strg+h you make hidden files visible or invisible

Offline

#7 2017-08-27 17:35:51

lm2
Member
Registered: 2017-02-16
Posts: 155

Re: standby mode to turn off slitaz

you can use pm-utils, with :

pm-suspend

to suspend to STR your computer.

by the way, we are expecting from slitaz a patch for all version to allow common user (aka non root) to be able to suspend the computer (not in command line if possible)

regards

Offline

#8 2017-08-27 19:06:55

Daniel8
Member
Registered: 2017-08-19
Posts: 27

Re: standby mode to turn off slitaz

Thank you very much, and where i can find pm-utils please ?

Offline

#9 2017-08-27 19:10:11

lm2
Member
Registered: 2017-02-16
Posts: 155

Re: standby mode to turn off slitaz

tazpkg get-install pm-utils

(in cli/command line interface, or maybe package manager)

Offline

#10 2017-08-27 19:28:10

Daniel8
Member
Registered: 2017-08-19
Posts: 27

Re: standby mode to turn off slitaz

thanks

Offline

#11 2017-08-28 09:41:37

Daniel8
Member
Registered: 2017-08-19
Posts: 27

Re: standby mode to turn off slitaz

How i can launch please ?

i don't find in applications...

Offline

#12 2017-08-28 11:06:54

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: standby mode to turn off slitaz

https://wiki.archlinux.org/index.php/Pm-utils

Offline

#13 2017-08-28 19:00:41

lm2
Member
Registered: 2017-02-16
Posts: 155

Re: standby mode to turn off slitaz

>How i can launch please ?

>i don't find in applications...

unfortunately, it wont appear in application : it's a non-intuitive command line tool, so you will have to open the terminal (eg xterm) to use it, in root only;

waiting from slitaz devs to find like an app/shortcut to make it available by clicking (no cli) without being root (nice idea, like on win/mac)

Offline

#14 2017-08-28 19:52:34

Daniel8
Member
Registered: 2017-08-19
Posts: 27

Re: standby mode to turn off slitaz

thanks,

i have installed

2017-08-29 03:22:33 - Installed - cpuspeed (1.5)

2017-08-28 20:14:54 - Installed - acpid (2.0.16)

2017-08-28 17:17:11 - Installed - pm-utils (1.4.1)

2017-08-28 17:17:10 - Installed - kbd (2.0.2)

2017-08-28 17:17:00 - Installed - bash (4.4.5)

i have need also of change the local hours.

and now what is the command for configured please ?

there is too much information...

i don't understand and not see the simple way for config the Standby mode...

Offline

#15 2017-08-28 21:00:44

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: standby mode to turn off slitaz

@ Daniel8,

I didn't install pm-utils and can't test it tonight.

I've had a look quickly to the doc ; seems you have to follow these instructions:

Suspend on idle/inactivity

One method relies on xautolock program. Add following:

[c]xautolock -time 30 -locker "sudo pm-suspend" -detectsleep &[/c]

to [c]~/.xinitrc[/c]. This implies that [c]pm-suspend[/c] is called after 30 minutes of inactivity.

Files that begin with a "." are hidden files; you must indicate to PCManFM if you want to see them.

[c]~/.xinitrc[/c] = [c]/home/tux/.xinitrc[/c] (if you are user tux of course).

Offline

#16 2017-08-29 19:03:55

Daniel8
Member
Registered: 2017-08-19
Posts: 27

Re: standby mode to turn off slitaz

thanks, but i prefer the mode manuel because i listen the music (with my netbook hp mini where i have installed slitaz) and if there is not activity, it will go into standby...

the screen turns off only for save the ernergy.

i am with linux since more of 10 years (ubuntu, linux mint, lubuntu) but i have use very little commands...

Offline

#17 2017-08-29 19:15:27

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: standby mode to turn off slitaz

2Ceel

There's no [c]xautolock[/c] in any SliTaz repository: http://pkgs.slitaz.org/

Offline

#18 2017-08-29 19:19:24

Daniel8
Member
Registered: 2017-08-19
Posts: 27

Re: standby mode to turn off slitaz

for

Open your ~/.config/openbox/rc.xml file in the text editor. It'll look like this:

http://hg.slitaz.org/slitaz-configs/file/6c3545ad6ed7/rootfs/etc/xdg/openbox/rc.xml#l296

i see severals .config in tux and user but i don't see openbox...

Offline

#19 2017-08-31 08:37:54

Daniel8
Member
Registered: 2017-08-19
Posts: 27

Re: standby mode to turn off slitaz

I have succeeded... it's easy....

in the terminal, i write pm-suspend as root and it's good...

but there is not of button, always with the terminal....

i have use the terminal of tazpanel as root but with a other terminal as sakura i have this message

<<This utility may only be run by the root user.>>

how to be root manualy ?  with the commande "su"

i have search and i have find smile with this link  http://www.wikihow.com/Become-Root-in-Linux

thanks for the help

but it's better a button for suspend....

[attachment=45223,2542]

Offline

#20 2017-08-31 20:10:50

Daniel8
Member
Registered: 2017-08-19
Posts: 27

Re: standby mode to turn off slitaz

@kultex

Slitaz is small - everything you Need you have to configure yourself

You have to install acpi and configure it

http://forum.slitaz.org/topic/powermanagement-swap#post-39618

Maybe this thread helps

_________________________________________________________

therefore for add a button for suspend it's this post ?

because i don't see openbox...for edited the txt...

here is 2 screenshots of my files

[attachment=45229,2545] [attachment=45229,2546]

Offline

#21 2017-09-02 13:02:39

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: standby mode to turn off slitaz

open /home/tux/.config/lxpanel/slitaz/panels/panel with leafpad and add the following lines to the end

Plugin {

    type = launchbar

    Config {

        Button {

            id=/home/tux/.local/share/applications/Suspend.desktop

        }

    }

}

and then download, unzip and copy the Suspend.desktop to

/home/tux/.local/share/applications

you should find the icon right up in the corner and you just have to enter the root pw

Offline

#22 2017-09-02 16:47:40

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: standby mode to turn off slitaz

pm-suspend need a root password

if you dont want to type the rootpassword, you have to install sudoers

how to configure sudoers for pm-utils see here

https://sites.google.com/site/polarisnotme/linux/archlinux/pm-utils

Offline

#23 2017-09-03 21:02:16

Daniel8
Member
Registered: 2017-08-19
Posts: 27

Re: standby mode to turn off slitaz

thanks but i have a big problem for unzip.... i have installed several archiver but nothing.... and i have uninstalled after...

impossible of find a good software for unzip.....i don't understand why...

Offline

#24 2017-09-04 00:00:55

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: standby mode to turn off slitaz

Hi Daniel8,

You already have all you need to extract zip archives:

[c]unzip /path/to/file.zip[/c]
If unsure, you may download extracted file I uploaded for you from here:

http://people.slitaz.org/~lexeii/forum/Suspend.desktop

Offline

#25 2017-09-04 01:14:17

Daniel8
Member
Registered: 2017-08-19
Posts: 27

Re: standby mode to turn off slitaz

thanks, i try of open with unzip but nothing... i don't understand why..

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.57 MiB (Peak: 1.77 MiB) ]