From ArchWiki
Jump to: navigation, search

complex command

Re [1], 1. why are two DPMS commands run in succession 2. "Special characters should be replaced", but I still hope the &amp are formatting mistakes and not to be taken literally. Else these commands should be included in a script. -- Alad (talk) 15:42, 30 July 2015 (UTC)

Ok, 1. launches slock in a subshell, which is then backgrounded. After that, the dpms delay is set to two seconds. After slock exits, the dpms command in the subshell sets the delay back to a reasonable 60 seconds. Similar to the inactivity timeout of i3lock.
For 2., I've found [2]. That's just horrible. -- Alad (talk) 19:17, 30 July 2015 (UTC)
1. Well, this is not a really good example. It was taken from [3]. I think we should add the link to description. The idea is to lock the screen and switch off backlight. But with simple slock & xset dpms force off it is not enough delay for hotkey to be released and backlight comes back. The more simple is to create an atrificial delay slock & (sleep .5 && xset dpms force off). Vas (talk) 11:10, 1 August 2015 (UTC)
2. Special character replacement works fine. I've found an example [4] in openbox mailing list. Vas (talk) 12:33, 1 August 2015 (UTC)

Hang on start

Installing on a new machine here. I just tried to install the minimal stuff and openbox hanged on start. When I installed everything xorg it worked better. I guess it would be good to add whatever dependency is necessary to the openbox package or update the instructions to "you have to install all of xorg" (or whatever part that is necessary. xorg-xset perhaps? Since I am not entirely sure what I am doing maybe someone else can advice. —This unsigned comment is by Froderik (talk) 11:17, 9 August 2015‎. Please sign your posts with ~~~~!

Xinitrc and Display manager both link to Xorg. If you followed General_recommendations#Graphical_user_interface, you get explicit instructions on installing Xorg and needed drivers before installing a window manager.
Otherwise, define "minimal stuff" and "everything Xorg". Perhaps you forgot to install a driver or input package (in Arch, unlike other distributions, this is left to the user). Troubleshooting hangs (and possible follow-up bug reports) is better done on the forums, however. -- Alad (talk) 12:52, 9 August 2015 (UTC)