You are not logged in.
I experience a problem with some transient/dialog boxes with Audacity (metadata editor when expoting) and Kicad : The windows open floating, but shrunk to a minimal size, so I have to expand the window prior to be able to use it. In kicad this is a problem because you often have to open dialogs.
It seems to be a wxwidgets problem. As a workaround restarting i3 without killing X seems to fix the situation.
When wrong dialogs are mapped I get the following on console: "Gtk-CRITICAL **: IA__gtk_window_resize: assertion `width > 0' failed".
It's strange the problem only exhibits in i3.
Offline
I'm a complete newbie when it comes to WMs (I'm coming from Gnome). I've already tried quite a few WMs and i3 is the most intuitive with its container tree.
1. I've managed to get conky-dock working, but I don't want two bars (i3bar with workspaces and conky dock). Is there any way to display conky (with graphs, not just pure text) on/over i3bar? I'd like to get workspaces and conky's graphs on same single bar.
2. i3's user guide shows how you can add names to your workspaces and keep the numerical ordering (here). I have this in my i3 config, which has the same format as the user guide's example:
bindsym $mod+1 workspace 1: main
bindsym $mod+2 workspace 2: dev
bindsym $mod+3 workspace 3: media
bindsym $mod+4 workspace 4: monitor
The ordering doesn't work for me though, e.g. if I go to empty workspace 2 when workspace 4 has already a client, the first will be displayed after the latter in the workspace list.
Thanks in advance!
Last edited by Camus (2011-10-12 20:32:19)
Offline
Hi all,
i3 is a dream. It runs the way I always unconsciously wanted my UI to run. Tree-based layouting destroys the top-down definitions that always had me ditching tiling WMs after short experimental forays.
Onto my question:
I have written a script that monitors which workspace I am using in order to set up workspace-specific gvim instances (I do not want to open a document from a terminal on workspace X only to have it appear in an already running gvim instance on workspace Y).
Using the i3-ipc Ruby gem, I created the following script: i3-workspace-watcher.rb
Has the way in which the i3 IPC handles workspace events at startup changed? While I was using i3-tree from AUR, the script would successfully re-configure my gvim wrapper script so that it would have '--server-name 1' (ie the watcher script was successfully triggered when the initial workspace appeared and took focus). Now that I have switched to the version in [community], the wrapper script is no longer updated, instead reflecting whatever workspace I had focused when I shut down my computer.
Is this the way it should be? Wouldn't it make more sense that the initial workspace also triggers an I3::IPC::EVENT_WORKSPACE? Or am I missing something here? Maybe the script hasn't connected to IPC before the event message is sent out?
[Edit: Note, I could also be wrong that it ever behaved the way I expected, and I had just always switched to a different workspace and back again before running gvim. I don't think this is accurate, but I want to acknowledge the possibility that I've completely made up this difference in my head ]
Last edited by jceasless (2011-10-13 08:56:16)
Offline
Anyone knows how to make Mono applications work with i3? assign, for_window using WM_NAME(STRING) from xprop doesn't work
e.g: bindsym mod1+s [title="abc.kdbx - KeePass Password Safe"] focus
assign "abc.kdbx - KeePass Password Safe" 4
Thanks.
Last edited by trungpham (2011-10-14 04:08:30)
Offline
Anyone knows how to make Mono applications work with i3? assign, for_window using WM_NAME(STRING) from xprop doesn't work
e.g: bindsym mod1+s [title="abc.kdbx - KeePass Password Safe"] focus
assign "abc.kdbx - KeePass Password Safe" 4Thanks.
Don't use Mono apps so I wouldn't know how to help you. I suggest you Figaro's Password Manager 2.
https://aur.archlinux.org/packages.php?ID=21867
Try it if you have time. I'm using it instead of Revelation because you cannot define new launchers in Revelation.
Offline
Don't use Mono apps so I wouldn't know how to help you. I suggest you Figaro's Password Manager 2.
https://aur.archlinux.org/packages.php?ID=21867
Try it if you have time. I'm using it instead of Revelation because you cannot define new launchers in Revelation.
Thank you for your suggestion. Figaro's Password Manager 2 really sounds nice but I prefer Keepass because of more features, active develop and cross-platform. Any helps for my problem?
Offline
Am I the only one whose workspaces are not properly ordered when prefixed with a number? (see post 1002715)
Last edited by Camus (2011-10-17 18:32:54)
Offline
Am I the only one whose workspaces are not properly ordered when prefixed with a number? (see post 1002715)
Same thing here. I only use numbers for that reason.
Last edited by ArchArael (2011-10-17 19:02:21)
Offline
I'm really trying to make transition from xmonad, but one thing drives me mad: is there really no way to switch to another monitor without addressing particular (currently visible or assigned to monitor) workspace? I have to remember other ws number to simply use ws on second monitor and I find this ultra uneffective. I need a way to assign key to a particular monitor (like mod-i = activate workspace visible on monitor 1, mod-o same for monitor 2).
Can I mimic the 'greedy' ws switching? So when I'm on active monitor 1 (ws 1) and try to jump to ws 2 which is currently on monitor 2 it will switch the workspaces on monitors? Without this it's a *hassle* to swap monitors
Last edited by pielgrzym (2011-10-25 23:28:27)
Offline
I'm really trying to make transition from xmonad, but one thing drives me mad: is there really no way to switch to another monitor without addressing particular (currently visible or assigned to monitor) workspace? I have to remember other ws number to simply use ws on second monitor and I find this ultra uneffective. I need a way to assign key to a particular monitor (like mod-i = activate workspace visible on monitor 1, mod-o same for monitor 2).
Can I mimic the 'greedy' ws switching? So when I'm on active monitor 1 (ws 1) and try to jump to ws 2 which is currently on monitor 2 it will switch the workspaces on monitors? Without this it's a *hassle* to swap monitors
The only way I know that could be of use to you is:
1) Don't assign workspaces to monitors
2) Focus the monitor you want your new workspace on: so go to workspace 1 if the first monitor or workspace 2 if the second monitor
3) Open the new workspace mod-workspace_number
and your workspace will remain on that monitor.
Yes, it is not effective. I have mapped my odd workspaces to the monitor 1 and my even workspaces to the monitor 2. That way I just choose even workspaces when I want my programs on the second monitor and odd workspaces when want them on the first monitor.
Hope this helps.
Offline
I guess I'll give up for now
Offline
I have a really strong urge to show memory, CPU, disk and network usage in a form of a graph in a corner of my screen. As far as I know Conky is the only thing that I can use for this (there's dzen's cpu-graph, but I'd like to show more than just CPU usage). I also want to show workspaces and I want a single bar.
1.a) Is there any way to dock Conky over the i3 bar or vice-versa?
1.b) If not, is there any other workspace bar that I can display with conky as described above?
2.) Is it possible to pipe/send data to Conky (e.g. workspace data from i3's IPC interface) and make conky display it instantly?
Offline
I'm really trying to make transition from xmonad, but one thing drives me mad: is there really no way to switch to another monitor without addressing particular (currently visible or assigned to monitor) workspace? I have to remember other ws number to simply use ws on second monitor and I find this ultra uneffective. I need a way to assign key to a particular monitor (like mod-i = activate workspace visible on monitor 1, mod-o same for monitor 2).
Can I mimic the 'greedy' ws switching? So when I'm on active monitor 1 (ws 1) and try to jump to ws 2 which is currently on monitor 2 it will switch the workspaces on monitors? Without this it's a *hassle* to swap monitors
If you are looking for xmonad's multi-monitor behaviour combined with manual tiling, then you can try herbstluftwm.
Offline
Ok so the new update requires you put the configuration for i3bar in the config file for i3. I can't do:
exec i3bar -d --color-bar-bg 262729
anymore. How can I set the bg in the config? I can't find any new docs for this. :$
It goes in:
bar {}
Offline
Offline
Thanks I got it. You have to nest the color {} inside bar {}. One more thing. I have:
for_window [class="xfce4-notifyd"] floating enable
in my config so my notifications are floating and don't tile against windows. But it doesn't work. :$ All the xfce4-notifyd notifications are still tiling. What could be the problem?
Offline
Now that i3 uses the whole "status_command" thingmabob; does anyone know how to get conky to work?
Previously I used;
exec i3bar -d -c conky
To get what I needed.
I've tried the following methods all have failed;
i3status | i3bar -d bottom -c conky
status_command i3status | i3bar -d bottom -c conky
status_command i3bar -d bottom -c conky
My .conkyrc
cpu_avg_samples 5
net_avg_samples 2
out_to_x no
out_to_console yes
update_interval 0.5
short_units yes
TEXT
· C1: ${cpu cpu1}% C2: ${cpu cpu2}% @ ${execi 60 sensors | grep -A 0 'Core 0:' | cut -c 16-21}c M: $memperc% (S: $swapperc%) · ${if_up wlan0}wlan0 ${addrs wlan0} ${wireless_essid wlan0} (Q: ${wireless_link_qual_perc wlan0}%)$endif · B: ${battery_short BAT0} · ${time %a %m-%d-%Y} ${time %l:%M:%S %p}
If you're reading this; you're awesome.
Offline
I just updated to the new version in the arch repository, and now the "i3-nagbar" (nice name!) tells me that there is an error in my config file, here is the exact output:
ERROR: You are using the old assign syntax (without criteria). Please see the User's Guide for the new syntax and fix your config file.
ERROR: You are using the old assign syntax (without criteria). Please see the User's Guide for the new syntax and fix your config file.
ERROR: You are using the old assign syntax (without criteria). Please see the User's Guide for the new syntax and fix your config file.
ERROR: You are using the old assign syntax (without criteria). Please see the User's Guide for the new syntax and fix your config file.
ERROR: You are using the old assign syntax (without criteria). Please see the User's Guide for the new syntax and fix your config file.
ERROR:
ERROR: CONFIG: syntax error, unexpected <string>, expecting <number> or <quoted string>
ERROR: CONFIG: in file "/home/jonathanarcher/.config/i3/config", line 146:
ERROR: CONFIG: workspace 1 output LVDS1
ERROR: CONFIG: ^^^^^^^^^^^^^^
ERROR:
ERROR: X11 Error received! sequence 0x11d, error_code = 4
ERROR: X11 Error received! sequence 0x11e, error_code = 13
ERROR: X11 Error received! sequence 0x120, error_code = 4
ERROR: X11 Error received! sequence 0x121, error_code = 13
ERROR: X11 Error received! sequence 0x123, error_code = 4
ERROR: X11 Error received! sequence 0x124, error_code = 13
ERROR: X11 Error received! sequence 0x126, error_code = 4
ERROR: X11 Error received! sequence 0x127, error_code = 13
ERROR: X11 Error received! sequence 0x3b0, error_code = 4
ERROR: X11 Error received! sequence 0x3b1, error_code = 13
I am guessing I can ignore the X11 errors for now as I am having trouble with my Nvidia Optimus graphics, maybe that relates to that. The problem that baffles me is about the "workspace" entry. I checked on the i3 page and in the release notes it says that the new syntax is explained in the user guide. But in the user guide I can only find the syntax that I am using, workspace number output display. No fancy brackets or anything and I did not give the workspaces any custom names. Where is the problem or what is the new syntax?
Offline
@Ari'osika - I was just having the same problem but I could get it to work on my netbook but not my desktop. It turns out I had an old config file for .i3 on my desktop and so I just moved the new one from /etc/i3/config to ~/.i3/config and edited the bar section at the bottom to:
bar {
status_command conky
}
Now everything is running as before
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
Ahh.. the most obvious one, haha
Can I also presume that adding any colors to conky won't show?
If you're reading this; you're awesome.
Offline
Any idea why I am not getting a bar at all no matter what I do?? Using nvidia binary driver. Config below.
# Mod4 is Windows and Mod1 is Alt
# execute my startup programs
exec ~/.startup
# Start windows without titles
new_window normal
# workspace names
workspace 1 output xinerama-0
workspace 2 output xinerama-0
workspace 3 output xinerama-0
workspace 4 output xinerama-0
workspace 5 output xinerama-0
workspace 6 output xinerama-1
workspace 7 output xinerama-1
workspace 8 output xinerama-1
workspace 9 output xinerama-1
workspace 10 output xinerama-1
# border background text
# colours arch linux
#client.focused #1793D1 #1793D1 #ffffff
#client.focused_inactive #666666 #666666 #ffffff
#client.unfocused #333333 #333333 #ffffff
#client.urgent #D11931 #D11931 #ffffff
# colours freebsd
#client.focused #990000 #990000 #ffffff
#client.focused_inactive #666666 #666666 #ffffff
#client.unfocused #333333 #333333 #ffffff
#client.urgent #D11931 #D11931 #ffffff
# colours gentoo
#client.focused #7a5ada #7a5ada #ffffff
#client.focused_inactive #45347b #45347b #ffffff
#client.unfocused #333333 #333333 #ffffff
#client.urgent #D11931 #D11931 #ffffff
# orange
client.focused #E04613 #E04613 #000000
client.focused_inactive #E04613 #262729 #999999
client.unfocused #E04613 #000000 #999999
client.urgent #FF0000 #8C5665 #999999
# Focus / follow mouse
focus_follows_mouse yes
# set font
font -*-terminus-*-*-*-*-*-*-*-*-*-*-*-*
# Use Mouse+Mod4 to drag floating windows to their wanted position
floating_modifier Mod4
# Fullscreen mode
bindsym Mod4+f fullscreen
bindsym Mod4+Shift+f fullscreen global
# Stacking mode
bindsym Mod4+s layout stacking
# Tabbed mode
bindsym Mod4+t layout tabbed
# split mode
bindsym Mod4+Ctrl+v split vertical
bindsym Mod4+Ctrl+h split horizontal
bindsym Mod4+p focus parent
# Grid (or tiled) mode
bindsym Mod4+g layout default
# Toggle tiling/floating of the current window
bindsym Mod4+space floating toggle
floating_modifier Mod4
# Focus (Mod4+j/k/l/;)
bindsym Mod4+h focus left
bindsym Mod4+j focus down
bindsym Mod4+k focus up
bindsym Mod4+l focus right
# (alternatively, you can use the cursor keys:)
bindsym Mod4+Left focus left
bindsym Mod4+Down focus down
bindsym Mod4+Up focus up
bindsym Mod4+Right focus right
# Focus Container (Mod1+j/k/l/;)
bindsym Mod1+h focus parent; focus left
bindsym Mod1+j focus parent; focus down
bindsym Mod1+k focus parent; focus up
bindsym Mod1+l focus parent; focus right
# (alternatively, you can use the cursor keys:)
bindsym Mod1+Left focus parent; focus left
bindsym Mod1+Down focus parent; focus down
bindsym Mod1+Up focus parent; focus up
bindsym Mod1+Right focus parent; focus right
# Move (Mod4+Shift+j/k/l/;)
bindsym Mod4+Shift+h move left
bindsym Mod4+Shift+j move down
bindsym Mod4+Shift+k move up
bindsym Mod4+Shift+l move right
# (alternatively, you can use the cursor keys:)
bindsym Mod4+Shift+Left move left
bindsym Mod4+Shift+Down move down
bindsym Mod4+Shift+Up move up
bindsym Mod4+Shift+Right move right
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# They resize the border in the direction you pressed, e.g.
# more space on its left
bindsym h resize shrink left 10 px
bindsym Shift+h resize grow left 10 px
bindsym j resize grow bottom 10 px
bindsym Shift+j resize shrink bottom 10 px
bindsym k resize shrink top 10 px
bindsym Shift+k resize grow top 10 px
bindsym l resize grow right 10 px
bindsym Shift+l resize shrink right 10 px
bindsym Return mode "default"
bindsym Escape mode "default"
}
# Enter resize mode
bindsym Mod1+r mode "resize"
# Workspaces (Mod4+1/2/…)
bindsym Mod4+1 workspace 1
bindsym Mod4+2 workspace 2
bindsym Mod4+3 workspace 3
bindsym Mod4+4 workspace 4
bindsym Mod4+5 workspace 5
bindsym Mod4+6 workspace 6
bindsym Mod4+7 workspace 7
bindsym Mod4+8 workspace 8
bindsym Mod4+9 workspace 9
bindsym Mod4+0 workspace 10
# Move to Workspaces
bindsym Mod4+Shift+1 move workspace 1
bindsym Mod4+Shift+2 move workspace 2
bindsym Mod4+Shift+3 move workspace 3
bindsym Mod4+Shift+4 move workspace 4
bindsym Mod4+Shift+5 move workspace 5
bindsym Mod4+Shift+6 move workspace 6
bindsym Mod4+Shift+7 move workspace 7
bindsym Mod4+Shift+8 move workspace 8
bindsym Mod4+Shift+9 move workspace 9
bindsym Mod4+Shift+0 move workspace 10
# Program assigned workspaces
# Workspace 1 - urxvtcs
assign [class="Urxvt"] 1
assign [class="urxvtc"] 1
assign [class="xclock"] ~1
# Workspace 2 - Browsers
assign [class="jumanji"] 6
assign [class="Navigator"] 6
assign [class="firefox"] 6
assign [class="Chromium"] 6
# Workspace 3
assign [class="librecad"] 2
assign [class="gimp"] 2 ~
assign [class="brasero"] 2
assign [class="libreoffice"] 2
assign [class="mixxx"] 2
# Start floating
assign [class="evolution"] ~
assign [class="display"] ~
assign [class="VICE: C64 emulator"] ~
assign [class="gpicview"] ~
for_window [title="PlayOnLinux"] floating enable
# Program shortcuts
bindsym Mod4+Return exec urxvtc
bindcode 158 exec firefox
bindcode 163 exec urxvtc -e mutt
bindsym Mod4+o exec videopac
bindsym Mod4+c exec c64
# Media shortcuts
bindsym XF86AudioPlay exec mpc toggle & mpc | head -n 1 | message
bindsym XF86AudioStop exec mpc stop & echo Stopped | message
bindsym XF86AudioMute exec amixer set Master toggle & echo Mute | message
bindsym XF86AudioPrev exec mpc prev & mpc | head -n 1 | message
bindsym XF86AudioNext exec mpc next & mpc | head -n 1 | message
bindsym Mod1+XF86AudioPrev exec mpc seek -5%
bindsym Mod1+XF86AudioNext exec mpc seek +5%
bindsym XF86AudioRaiseVolume exec mpc volume +1
bindsym XF86AudioLowerVolume exec mpc volume -1
#bindsym XF86PowerOff exec ~/.bin/shdown
bindsym XF86Sleep exec sudo suspend
bindsym Mod4+numbersign exec dmenu_mpd
# System Information
bindsym Mod4+Ctrl+t exec ~/.bin/bitstatus
bindsym Mod4+Ctrl+m exec free -m | grep buffer | message
# Google search shortcuts
bindsym Mod4+F1 exec dmenu_google
bindsym XF86Search exec dmenu_google
bindsym Mod4+F3 exec dmenu_lucky
bindsym XF86Favorites exec dmenu_lucky
# Mod4+Shift+q kills the current client
bindsym Mod4+Shift+q kill
bindsym Mod1+F4 kill
# Change window borders bn=normal border bp=1 pixel bb=borderless
bindsym Mod4+comma border normal
bindsym Mod4+period border 1pixel
bindsym Mod4+slash border none
# Mod4+r starts dmenu and launches the selected application
bindsym Mod4+r exec ~/.bin/dmenu_run
bindsym Mod4+F2 exec ~/.bin/dmenu_run
bindsym Mod1+F2 exec ~/.bin/dmenu_run
bindsym Mod4+i exec dmenu_i3
# Mod4+x exits i3
bindsym XF86PowerOff exit
bindsym Mod4+Shift+x exit
# Mod4+Shift+r restarts i3 inplace
bindsym Mod4+shift+r reload
bindsym Mod1+shift+r restart
#ipc-socket location
ipc-socket ~/.i3/ipc.sock
bar {
status_command i3status
mode dock
position bottom
font -*-terminus-*-*-*-*-*-*-*-*-*-*-*-*
}
#exec i3bar -d --color-active-ws-bg 262729 --color-active-ws-fg E04613 --color-inactive-ws-bg 262729 --color-inactive-ws-fg 999999 --color-focus-ws-fg 000000 --color-focus-ws-bg E04613
Offline
Does the i3bar look different to everyone else? Color, size, and font?
Offline
gazj : Just a guess, you might try to launch i3bar without the font option. If it works, then be sure to select an iso10646 font.
Offline
Removing the font did not work. Putting the bar config at the top of my config file did work however. When I put the font line in it failed to work again but at least I have something.
Now I have no status being displayed. Anyone?
Offline
Removing the font did not work. Putting the bar config at the top of my config file did work however. When I put the font line in it failed to work again but at least I have something.
Now I have no status being displayed. Anyone?
If you have the package 'i3status' installed, then it should work. Does /usr/bin/i3status exist ?
EDIT: I'm using conky, what makes you prefer i3status over it?
Last edited by n0stradamus (2011-11-14 17:35:13)
Offline