The officially official Devuan Forum!

You are not logged in.

#1 Re: Desktop and Multimedia » i3 window manager: mod4 (win key) doesn't work » 2020-02-18 15:14:48

~$ setxkbmap -option altwin:swap_alt_win

give me no output, xev give me the same output when I press the win key and mod+keybind in i3 doesn't work

but...

Screenshot-2020-02-18-16-00-39.png

In xfce now i can set the shortcuts super+anyletter as I wish.

I also gave

~$ setxkbmap -option

and the win key still work with combos

EDIT

Seems that

~$ setxkbmap -option altwin:swap_alt_win

works only if also give after

~$ setxkbmap -option

If I logout the xfce session and I log in after, I have to give again both commands to make the combos with the win key working. I will try later with i3 but I have to find a way to run the terminal in a session with Mod4 binding key with Mod4 not working!

#2 Re: Desktop and Multimedia » i3 window manager: mod4 (win key) doesn't work » 2020-02-17 17:20:34

Head_on_a_Stick wrote:

Perhaps the key is sticking. Can you test with a different keyboard? Or perhaps try a live session to eliminate mis-configuration.

I tried to xev on a devuan live  session from the iso, this is the output:

KeyPress event, serial 37, synthetic NO, window 0x2c00001,
    root 0xeb, subw 0x0, time 46783, (144,366), root:(1655,1178),
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x2c00001,
    root 0xeb, subw 0x0, time 46852, (144,366), root:(1655,1178),
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

the win key here is  Super_L not Multi_key

I also tried a Manjaro i3 live session and the keybindings with the win key worked perfectly. Command xev didn't worked, the package wasn't installed.

@HevyDevy I read the manpage, could be this the section that i have to look?

Many applications support the notion of Meta keys (similar to Control keys except that Meta is held down instead of Control). However, some servers do not have a Meta keysym in the default keymap table, so one needs to be added by hand. The following command will attach Meta to the Multi-language key (sometimes labeled Compose Character). It also takes advantage of the fact that applications that need a Meta key simply need to get the keycode and don't require the keysym to be in the first column of the keymap table. This means that applications that are looking for a Multi_key (including the default modifier map) won't notice any change.

%  xmodmap -e "keysym Multi_key = Multi_key Meta_L"

Have I to remap my win key something like this?

%  xmodmap -e "keysym Multi_key = Super_L"

Forgive me if I made some sintax errors

#3 Re: Desktop and Multimedia » i3 window manager: mod4 (win key) doesn't work » 2020-02-17 13:51:45

I am now in the xfce session and I'm trying to set keyboard shortcuts for applications:

Screenshot-2020-02-17-14-39-23.png

When I try to set xfce4-appfinder from alt+F3 to Super+F3 and I press the win key, xfce doesn't allow me to create a combination with the window key but I can create a shortcut just with the win key. Seems that the problem is that for some reason I can't create combinations with the "Multi key" (aka win key) key

#4 Re: Desktop and Multimedia » i3 window manager: mod4 (win key) doesn't work » 2020-02-16 15:54:34

Head_on_a_Stick wrote:

Did the wizard ask you which modifier to use? I just tried it myself and it asked me.

Yes it did

Head_on_a_Stick wrote:

The relevant section in ~/.config/i3/config seems to be

set $mod Mod4

Do you have that?

Yes I do.

#5 Re: Desktop and Multimedia » i3 window manager: mod4 (win key) doesn't work » 2020-02-16 12:20:11

Thank you Head_on_Stick for your help.

~$ rm .config/i3/config
~$ i3-config-wizard 
[libi3] ../../i3-wm-4.13/libi3/font.c Using Pango font monospace, size 8
[libi3] ../../i3-wm-4.13/libi3/font.c X11 root window dictates 96.050420 DPI
[libi3] ../../i3-wm-4.13/libi3/font.c Using Pango font monospace, size 8
Keypress 36, state raw = 0
 (65293)
Modifier keycode for Mod1: 0x40
Modifier keycode for Mod1: 0xcd
Modifier keycode for Mod4: 0x86
Modifier keycode for Mod4: 0xce
Modifier keycode for Mod4: 0xcf
Keypress 36, state raw = 0
 (65293)
creating "/home/stecco/.config/i3/config"...

But the win key is still not working.

#6 Desktop and Multimedia » i3 window manager: mod4 (win key) doesn't work » 2020-02-15 18:13:10

stecco
Replies: 11

mod1 (alt) instead works perfectly.

I tried to

xev

then I pressed the win key and this is the result:

KeyPress event, serial 37, synthetic NO, window 0x2e00001,
    root 0xeb, subw 0x0, time 4162734, (-817,-155), root:(694,703),
    state 0x0, keycode 133 (keysym 0xff20, Multi_key), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: True

KeyRelease event, serial 37, synthetic NO, window 0x2e00001,
    root 0xeb, subw 0x0, time 4162817, (-817,-155), root:(694,703),
    state 0x0, keycode 133 (keysym 0xff20, Multi_key), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

then I did

~$ xmodmap -e "clear mod4"
~$ xmodmap -e "add Mod4 = Multi_key"

also, if I

~$ xmodmap -pm|grep mod4
mod4        Super_R (0x86),  Super_L (0xce),  Hyper_L (0xcf)

However, mod4 still doesn't work. Any suggest?

#7 Re: Hardware & System Configuration » SOLVED - Enable tapping on touchpad » 2020-02-15 17:06:37

Sorry Head_on_a_Stick you are totally right, my mistake. Now the tapping works perfectly.

#8 Hardware & System Configuration » SOLVED - Enable tapping on touchpad » 2020-02-14 11:08:01

stecco
Replies: 3

I followed this

https://wiki.debian.org/SynapticsTouchp … n_touchpad

In Devuan ASCII there is already a 40-libinput.conf file:

~$ cat  /usr/share/X11/xorg.conf.d/40-libinput.conf
# Match on all types of devices but tablet devices and joysticks
Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
	Option "Tapping" "True"
EndSection

Section "InputClass"
        Identifier "libinput keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

and seems that the tapping option is active. However I tried to change Option "Tapping" "True" to Option "Tapping" "on" but it still doesn't work. Any suggest?

#9 Re: Hardware & System Configuration » SOLVED - Wi-Fi oddity » 2020-02-14 10:55:09

Thank you Head_on_a_Stick now finally everything works.

#10 Re: Hardware & System Configuration » SOLVED - Wi-Fi oddity » 2020-02-12 00:03:35

I never edited rc.local nor created custom services before. Can you tell me how to do it or at least where I can find any good documentation to do that?

#11 Re: Hardware & System Configuration » SOLVED - Wi-Fi oddity » 2020-02-11 19:21:23

~$ cat /sys/module/rfkill/parameters/default_state
1

It's 1

#12 Hardware & System Configuration » SOLVED - Wi-Fi oddity » 2020-02-11 15:31:17

stecco
Replies: 6

Every time I turn on my laptop, there is no internet connection.

I have to [Switch On Wi-Fi] pressing the button

Screenshot-2020-02-11-15-35-01.png

then I have to [Refresh]

Screenshot-2020-02-11-15-35-55.png

Only after this i can select my ESSID and connect to my network.

It's the first time I have a problem like this one.

Probably this issue is related rfkill, this is the situation when I tun on my laptop:

~# rfkill list
0: ideapad_wlan: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
1: ideapad_bluetooth: Bluetooth
	Soft blocked: yes
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no
3: phy0: Wireless LAN
	Soft blocked: yes
	Hard blocked: no

And this after the [Switch On Wi-Fi] and [Refresh] procedure

~# rfkill list
0: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: ideapad_bluetooth: Bluetooth
	Soft blocked: yes
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no
3: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

Obviously I already tried

~# rfkill unblock all

and this worked too, but I have to do it every time I turn on my laptop... Super annoynig.

#13 Re: Hardware & System Configuration » SOLVED - BCM4352 wireless card problem » 2020-01-28 10:23:16

fsmithred wrote:

If you're using wicd or some other network manager, you should not configure /etc/network/interfaces. They will fight with each other if you do.

The most common cause for wicd to fail to see the wireless interface is that wlan0 is not set as the default wireless interface in wicd preferences. Maximize the wicd window and you'll see where to get to Preferences. (Or click on the little arrow if you can find it.) It's also possible to set the wireless interface in /etc/wicd/manager-settings.conf -
wireless_interface = wlan0

This works and that's what i was asking about the "doing right" thing.

Now the only issue is that I have to click the "Switch on Wi-fi" Wicd Network manager button every time I turn on my laptop.

#14 Hardware & System Configuration » SOLVED - BCM4352 wireless card problem » 2020-01-27 10:18:39

stecco
Replies: 3

Good day to everyone, I'm a happy Devuan new user. After I tested this distro on my desktop computer now I am trying to get everything working on my laptop too.

This is the first real issue.

After the installation seems that wifi card not working.

lspci output give me my wifi card

01:00.0 Network controller: Broadcom Limited BCM4352 802.11ac Wireless Network Adapter (rev 03)

I googoled for the drivers and seems that I have to install this package

https://wiki.debian.org/wl#Installation

So I follow instructions.
Now it's time to configure the network correctly, so I follow this guide

https://wiki.debian.org/WiFi/HowToUse

Wicd section before, without success.

From the command line I have this outputs:

~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 38:b1:db:e3:db:3b brd ff:ff:ff:ff:ff:ff
3: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
    link/ether 0e:16:11:52:4f:e6 brd ff:ff:ff:ff:ff:ff
    inet 192.168.42.171/24 brd 192.168.42.255 scope global usb0
       valid_lft forever preferred_lft forever
    inet6 fe80::c16:11ff:fe52:4fe6/64 scope link 
       valid_lft forever preferred_lft forever
~# iwconfig 
wlan0     IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
lo        no wireless extensions.

usb0      no wireless extensions.
~# ip link set wlan0 up
RTNETLINK answers: Operation not possible due to RF-kill

seems there is an RF-kill problem.

~# rfkill list
0: ideapad_wlan: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
1: ideapad_bluetooth: Bluetooth
	Soft blocked: yes
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no
3: phy0: Wireless LAN
	Soft blocked: yes
	Hard blocked: no

Wonderful.

~# rfkill unblock all
~# rfkill list
0: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: ideapad_bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
3: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

then

~# ip link set wlan0 up

~# iwlist scan
wlan0     Scan completed :

     Cell 02 - Address: 38:22:9D:2E:3C:F4
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=70/70  Signal level=-35 dBm  
                    Encryption key:on
                    ESSID:"Alice-64367105"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 52ms ago
                    IE: Unknown: 000E416C6963652D3634333637313035
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030106
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: DD600050F204104A00011010440001021041000100103B0001031047001000000000000000000000000000000000102100001023000010240000104200001054000800000000000000001011000E416C6963652D3634333637313035100800020000
                    IE: Unknown: DD090010180201F0000000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00

I obviously posted only my wifi internet

The man page tells me I have to edit

/etc/network/interfaces

Ok now I am a bit tired. I don't understand how the interface is brought up automatically during boot up, I am not sure how to edit this file and I am no more sure this is the right way to make my wifi working.

Why Wicd doesn't work, for example?

Could you give me any advice or help?
Thanks in advice.

Board footer

Forum Software