Looking for a shortcut for shutdown

Moderator: Forum moderators

Post Reply
puppyto
Posts: 8
Joined: Thu Sep 17, 2020 10:02 pm
Been thanked: 1 time

Looking for a shortcut for shutdown

Post by puppyto »

Hi, I have tried several options like "exec:session-quit --log out","exec:wmpoweroff", "exec:poweroff", in the GUI for shortcut:
Menu---JWMdesk---hotkeys---command. None of them works, because, close Desktop, but keep running the system with an CLI window, waiting commands "root#"
Some command that could works in this context. Thanks!
Using F96-CE, at the moment very good impressions. a little hardweight but for my pc runs smooth, frugal install on the same partition of window10.

User avatar
pp4mnklinux
Posts: 1116
Joined: Wed Aug 19, 2020 5:43 pm
Location: Edinburgh
Has thanked: 632 times
Been thanked: 280 times
Contact:

Re: Shortcut for shutdown

Post by pp4mnklinux »

Hi:

It's possible this pet doesn't work in fossa, it's possible that is not what you need, it's possible..... but I love this pet, because you have a lot of options when shutting down (take a look at the image).

It's called PUP SHUTDOWN PET (here is the 3.0 version). You can download it from

https://e.pcloud.link/publink/show?code ... jY3b8tzBBy

I love it, because it gives to you the SUSPEND option, no other shutdown program gives it to you.... and whith it you gonna save energy, disk health....

Last edited by pp4mnklinux on Sun Apr 02, 2023 6:05 pm, edited 2 times in total.

:arrow:

XFCE_FUSILLI . ===> https://puppyxfcefusilli.wordpress.com/

YouTube How_To . ==> https://bit.ly/f96ce_xfce_fusilli_HOWTO

Learning EASY OS . => https://easyos.org/

User avatar
wizard
Posts: 1973
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2634 times
Been thanked: 684 times

Re: Shortcut for shutdown

Post by wizard »

The attached file can be copied to /root/my-applications/bin/ and then drag an icon to the desktop. It ask no questions, just goes straight to shutdown.
You can also just use jwm to make hotkeys if you like.
wizard

Attachments
shutdownquiet.sh.gz
remove .gz before using
(83 Bytes) Downloaded 43 times

Big pile of OLD computers

User avatar
bigpup
Moderator
Posts: 6975
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 902 times
Been thanked: 1520 times

Re: Looking for a shortcut for shutdown

Post by bigpup »

Are you using F96-CE_2 the latest version?

you used this ISO:

F96-CE_2.iso

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

puppyto
Posts: 8
Joined: Thu Sep 17, 2020 10:02 pm
Been thanked: 1 time

Re: Looking for a shortcut for shutdown

Post by puppyto »

Yes, that same. :thumbup2:

Overdrive5
Posts: 19
Joined: Wed Aug 05, 2020 11:48 pm
Been thanked: 4 times

Re: Looking for a shortcut for shutdown

Post by Overdrive5 »

Or you can just use rox to drag /sbin/poweroff on to your desktop.

I then rename it "Shut Down" so the TD users understand.

Then I set the icon to use the /usr/share/pixmaps/puppy/shutdown.svg

shutdown.png
shutdown.png (40.69 KiB) Viewed 605 times

Instant Puppy Fan since 2006!

User avatar
greengeek
Posts: 1383
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 534 times
Been thanked: 192 times

Re: Looking for a shortcut for shutdown

Post by greengeek »

puppyto wrote: Thu Mar 09, 2023 5:41 pm

Hi, I have tried several options like "exec:session-quit --log out","exec:wmpoweroff", "exec:poweroff", in the GUI for shortcut:
Menu---JWMdesk---hotkeys---command. None of them works, because, close Desktop, but keep running the system with an CLI window, waiting commands "root#"
Some command that could works in this context. Thanks!
Using F96-CE, at the moment very good impressions. a little hardweight but for my pc runs smooth, frugal install on the same partition of window10.

What brand/model of machine are you using?
Also - what pupmode are you running before shutdown?

User avatar
bigpup
Moderator
Posts: 6975
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 902 times
Been thanked: 1520 times

Re: Looking for a shortcut for shutdown

Post by bigpup »

wmpoweroff is the correct command.

My F96-CE_2 is a frugal install, using a save folder, and directly updates the save as needed.
Running in pupmode 12.

I made this shortcut key combo in JWM hotkey keyboard shortcuts
.
Screenshot.jpg
Screenshot.jpg (17.54 KiB) Viewed 513 times
.
It is Ctrl+Alt+s

Because of what it does, I figured having to press 3 keys would be best to make it not so easy to select.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
gychang
Posts: 591
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 206 times
Been thanked: 64 times

Re: Looking for a shortcut for shutdown

Post by gychang »

puppyto wrote: Thu Mar 09, 2023 5:41 pm

Hi, I have tried several options like "exec:session-quit --log out","exec:wmpoweroff", "exec:poweroff", in the GUI for shortcut:
Menu---JWMdesk---hotkeys---command. None of them works, because, close Desktop, but keep running the system with an CLI window, waiting commands "root#"
Some command that could works in this context. Thanks!
Using F96-CE, at the moment very good impressions. a little hardweight but for my pc runs smooth, frugal install on the same partition of window10.

Being a keyboard user, I open my terminal and type "po" (poweroff) or "rb" (reboot). I setup alias in .bashrc

alias po='wmpoweroff && exit'
alias rb='wmreboot && exit'

make sure to save whatever you are working on before. This works in all pups.

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

User avatar
rockedge
Site Admin
Posts: 6532
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2742 times
Been thanked: 2619 times
Contact:

Re: Looking for a shortcut for shutdown

Post by rockedge »

create a desktop symlinks to /sbin/poweroff and /sbin/reboot, assign each an icon and then there will be 2 icon shortcuts on the desktop for shutdown and restart one click away.

Or put the shortcuts on the tray or panel

Post Reply

Return to “F96-CE”