You are not logged in.

#1 2014-10-07 12:28:36

n0vember
Member
Registered: 2013-07-01
Posts: 9

i3-wm tray output

Hi !

I have this i3_bar configuration in .config/i3/config:

bar {
        id bar_1
        #verbose yes
        output DP-1
        #status_command i3status -c ~/.config/i3status/config_small
        status_command ~/bin/i3conky_dp
        position top
        mode dock
        workspace_buttons yes
        tray_output primary

        colors {
                background #002b36
                statusline #fdf6e3
                focused_workspace  #eee8d5 #93a1a1 #eee8d5
                active_workspace   #eee8d5 #839496 #073642
                inactive_workspace #657b83 #657b83 #073642
                urgent_workspace   #eee8d5 #dc322f #073642
        }

}

my DP-1 screen is set as primary. xrandr output :

Screen 0: minimum 8 x 8, current 3520 x 1080, maximum 16384 x 16384
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS-0 connected 1600x900+1920+0 (normal left inverted right x axis y axis) 310mm x 174mm
   1600x900      60.06*+  40.32  
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
   1920x1080     60.00*+
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   640x480       75.00    59.94  
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)

But tray does not seem to be there and my icons doesn't show (volumeicon, nvidia settings...)

Has anybody experienced this ?

I don't have tried a downgrade on i3 yet.

n0vember

Offline

#2 2014-10-07 13:56:09

ajbibb
Member
Registered: 2012-02-12
Posts: 142

Re: i3-wm tray output

I believe you need to change your output line to say tray_output

tray_output  DP-1

And/or remove the tray_output primary line

Last edited by ajbibb (2014-10-07 13:57:17)

Offline

#3 2014-10-07 14:05:19

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: i3-wm tray output

For "tray_output primary" to work some xdg variable needs to be set.
Chage to tray_output DP-1 and it will most probably work.

Offline

#4 2014-10-07 15:37:48

n0vember
Member
Registered: 2013-07-01
Posts: 9

Re: i3-wm tray output

Thanks for your answers, but actually I have two screens : laptop one LDVS-0 and LCD DP-1. I sometimes take my laptop with me, and would like my tray to follow. That's why primary is good.

Note that it used to work, but I didn't pay attention which update had it gone.

I will probably go with tray_output DP-1 as a workaround, but it's no good solution.

@bstaletic : which XDG variables ? Here is what i have :

XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_ID=c1
XDG_VTNR=7

Offline

#5 2014-10-07 15:42:19

n0vember
Member
Registered: 2013-07-01
Posts: 9

Re: i3-wm tray output

Ho ! Actually it works ! Trying to do as you said, refreshing didn't do the trick. I was using a reload (mod+Shift+c). A restart of i3 (mod+Shift+r) worked.

Sorry for the noise

Offline

Board footer

Powered by FluxBB