You are not logged in.

#1351 2015-12-23 16:49:20

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: The i3 thread

@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.

Offline

#1352 2015-12-23 18:17:42

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,407
Website

Re: The i3 thread

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.

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

#1353 2015-12-24 00:41:36

tetratux
Member
Registered: 2015-12-23
Posts: 2

Re: The i3 thread

Docbroke wrote:

@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

#1354 2015-12-24 02:42:14

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: The i3 thread

Alad wrote:
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)

Offline

#1355 2015-12-24 07:45:02

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,407
Website

Re: The i3 thread

Docbroke wrote:

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
Docbroke wrote:

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

#1356 2015-12-25 01:40:21

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: The i3 thread

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

Offline

#1357 2015-12-28 04:24:06

gbarkhatov
Member
Registered: 2015-12-28
Posts: 1

Re: The i3 thread

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

#1358 2015-12-28 11:18:55

karlch
Member
Registered: 2015-06-14
Posts: 105

Re: The i3 thread

Just throwing out some ideas:

cd /path/to/images
while true; do
for image in $(ls); do
feh --bg-scale ${image}
sleep 108000
done
done

Offline

#1359 2015-12-28 18:32:49

chilicuil
Member
Registered: 2014-03-22
Posts: 7
Website

Re: The i3 thread

@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

#1360 2015-12-29 01:02:49

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: The i3 thread

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)

Offline

#1361 2015-12-29 01:28:58

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,407
Website

Re: The i3 thread

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

#1362 2015-12-29 01:58:06

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: The i3 thread

Alad wrote:

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)

Offline

#1363 2015-12-29 10:28:48

karlch
Member
Registered: 2015-06-14
Posts: 105

Re: The i3 thread

Docbroke wrote:

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

#1364 2015-12-29 14:00:27

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: The i3 thread

thanks karlch, it worked for me,

bindsym Mod4+m exec xfce4-terminal -e mc

Offline

#1365 2015-12-30 18:31:38

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: The i3 thread

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

#1366 2016-01-04 13:19:01

Qnth
Member
From: Finland
Registered: 2015-12-28
Posts: 5
Website

Re: The i3 thread

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

#1367 2016-01-04 16:38:41

LeoFa
Member
From: Netherlands
Registered: 2014-10-14
Posts: 35

Re: The i3 thread

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

Offline

#1368 2016-01-05 11:32:27

Qnth
Member
From: Finland
Registered: 2015-12-28
Posts: 5
Website

Re: The i3 thread

LeoFa wrote:
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

#1369 2016-01-06 04:15:06

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: The i3 thread

try running

pacman -Qs gtk

this will search all local packages with gtk in name or description

Offline

#1370 2016-01-06 06:58:43

Qnth
Member
From: Finland
Registered: 2015-12-28
Posts: 5
Website

Re: The i3 thread

Docbroke wrote:

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

#1371 2016-01-06 07:25:42

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: The i3 thread

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.

Offline

#1372 2016-01-06 20:50:04

AlexIL
Member
From: Israel
Registered: 2016-01-02
Posts: 45
Website

Re: The i3 thread

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

#1373 2016-01-08 10:49:09

bokiscout
Member
Registered: 2015-09-27
Posts: 24

Re: The i3 thread

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

#1374 2016-01-08 11:13:33

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: The i3 thread

@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)

Offline

#1375 2016-01-08 11:45:16

bokiscout
Member
Registered: 2015-09-27
Posts: 24

Re: The i3 thread

Docbroke wrote:

@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

Board footer

Powered by FluxBB