Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[SOLVED] i3 wm shutdown commands for SysV

Help for Current Versions of MX
Message
Author
User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2068
Joined: Wed Apr 11, 2018 5:09 pm

Re: i3 wm shutdown commands for SysV

#11 Post by fehlix » Thu Nov 08, 2018 7:07 pm

mikeswifty wrote:
Thu Nov 08, 2018 6:41 pm
Unfortunately, I just did a copy/paste of your code into the i3 config, restarted i3, and tried to poweroff. Nothing happened.
As I'm not running i3, I have not tested but only "converted" the code you provided in your post, from systemd-calls to syvinit.
But if you compare both code-snipplets and the comands on the commandline, which you shall better test first you shall see the idea.
If you get prompted for a password on the user-command line, than you would have changed something with MX Linux.
But let me kwow if the command line call, do work or not. So we would need to fix first those, if needed,I guess.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
mikeswifty
Forum Novice
Forum  Novice
Posts: 48
Joined: Wed Jul 26, 2017 9:39 pm

Re: i3 wm shutdown commands for SysV

#12 Post by mikeswifty » Thu Nov 08, 2018 9:47 pm

Running from the terminal gave me an error message about the file in sudoers.d. I forgot to delete it before testing your code. After deleting it, reboot and shutdown work just fine.

Thank you!

I'll mark the thread as [Solved]

Post Reply

Return to “MX Help”