SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 Re: Help & Support (Stable) » setxkbmap after suspend » 2014-10-07 06:01:14

I also tried .xsessionrc - same result. I noticed that this happens when I'm suspending with timer from this thread: http://crunchbang.org/forums/viewtopic.php?id=6593  (zenity version)
That is:
echo "$pass" | sudo -S $offwith --auto-quirks

#Things to do on wakeup.
echo "$pass" | sudo -S modprobe airo

where $offwith is pm-suspend

My config:
.config/openbox/autostart (I added setxkbmap and redshift):  http://pastebin.com/xa8vc9c0
/etc/slim.conf (I didn't changed it):  http://pastebin.com/7wz5tVWp

#2 Re: Help & Support (Stable) » setxkbmap after suspend » 2014-10-06 07:01:41

I've tried .xinitrc and .xsession too with no effect. I think these files are not sourced when going back from suspend.
You are right that layout in setxkbmap is at first place and then goes options and variants but somehow it does work here (setxkbmap 1.3.0). But for correctness I changed it.

So, my only working version is /etc/default/keyboard

(yeah, I understand your natural choice wink )

#3 Re: Help & Support (Stable) » setxkbmap after suspend » 2014-10-02 10:32:16

I set /etc/default/keyboard same as setxkbmap:
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="us,cz"
XKBVARIANT=",qwerty"
XKBOPTIONS="grp:switch,grp:shift_caps_toggle,grp_led:scroll"

BACKSPACE="guess"

and this works. Ok.
But still I'm interested in solution where system wide configuration won't be possible.

#4 Help & Support (Stable) » setxkbmap after suspend » 2014-10-02 07:24:42

bruca
Replies: 8

hi,
I have problem with setxkbmap settings persistency when I wake up crunchbang from suspend.

In my .config/openbox/autostart is this line:
setxkbmap -option grp:switch,grp:shift_caps_toggle,grp_led:scroll us,cz -variant ,qwerty &
which works ok after login, but when returning from suspend the keyboard layout is us only so I have to set xkbmap manually in terminal.

What could be the problem with xkbmap settings persistency when returning from suspend?

Thank You

(My /etc/default/keyboard if it helps:
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"
)

#6 Help & Support (Stable) » usermod and /etc/group vs groups output » 2014-09-25 09:53:43

bruca
Replies: 3

Hi,
this question is probably not directly associated with crunchbang but rather with debian. But I'm not sure.

I have added user to group via:
$ sudo usermod -a -G dev uni468

But when I want to check whether it's been successful via groups dev is not in output list:
$ groups
uni468 cdrom floppy sudo audio dip video plugdev fuse scanner bluetooth netdev cbnetwork

I was confused so i checked /etc/group:
$ grep "dev" /etc/group
plugdev:x:46:uni468
netdev:x:108:uni468
dev:x:1007:uni468
and there it is, by this file uni468 is in dev group, but groups don't think so.
Where is the problem? And can this affect permissions check?

Thank you

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo