Talk:Openbox

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)

Keybinds

In my opinion, this section is far too long and unwieldy. Much of it seems to consist of posting the same snippet of XML over and over again, only changing the keybind and action. Specifically, the sections on volume control could be replaced with links to Advanced Linux Sound Architecture#Keyboard volume control, PulseAudio#Keyboard volume control and Open Sound System#Using multimedia keys with OSS. The list of XF86* keys could be replaced with this which is much more comprehensive. And so on. Of course, whilst removing the full code snippets would make the section shorter, it would also mean that users could no longer copy-paste content into their configurations. What do others think - should the section be re-worked? -- Chazza (talk) 15:31, 8 October 2016 (UTC)

The wiki doesn't cater to people who blindly copy paste things, so you have my +1. -- Alad (talk) 16:10, 8 October 2016 (UTC)