Manjaro Linux Forum

Support for Community Editions => Others => i3 => Topic started by: oberon on 11. March 2016, 23:12:50

Title: manjaro-i3 16.06-dev (unstable branch)
Post by: oberon on 11. March 2016, 23:12:50
I'm happy to present a first development-build of manjaro-i3 16.06 8)

(http://imgur.com/Wunf61I.png)

(http://imgur.com/Kbeoz8l.png)

Most obvious change of course is the graphical design. I have decided to try an edition which follows Ethan Schoonover's Solarized Colors consequently.
So you will find 'solarized' now:
ttys, urxvt, gtk-theme, i3statusbar, dmenu, conkies, i3-theme, moc-theme and wallpapers :o ... too much?? :P

Apart from that of course i3 16.06 has been adjusted to the new manjaro-tools and desktop-settings packaging guidelines,
it uses kernel 4.4 and i3-gaps of latest release 4.12 including some improvements and of course all the new features like sticky windows and the toggle split function:
With mod+q you can now toggle the split-direction without having to figure out first which way is horizontal and which vertical ... ;) ;D
dmenu-manjaro is at 4.6-5 and will very likely be developed a little further still until the final 16.06 release.
I have tweaked the screenshot functions with a little script, i3-scrot (https://forum.manjaro.org/index.php?topic=31977.msg261964#msg261964), which is also available as a package now. The destination for your screenshots can be set in a dedicated little file ~/.config/i3-scrot and the specified directory will be created automatically 8)
Like with the last stable release manjaro-i3 offers again the possibility to upgrade from alsa to pulseaudio with a single command install_pulse and back with rm_pulse.

Have fun testing and let me know about your thoughts, ideas, complaints... ;)

For your help, inspiration, criticism and valuable contributions I would like to thank especially
@Chrysostomus, @Belemrys (who infected me with that terrible solarized virus), @boruch,  and @Wilhelmine Tell and of course as always the great @philm and @artoo the master and keeper of the tools :)

Download from ==> HERE <== (https://sourceforge.net/projects/manjarolinux/files/community/i3/16.06-dev%20%28unstable%20branch%29/)
The ISO files are signed with my gpg key ID 663CA268 “Bernhard Landauer oberon@manjaro.org”
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: Doaxan on 12. March 2016, 21:05:49
Thank you very much! I have a small sentence: it would be very healthy if there would be opportunity easily to change a keyboard layout, through the utility or the CLI interface. I understand that layout changes, for example, setxkbmap - layout "us,ru" - option "grp:shift_caps_switch" but it would be desirable to use the utility like "lxqt-config" or "xfce4-keyboard-settings" but alas they don't work :(
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: twodogsdave on 13. March 2016, 01:07:36
Thanks for this, Oberon!  Very nice!

I'm liking the solarized colors.  I noticed the 'selected color' in the solarized light theme is a bright blue.  Not a good color.

I will begin testing and let you know if I find anything amiss.

Rock on!!
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: Argon on 13. March 2016, 14:34:48
Hey, will there be a new stable iso too?
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: drumBE on 13. March 2016, 14:40:11
@ Argon: i think this can solve your question:
You may at any time revert back to the Stable Repositories, if you wish. To do so, we can do this once again by running pacman-mirrors:

sudo pacman-mirrors -g -b stable

Now synchronise and update your entire system, and you're ready to go again. The pacman -Suu is necessary to downgrade packages, this will prevent fatal conflicts.

sudo pacman -Syy
sudo pacman -Suu
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: oberon on 13. March 2016, 15:13:27
@ Argon: i think this can solve your question:
You may at any time revert back to the Stable Repositories, if you wish. To do so, we can do this once again by running pacman-mirrors:

sudo pacman-mirrors -g -b stable

Now synchronise and update your entire system, and you're ready to go again. The pacman -Suu is necessary to downgrade packages, this will prevent fatal conflicts.

sudo pacman -Syy
sudo pacman -Suu
If you want to switch to stable I suggest you simply edit your /etc/pacman-mirrors.conf
Code: [Select]
Branch=unstable==>>
Code: [Select]
Branch=stableand then just wait until pacman wants to update next time. For a few days you will just get warnings that your local packages are newer than stable repo but that's it. No other problems to be expected :)
From next stable update on everything will be normal...
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: oberon on 13. March 2016, 15:19:27
But to really answer the question ;)
Hey, will there be a new stable iso too?
Eventually, yes, but not in the immediate future :)
I'd like to give development a little more time and I think that the current basis is good to use... (sounds like a contradiction in itself but somehow uhm .... its not! ??? ;D )
So, I'd suggest if you like to start now, just install the testbuild and switch to your preferred branch as described in the previous post... :)
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: Argon on 13. March 2016, 15:33:33
Will give that a shot. Thanks, you two.
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: Belemrys on 14. March 2016, 16:27:19
Best surprise after a long weekend out camping! Time to download! Looks great!
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: Belemrys on 15. March 2016, 18:49:46
Having issues installing with Calamares, had to use Thus or CLI...at least on my virtual box...
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: torvic9 on 16. March 2016, 15:20:07
Cool stuff!

At first I didn't like the solarized theme at all, but it gets better the more you look at the screenshots :)

If only i3 included an automatic tiling feature. Maybe I should post a feature request on github, but I think it's going to be dismissed.
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: Belemrys on 16. March 2016, 17:43:11
Yeah, automatic tiling takes away from the foundation of i3...simple yet completely control of your tiles
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: Chrysostomus on 17. March 2016, 02:26:19
If you like i3 but would sometimes want more automatic behaviour, you might like bspwm. It is also manual tiler like i3 (with arguably even more control over window placement), but it has somewhat different tiling paradigm. If you just spawn new windows, it automatically produces layout similar to fibonacci layout of many automatic tilers. And like i3, it is easy to script to produce virtually any layout.
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: Chrysostomus on 17. March 2016, 02:30:30
What kind of automatic layout are you thinking of? If it is basic master area + bottom/side stack, you can just script i3 to issue split command when there are 2 windows on the desktop. That should emulate automatic tiling without taking away your manual tiling options.
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: torvic9 on 17. March 2016, 12:15:04

There was a thread here regarding a python script which enabled alternating layout. It worked really well, but I've disabled it because it seems to be some sort of a dirty hack.
I'm aware that automatic tiling is somewhat against the i3 philosophy, but then making it optional wouldn't hurt.
What kind of automatic layout are you thinking of? If it is basic master area + bottom/side stack, you can just script i3 to issue split command when there are 2 windows on the desktop. That should emulate automatic tiling without taking away your manual tiling options.
That sounds good, but everything which goes beyond a "Hello World" script is out of reach for me. As a kid, I wrote small BASIC programs on a mighty Amstrad CPC, but forgot basically everything about programming and scripting...
If you like i3 but would sometimes want more automatic behaviour, you might like bspwm. It is also manual tiler like i3 (with arguably even more control over window placement), but it has somewhat different tiling paradigm. If you just spawn new windows, it automatically produces layout similar to fibonacci layout of many automatic tilers. And like i3, it is easy to script to produce virtually any layout.
Haven't had the time yet to look into bspwm, although I must say that it looks promising and I like the tiling paradigm. I just quickly tested it in live mode on my laptop.
However it took me months to learn i3, and now switching to bspwm will throw me back again. The only reason I currently use i3 is the fantastic multi monitor/workspaces support, nothing came close to i3 in my tests.
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: Chrysostomus on 17. March 2016, 16:14:00
Yeah, i3 has way better multimonitor support, because the core project actually focuses on it. Bspwm can emulate it, but emulation scripts are written by me, and I don't have multiple monitors to test it on. And have been unlucky trying to get people to test them.

Writing that automatic tiling script should be easy. You begin with
Code: [Select]
#/usr/bin/bashOr if you want to make it lighter (requires package dash to be installed)
Code: [Select]
#/usr/bin/dash
Then you need something to trigger an action when a new window is created. I'm not sure about the command (I don't use i3, you can check from i3 documentation), but I think this one does it:

Code: [Select]
i3-ipc SUBSCRIBE I3_IPC_EVENT_WINDOW  | while read line; do
   <some stuff>
done

That <some stuff> is counting windows on the desktop and running splitting command if that number is greater than 1.

That would be something like this:
Code: [Select]
  window_count=$(<i3 command to list windows of the desktop> | wc -l)
  [ "$window_count" -gt 1 ] && <i3 command to split container horizontally>

So all in all you would have

Code: [Select]
#/usr/bin/dash
i3-ipc SUBSCRIBE I3_IPC_EVENT_WINDOW  | while read line; do
   window_count=$(<i3 command to list windows of the desktop> | wc -l)
  [ "$window_count" -gt 1 ] && <i3 command to split container horizontally>
done

Just find the right i3 commands to replace that stuff in <> and there is your script. You can probably fond them here: http://build.i3wm.org/docs/i3-msg.html (http://build.i3wm.org/docs/i3-msg.html) or here: https://i3wm.org/docs/ipc.html (https://i3wm.org/docs/ipc.html)
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: torvic9 on 17. March 2016, 18:04:09
Okay, that doesn't look too difficult. I'll have a look as soon as I find some time. Gonna post the script if I get it to work.
Here is an excerpt of the python script, it splits the windows according to their height and width. This should also be possible with your suggestion:
Code: [Select]
current_win = i3.filter(nodes=[], focused=True)
    for win in current_win:
        parent = find_parent(win['id'])

        if parent and "rect" in parent and parent['layout'] != 'tabbed':
            height = parent['rect']['height']
            width = parent['rect']['width']

            if height > width:
                new_layout = 'vertical'
            else:
                new_layout = 'horizontal'

            i3.split(new_layout)
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: Chrysostomus on 18. March 2016, 05:05:02
Yeah, should be possible. I would probably do it with bash instead of python. Here is something similar done for bspwm with bash and wmutils:
https://github.com/Chrysostomus/bspwm-scripts/blob/master/bin/auto-presel (https://github.com/Chrysostomus/bspwm-scripts/blob/master/bin/auto-presel)

But since i3 can output geometry of focused window, wmutils is probably not necessary.

I prefer bash because of lighter depends and because I don't know python. But I know there is a lot stuff done for i3 in python.
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: mrneilypops on 26. March 2016, 16:24:13
Test driving the dev release...very nice work!
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: c00ter on 26. March 2016, 16:48:33
Why is it, when I was younger all my friends got into rafting--so I did. Then they got into motorcycles, and I bought my first Harley. Same for hunting, sky diving, etc. Now my friends use computers and are largely online. And apparently members of the "DE/WM of The Month Club." This forces me to feed into their addiction.

Thanks, Bernhard. Thanks bunches. You crafty little devil, you.  >:D

Regards
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: mrneilypops on 30. March 2016, 22:38:08
Hi,
I am enjoying my fresh manjaro-i3-dev install.

Just a couple of points;
-> My existing Arch install was not detected by GRUB on /dev/sdb
I tried both CLI and THUS installs...no big deal at this time as this is a dev box...I simply changed to one SSD drive for the moment.

EDIT: After install reconnected my Arch SSD and 'sudo update-grub' located and updated GRUB.

-> It would be cool to have the 'default' i3wm MOD key option (MOD1/MOD4) after install.
Again, no big deal, I simply edited the i3 config file and restarted i3...

Keep up the great work  8)

Have you considered glances as a cool system monitor in manjaro-i3?
https://nicolargo.github.io/glances/

(https://cdn.scrot.moe/images/2016/03/30/2016-03-30-224304_1920x1080_scrot.th.png) (https://cdn.scrot.moe/images/2016/03/30/2016-03-30-224304_1920x1080_scrot.png)
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: lightbeam on 31. March 2016, 12:51:15
I'm happy to present a first development-build of manjaro-i3 16.06 8)

Very nice, Oberon!  Let me know when the gold master ships.   ;) ;D
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: paolo on 04. April 2016, 07:47:53
Hello to you all

@Oberon: thanks for your work!
Yesterday I install this release on 2 of my laptops and the first unstable update went smoothly  :D
Can I ask how to install the new Solarized graphics on my "old" Manjaro i3 installs?
I don't like it, I show you my mobile phone  ;) :D ;D

Thanks for all and sorry for my horrible english... before to go to work...
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: Hammer2900 on 04. April 2016, 10:59:02
@Oberon: thanks!
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: oberon on 04. April 2016, 11:28:19
@paolo, very funny your mobile!! ;D ;D
To install all the 'solarization' on an existing install the easiest way of course would be to create a new user after you install the latest manjaro-i3-settings ;) Otherwise it will need a bit of tweaking.
You'll need gtk-theme-numix-solarized and artwork-i3 of course an then adjust dmenurc, i3status.conf and .Xresources.
The easiest way will be to remove your existing .dmenurc and ~/.i3status.conf (if present), just make sure you backup any adjustments you have made there!
The new .Xresources you can find here: https://raw.githubusercontent.com/manjaro/desktop-settings/master/community/i3/skel/.Xresources
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: oberon on 04. April 2016, 11:29:46
Thank you @mrneilypops, for your feedback!
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: paolo on 04. April 2016, 22:42:36
@Oberon:

Thanks for your reply... I'm scared to modify some vital parts of my i3boxes   :-[ ...
here all works very well thanks to you and the Manjaro team  ;)
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: mrneilypops on 04. April 2016, 23:02:37
@Oberon
The dev release has been running stable since install  8)
Very nice work.

I have changed the i3bar status to conky to include mpd...my fav music player.
Would it be possible to mod i3status-manjaro to include an mpd option?

(https://cdn.scrot.moe/images/2016/04/04/2016-04-04-211638_1920x1080_scrot.th.png) (https://cdn.scrot.moe/images/2016/04/04/2016-04-04-211638_1920x1080_scrot.png)

... options I found on the interweb;
https://aur.archlinux.org/packages/i3status-mpd-git/
https://github.com/enkore/i3pystatus/blob/master/i3pystatus/mpd.py

keep up the great work!

Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: oberon on 04. April 2016, 23:35:29
Beautiful tweaking, mrneilypops!
I will look at it, thank you! :)
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: lightbeam on 05. April 2016, 20:05:21
Hello to you all

I show you my mobile phone  ;) :D ;D

Excellent!   ;D

Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: paolo on 06. April 2016, 00:12:16
^thanks   :D
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: Belemrys on 14. April 2016, 15:45:44
When trying to update my system I get the following error:

Code: [Select]
error: could not open file /var/lib/pacman/local/qtchooser-53-2/desc: No such file or directory
looking for conflicting packages...
warning: could not fully load meta data for package
error:failed t o prepare transaction (invalid or corrupted package)

and it is doing it for a few packages...raptor, qtwebkit, randrproto, ranger, renderproto,rest....I tried to --Force those packages like it says in the Archwiki but that really didnt help...
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: Kelaun on 14. April 2016, 23:14:43
Hi Oberon,

Thanks for this amazing release.
I had one suggestion though (do with it whatever you want  ;D)
As Airblader pointed out on a reddit thread, scrot (and i3-scrot) have some bugs (mostly when selection an area in my case).
Therefore he suggested to use something else maim in combination with slop (https://tuxdiary.com/2014/10/17/maim-slop/ (https://tuxdiary.com/2014/10/17/maim-slop/)). Maybe it is worth looking at for your spin as well.

Kind regards
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: bad63r on 15. April 2016, 23:09:48
Hi, my friendly sugestion : If you could add somewhere as .txt file which programs are included(installed in general on the system) plus how to install new programs, because experience shows me that ppl would like that :)
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: Medicusc on 16. April 2016, 19:55:32
I use this distro for my everyday use. I am very glad you put it together. I am looking for a way help out. Is the a way to get your i3 settigns and configuation to regular i3 install? I have i3 installed on another box with manjaro, I want to mke it look like this i3 relases for manjaro. Thank you again for your work.
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: eugen-b on 16. April 2016, 20:11:32
@Medicusc, you could back up /etc/skel, install manjaro-i3-settings and create a new user or remove the i3 specific config files of your current user. This way you would get the new look.
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: Belemrys on 18. April 2016, 04:28:54
any ideas with my issue? I have 135 packages to update and it wont work :/
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: Nick440 on 23. April 2016, 04:19:55
Hello,
I think the new dev bfranch looks great. I've been using i3 for almost 6 months now, and would like to switch to the new branch to help with testing. What does this involve? I'm running linux on my thinkpad in dual-boot configuaration, so would I have to do a fresh install, ( I've backed up my i3 config file) or can I just update to the new unstable branch with pacman?
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: eyadsibai on 07. May 2016, 22:21:05
Is there a new iso with Calamares fixed?
Title: Re: manjaro-i3 16.06-dev (unstable branch)
Post by: oberon on 12. May 2016, 21:24:20
Is there a new iso with Calamares fixed?
There is a brand new 16.06 rc available now:
https://forum.manjaro.org/t/manjaro-i3-16-06-rc-stable/537

@Nick440 and @Belemrys, I'm so sorry! Apparently I missed your posts :( Are your questions/issues still relevant at all?