You are not logged in.
@tetratux, exiting i3 should close X also (if you are not using login manager). Try to remove your login-manager so that you exit to console from i3. This should prevent conflict between X and wayland if that is the cause.
Arch is home!
https://github.com/Docbroke
Offline
Hi,
2. I have successfully enabled power/suspend/brightness/volume keys with help of "bindsym" function in i3 configuration and using xbindkeys. Only missing thing is lock on lid close, and for this single function I have to rely on xfce4-power-manager.
I am looking for a simple way to lock screen on lid closure without suspending, if possible through systemd-logind. I tried to find out lid closure event with "xbindkeys -k" and "xev", but the event is not recognized. I am using slock as screen locker. I am not using acpid.thanks
Answer is two posts above yours. If for some reason you're adverse to acpid (and don't need AC/battery distinctions), read man logind.conf, and use e.g xss-lock.
Last edited by Alad (2015-12-23 18:26:02)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
@tetratux, exiting i3 should close X also (if you are not using login manager). Try to remove your login-manager so that you exit to console from i3. This should prevent conflict between X and wayland if that is the cause.
After disabling gdm I3 exit normally.
Remain to understand if is a problem of I3 or is a problem of Arch?
I can't believe is a problem between wayland e xorg, because until two months ago i was using gdm on wayland e gnome-shell on xorg without any problem.
Offline
Docbroke wrote:Hi,
2. I have successfully enabled power/suspend/brightness/volume keys with help of "bindsym" function in i3 configuration and using xbindkeys. Only missing thing is lock on lid close, and for this single function I have to rely on xfce4-power-manager.
I am looking for a simple way to lock screen on lid closure without suspending, if possible through systemd-logind. I tried to find out lid closure event with "xbindkeys -k" and "xev", but the event is not recognized. I am using slock as screen locker. I am not using acpid.thanks
Answer is two posts above yours. If for some reason you're adverse to acpid (and don't need AC/battery distinctions), read man logind.conf, and use e.g xss-lock.
I did read that post, however that post works with suspend option which I don't want. I tried following
in logind.conf
HandleLidSwitch=lock
in ~/.config/i3/config
exec --no-startup-id xss-lock -- slock -n -i ~/Pictures/cyclothon2.jpg &
It doesn't work. Am I missing something?
even with "sudo loginctl lock-sessions" nothing happens it just exits.
EDIT: solved by changing ~/.config/i3/config with
exec --no-startup-id xss-lock -- slock &
Shouldn't we have some official systemd locker? So not have to depend on AUR.
Last edited by Docbroke (2015-12-24 03:09:01)
Arch is home!
https://github.com/Docbroke
Offline
I did read that post, however that post works with suspend option which I don't want.
Trivial change:
if on_ac_power; then
i3lock
else
i3lock && systemctl --no-block suspend
fi
to
i3lock
Shouldn't we have some official systemd locker? So not have to depend on AUR.
You don't "depend" on AUR, xss-lock is just one way to skin a cat.
Last edited by Alad (2015-12-24 07:45:45)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Thanks Alad for your response,
However, 1. I am not that good with writing scripts & 2. pm-utils is in confict with tlp that I am using. But now I am happy with xss-lock + slock + logind.conf, so consider this solved.
For my libreoffice question, during presentation mode two fullscreen windows are opened by libreoffice (presenter and slides window), so they overlap on same screen, moving the container to another screen solved the issue, with help of Awebb, https://bbs.archlinux.org/viewtopic.php?id=206570
Arch is home!
https://github.com/Docbroke
Offline
Hey guys, I installed i3wm alongside with my Arch. Basically i've got few problems which I believe being solved already but I either can't find the right answer or I can't find the working answer.
So basically I need few things. I'm using i3 on my notebook, have no other WM/DE installed. I don't mind installing something like config manager from other WM/DE...
0. Bind my caps lock to change keyboard layout to english and russian.
1. Stop (x? i3?)to dim my notebooks display. I need it to be always turned on.
2. Change QT theme. Basic looks awful. I know how to change GTK2-GTK3 manually or via lxappearance.
3. All in all is there any working settings manager like gnome-settings or something like that to do this pretty fast? like lxappearance did with GTK themes
4. What's the best way to get automatically changeable wallpaper (once in 30 mins) OR get autowallpaper changer OR get wallpaper and write script etc.
Last edited by gbarkhatov (2015-12-28 06:42:42)
Offline
Just throwing out some ideas:
How about writing a script that does just that and binding it to your Caps_Lock key in your i3 config
Take a look at https://wiki.archlinux.org/index.php/DPMS
A simple script should work fine, depending how you set your wallpaper. Something like:
cd /path/to/images
while true; do
for image in $(ls); do
feh --bg-scale ${image}
sleep 108000
done
done
Offline
@gbarkhatov
0. https://raw.githubusercontent.com/minos … ard-layout #remove 'latam,' from the default_layouts line and bind the script to a shortcut in the i3 config
Have fun
Offline
Hi,
I am not able to use htop & mc from dmenu in i3, they both work from terminal. Both applications have desktop entires (for htop unmodified original, for mc as per arch wiki page). Both works from menu in xfce on the same system. Is this common with everyone or only me having this issue?
EDIT:
The same application works when I start them with xfce4-appfinder running in i3. So probably dmenu is not using desktop entries?
Last edited by Docbroke (2015-12-29 01:09:53)
Arch is home!
https://github.com/Docbroke
Offline
Do you use i3_dmenu_desktop ?
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
Do you use i3_dmenu_desktop ?
I was just about to post that, solved by changing from dmenu_run to i3-dmenu-desktop.
Any idea how to launch htop or mc with "bindsym xxxx exec mc/htop" ?
Last edited by Docbroke (2015-12-29 04:27:39)
Arch is home!
https://github.com/Docbroke
Offline
Any idea how to launch htop or mc with "bindsym xxxx exec mc/htop" ?
Depending on the terminal emulator you use something equivalent to
bindsym xxx exec --no-startup-id urxvt -e htop
should do.
Offline
thanks karlch, it worked for me,
bindsym Mod4+m exec xfce4-terminal -e mc
Arch is home!
https://github.com/Docbroke
Offline
I've recently moved from Awesome to i3-wm. I've some trouble with definition of dmenu start. While dmenu_run works well on all of my systems it fails to open the .desktop file based way with exec --no-startup-id i3-dmenu-desktop:
[andyrtr@workstation64 ~]$ i3-dmenu-desktop
No such file or directory at /usr/bin/i3-dmenu-desktop line 28.
# reads in a whole file
sub slurp {
my ($filename) = @_;
open(my $fh, '<', $filename) or die "$!"; <------------- this is line 28
local $/;
my $result;
eval {
$result = <$fh>;
};
if ($@) {
warn "Could not read $filename: $@";
return undef;
} else {
return $result;
}
}
The same works well on my notebook while it fails on my desktop. What could cause this? Most env vars and locale are almost the same on both systems.
Offline
Hi everyone, I have a problem with i3. Actually I'm using i3-gaps(-git-next), so I'm not sure if I should start a new thread or post here. But anyway, on to the matter at hand: there is this black bar following the title bar of my containers http://i.imgur.com/JJqOlvp.png
I've been going through my .Xresources and i3 config files, trying to find something to blame, but I can't find anything. Anyone here have any guesses?
Offline
Hi everyone, I have a problem with i3. Actually I'm using i3-gaps(-git-next), so I'm not sure if I should start a new thread or post here. But anyway, on to the matter at hand: there is this black bar following the title bar of my containers http://i.imgur.com/JJqOlvp.png
I've been going through my .Xresources and i3 config files, trying to find something to blame, but I can't find anything. Anyone here have any guesses?
Client-side-decorations?
https://wiki.archlinux.org/index.php/GT … ecorations
Offline
Qnth wrote:Hi everyone, I have a problem with i3. Actually I'm using i3-gaps(-git-next), so I'm not sure if I should start a new thread or post here. But anyway, on to the matter at hand: there is this black bar following the title bar of my containers http://i.imgur.com/JJqOlvp.png
I've been going through my .Xresources and i3 config files, trying to find something to blame, but I can't find anything. Anyone here have any guesses?Client-side-decorations?
https://wiki.archlinux.org/index.php/GT … ecorations
No, I don't believe that's the case, as I don't remember installing any GTK-things. I'm currently using i3-gaps and feh for my wallpaper. Then again, I am a complete newbie when it comes to arch, so there might be some GTK-things I've missed
Offline
try running
pacman -Qs gtk
this will search all local packages with gtk in name or description
Arch is home!
https://github.com/Docbroke
Offline
try running
pacman -Qs gtk
this will search all local packages with gtk in name or description
Well this produced some packages, showing that I do indeed have some gtk-packages in my systems. But I solved my problem in a way, by disabling the titlebar completely, as shown here. Now it looks kinda like I want it to look: http://imgur.com/Ab1cAAq. But if anyone has any ideas why that happened or how to fix it, other than my way, I'd be glad to hear them.
Offline
Try removing scrollbar too, that will give you complete look. (I have them removed)
I find title bars useful, so not removed yet. What happens when you use tabbed mode (does title-bar come back?), I use i3 in tabbed mode mainly, which I feel much better for my small 12.5" screen.
Arch is home!
https://github.com/Docbroke
Offline
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
Hi, I'm new in the world of tiling wm's. Awesome was mt first one, i3 is obviously my second and I hardly miss one feature:
How to swap sizes between two window?
Example:
Let assume that I'm running two windows, Firefox and Eclipse.
- Firefox have occupied the far left 30% of the screen, Eclipse have occupied the far right 70% of the screen size.
- After the "swap" Firefox is moved to the right side and using 70% of the screen and Eclipse is moved to the left and using 30% of the screen size.
before:
[_firefox_][______eclipse_______]
after:
[_eclipse_][______firefox_______]
Also it is just fine if the swap is like this:
before:
[_firefox_][______eclipse_______]
after:
[______firefox_______][_eclipse_]
What's the object-oriented way of becoming wealthy?
- Inheritance
Offline
@bokiscout,
I tried to reproduce your case but in my configuration, (which is almost default i3, in context of window sizes), both windows maintaines their original size after any amount of swapping? Have you change some configuration in i3 or installed i3 from some other source? I have installed i3 from arch default repositories.
Edit: spell correction from site to size
Last edited by Docbroke (2016-01-08 12:59:10)
Arch is home!
https://github.com/Docbroke
Offline
@bokiscout,
...in my configuration, (which is almost default i3, in context of window sizes), both windows maintaines their original site after any amount of swapping
I think we have misunderstanding.
Before and after is representation of how I want to be, not how it is.
To give You the answer about the source of the i3:
- I have vanilla arch installation from lest than a weak ago, and i3 is from the official repositories.
Edit:
Forgot to mention that my i3 config is almost vanilla. Only some color changes for i3 to match my gtk theme.
Last edited by bokiscout (2016-01-08 11:48:45)
What's the object-oriented way of becoming wealthy?
- Inheritance
Offline