You are not logged in.
Ok, understood.
Use "ALT (or winkey whichever is you mod key) + shift + r" which is default key for window resizing, after that you will enter resize mode, where you can change size of selected window with arrow keys.
You can check defaults keybinds in ".config/i3/config" file.
Arch is home!
https://github.com/Docbroke
Offline
Docbroke, he's not trying to manually resize them - he wants to swap their sizes (presumably with a simple key binding). I've not used i3 enough to be able to help, but it is perfectly clear to me what is desired: it's a common behavior with a default key binding in most other tilers. In dwm it would be swapping which client window is in the 'master' region.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
before:
[_firefox_][______eclipse_______]after:
[_eclipse_][______firefox_______]Also it is just fine if the swap is like this:
before:
[_firefox_][______eclipse_______]after:
[______firefox_______][_eclipse_]
I think we have misunderstanding.
Before and after is representation of how I want to be, not how it is.
@bokiscout, your first case is possible with "Alt(mode key)+shift+left/right arrow key", which is default shortcut for moving selected window to left or right. I am not sure if second case is possible with i3.
If there is no such keybinding in your .config/i3/config add this
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Right move right
@Trilby, thanks for clarification.
Arch is home!
https://github.com/Docbroke
Offline
I'm reposting my question here:
Hey guys, I configured i3status to be piped into dzen2 to add additional information and icons.
It works great except for when on fullscreen, the i3status is on top of the window.
How can this be fixed? Thanks!
Offline
bokiscout wrote:before:
[_firefox_][______eclipse_______]after:
[_eclipse_][______firefox_______]Also it is just fine if the swap is like this:
before:
[_firefox_][______eclipse_______]after:
[______firefox_______][_eclipse_]bokiscout wrote:I think we have misunderstanding.
Before and after is representation of how I want to be, not how it is.@bokiscout, your first case is possible with "Alt(mode key)+shift+left/right arrow key", which is default shortcut for moving selected window to left or right. I am not sure if second case is possible with i3.
If there is no such keybinding in your .config/i3/config add thisbindsym $mod+Shift+Left move left bindsym $mod+Shift+Right move right
@Trilby, thanks for clarification.
Thank You for trying to help me but still we do not understand each other, probably becouse You have not been using AwesomeWM. Excuse me if I'm wrong, but anyway.
As we know this is not possible out of the box but I think that is possible by using I3 IPC Interaface. This is how I3 expose infomration about active windows, it's sizes etc...
I will take a deep look into later this month because I'm to busy at the moment.
What's the object-oriented way of becoming wealthy?
- Inheritance
Offline
And yet, "move left" and "move right" matches your before/after exactly. Have you even tried using it?
To resize windows, use mod+r and the arrow keys.
Last edited by Alad (2016-01-10 13:06:02)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
And yet, "move left" and "move right" matches your before/after exactly. Have you even tried using it?
To resize windows, use mod+r and the arrow keys.
Yes of course I'm using them.
But I found stacking both windows and periodically unstacking one of them, then stacking it back again, kind of better workflow than the one I was looking for ( strange but it works for me ).
Maybe I should try to adopt to I3 before any attempt to transform it to something that it is not meant to be.
Off topic:
No offense to any of You but reading multiple replies with basic (out of the box) shortcuts makes me feel as a donkey. Probably you are used to see bunch of new wannabe archers that are skipping wikis and manuals but that's not the case here.
What's the object-oriented way of becoming wealthy?
- Inheritance
Offline
I found tabbed windows works much better especially on my small screen as compared to tiling or stacking.
Arch is home!
https://github.com/Docbroke
Offline
I have trouble with some startup. My config file is:
# Autostart
exec --no-startup-id nm-applet
exec --no-startup-id setxkbmap -model pc104 -layout no,us -variant latin -option grp:ctrls_toggle
exec xinput set-prop 'ETPS/2 Elantech Touchpad' 'libinput Tapping Enabled' 1
exec --no-startup-id feh --bg-fill ~/.bakgrunner/archlinux-wallpaper_graa.png
exec --no-startup-id dropbox start
# exec_always [--no-startup-id] conky
exec --no-startup-id volumeicon
nm-applet and dropbox starts fine, but volumeicon, setxkbmap, xinput and feh is not.
What's wrong with my config? Or is it something else that may be wrong?
My .xinitrc file is:
# i3 window manager
# exec i3 -V >> ~/i3log-$(date +'%F-%k-%M-%S') 2>&1
# exec i3 -V >> ~/.i3log 2>&1
# Awesome window manager
exec awesome
# Gnome keyring
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
# Setting keyboard switch
exec setxkbmap -model pc104 -layout no,us -variant latin -option grp:ctrls_toggle
(the Setting keyboard swithc part is added just to try starting it from .xinitrc to see if that works).
And gnome keyring doesn't start either.
EDIT: wrong place to post it. Can anyone move it to the right place? :-)
Last edited by mikaelbrun (2016-02-09 09:42:31)
Offline
regarding feh, you may want to put target in ' ' like , it works that way with me, also make sure that your path is correct.
exec --no-startup-id feh --bg-fill '~/.bakgrunner/archlinux-wallpaper_graa.png'
you are starting setxkbmap from .xinitrc as well as i3config??
for others try running, below from terminal, it it works there it should work from your config file, (and post errors here if any)
i3-msg exec "command"
all the best!
EDIT: anything after 'exec xxx' line in your .xinitrc will be ignored, so you may want your exec awesome at the end.
Also how did you start i3 then?
Last edited by Docbroke (2016-02-09 10:13:34)
Arch is home!
https://github.com/Docbroke
Offline
I just found a major mistake. I am running awesome, not i3wm :-D could be the problem i guess... but anyway..thanks for the respond.
Offline
that's awesome
btw, your config file looks similar to i3 ( I have no idea about awesome though)
Arch is home!
https://github.com/Docbroke
Offline
That's because I was looking at the wrong config file. I am trying out both i3 and awesome to see which fits me the best :-)
Offline
Rofi-problem version 0.15.8 (latest Stable)
in i3 (but not Bspwm or Dwm or Snapwm etc)
rofi shows up but the font is so small it's not readable
I have the correct dpi set in my .xinitrc (96)
Last edited by chickenPie4tea (2016-02-20 12:18:01)
You can like linux without becoming a fanatic!
Offline
Rofi-problem version 0.15.8 (latest Stable)
I am already on 0.15.12-1, no issues with that version.
Arch is home!
https://github.com/Docbroke
Offline
I find it's not an i3 problem, it's the same in Bspwm, sorry for posting in i3 thread.
It turns out rofi was picking up a general font setting I had for terminals set in .Xresources
so I made a specific font setting for rofi in there and it works fine now.
rofi.font: DejaVu Sans Mono 14
Last edited by chickenPie4tea (2016-02-21 12:35:00)
You can like linux without becoming a fanatic!
Offline
I'm having issues with i3status acknowledging a battery.
excerpt from my i3status config:
order += "battery 0"
...
battery 0 {
format = "joy:%percentage"
format_down = "no joy"
path = "/sys/class/power_supply/sony_controller_battery_04:76:6e:XX:XX:XX/uevent"
low_threshold = 25
threshold_type = "percentage"
}
copying and pasting the path gives me this:
$ cat "/sys/class/power_supply/sony_controller_battery_04:76:6e:XX:XX:XX/uevent"
POWER_SUPPLY_NAME=sony_controller_battery_04:76:6e:XX:XX:XX
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_CAPACITY=100
POWER_SUPPLY_SCOPE=Device
POWER_SUPPLY_STATUS=Discharging
However my status bar simply displays "no joy". I'm a sad panda.
Offline
Hello. There's a feature I would like, maybe it is feasible technicaly but too hard for me, maybe it is simple for you guys.
So, feel free to say the level of difficulty ... If it is simple I can learn, if not, too bad but It's not a big deal.
How to use dmenu to choose between the windows(inside all containers, and workspaces alike, through their title, like I was choosing between different programs to run, and go to it ?
I tend to forgot systematically where the windows are etc, so if I3 was yet even more "automatic" it would be fine. I wouldn't have to care anymore where I put what. I seldom use more than one or two workspaces, but I have tens of windows without talking of the scrapyard. Oh, if only I could use dmenu too to research things in the scratchpad as well !
Well, I use the scratchpad only to make things disappear, so if I could just send them away anywhere and search for them wherever they are, I wouldn't use the scratchpad that much, indeed.
While writing this post, I learned a lot. Not so complicated, even if for the stuff with dmenu I have no idea.
Something else: I got the error
_on_window_activation focus
ERROR: CONFIG: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ERROR: CONFIG: Line 22:
ERROR: CONFIG: Line 23: popup_during_fullscreen smart
What the problem ? ? Everything else was working before I wrote that line. Because it is rare that windows gets activated, it is better that focus is set on it the instant. Then I would simply use back_and_forth.
My version is 4.8 (2014-06-15, branch "4.8"
Thanks for the advices !
Last edited by AoiHana (2016-05-20 22:46:19)
Offline
just replace dmenu with "rofi", it can search applications as well as windows (including scratchpad)
the line should be
focus_on_window_activation <option>
Arch is home!
https://github.com/Docbroke
Offline
Fine ! exactly what I wanted ! Too bad I can't run the configure script, and it will likely cause a huge crash.
I can count on one hand's fingers the times I succeeded to run a ./configure script. No secret I ain't calling myself a "poweruser" ! I am already all the more satisfied with running a tilling wm and keyboard driven browser.
Whatever I put in option, "focus_on_window_activation <option>" rises an error/exception.
Offline
Hello, I recently wrote a small script which prompts the user for input and then searches for this string on amazon, google,..., depending on the input parameter (inspired by Xmonad.Actions.Search)
Today I tried to extend the script, so that when it is calles with a second argument, it instead searches for the contents of the clipboard.
This works when the script is called from the shell, but I can't get i3 to pass the second argument for some reason, so it still just prompts the user for a query, but calling
i3 'exec --no-startup-id "~/.i3/dmenu_search.sh a clipboard", mode "default"'
from the shell will work.
The relevant section from the config file is
bindsym $mod+s mode "$search"
set $search (a)mazon, (g)oogle, (s)cholar, (u)nibib, (w)olframalpha, w(i)kipedia, (h)oogle
mode "$search" {
bindsym a exec --no-startup-id ~/.i3/dmenu_search.sh a, mode "default"
bindsym g exec --no-startup-id ~/.i3/dmenu_search.sh g, mode "default"
bindsym w exec --no-startup-id ~/.i3/dmenu_search.sh w, mode "default"
bindsym s exec --no-startup-id ~/.i3/dmenu_search.sh s, mode "default"
bindsym i exec --no-startup-id ~/.i3/dmenu_search.sh i, mode "default"
bindsym u exec --no-startup-id ~/.i3/dmenu_search.sh u, mode "default"
bindsym h exec --no-startup-id ~/.i3/dmenu_search.sh h, mode "default"
# exit system mode: "Enter" or "Escape"
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+Shift+s mode "$Ssearch"
set $Ssearch (a)mazon, (g)oogle, (s)cholar, (u)nibib, (w)olframalpha, w(i)kipedia, (h)oogle
mode "$Ssearch" {
bindsym a exec --no-startup-id "~/.i3/dmenu_search.sh a clipboard", mode "default"
bindsym g exec --no-startup-id "~/.i3/dmenu_search.sh g clipboard", mode "default"
bindsym w exec --no-startup-id "~/.i3/dmenu_search.sh w clipboard", mode "default"
bindsym s exec --no-startup-id "~/.i3/dmenu_search.sh s clipboard", mode "default"
bindsym i exec --no-startup-id "~/.i3/dmenu_search.sh i clipboard", mode "default"
bindsym u exec --no-startup-id "~/.i3/dmenu_search.sh u clipboard", mode "default"
bindsym h exec --no-startup-id "~/.i3/dmenu_search.sh h clipboard", mode "default"
# exit system mode: "Enter" or "Escape"
bindsym Return mode "default"
bindsym Escape mode "default"
}
Where the part called by $mod+Shift+s does not work as intended.
Is there a better way to force i3 to call the script with both arguments?
Thanks very much!
Last edited by MetalOn (2016-05-27 15:07:30)
Offline
I have a sneaky feeling it is the comma after the char that defines the search engine.
My i3 config file has these lines:
bindsym XF86MonBrightnessDown exec backlight -d 200
bindsym XF86MonBrightnessUp exec backlight -i 200
That pass multiple parameters, and they work just fine. There are another dozen or so commands bound that have multiple parameters as well
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
I have a sneaky feeling it is the comma after the char that defines the search engine.
My i3 config file has these lines:bindsym XF86MonBrightnessDown exec backlight -d 200 bindsym XF86MonBrightnessUp exec backlight -i 200
That pass multiple parameters, and they work just fine. There are another dozen or so commands bound that have multiple parameters as well
Thanks for your answer! It's kind of weird, I tried removing the ',mode "default"' part, so there are no more commas, but it still does not work.
Removing the --no-startup-id part also does not help.
On the other hand, something like
bindsym $mod+q exec --no-startup-id "~/.i3/dmenu_search.sh a clipboard"
works as intended
Offline
Hi,
it feels like it's obvious, but I can't find in the docs/the internet how to send/pass/quote a shortcut that's captured by i3 as-is to a client window. ie I want to send CTRL-R to the client, but it's captured by i3 to resize the current window.
Thanks,
Charles
Offline
cgo,
As far as I know, it's not possible and you'll have to work around it. Though I've not used i3 for a long time.
Offline