You are not logged in.
Nice writeup and I may give Awesome a whirl one of these days. How lightweight can you go with a WM?
Real Men Use Linux
Offline
How lightweight can you go with a WM?
In general? Pretty low, but you start to lose basic features. Scroll down for a comparison - window manager comparison
Awesome is similar to openbox, i3, and fluxbox once you start running some widgets with it.
17.9 MiB + 3.8 MiB = 21.7 MiB awesome
Last edited by PackRat (2019-04-27 22:45:08)
You must unlearn what you have learned.
-- yoda
Offline
DeepDayze wrote:How lightweight can you go with a WM?
In general? Pretty low, but you start to lose basic features. Scroll down for a comparison - window manager comparison
Awesome is similar to openbox, i3, and fluxbox once you start running some widgets with it.
17.9 MiB + 3.8 MiB = 21.7 MiB awesome
Cool, and from the screenshot that Triple H posted it looks close to openbox with the background and the layout. Can Tint2 be used with Awesome?
Real Men Use Linux
Offline
Can Tint2 be used with Awesome?
Not very well (if at all); that may have changed, I haven't tried tint2 with awesome in about a year. Awesome is not fully EWMH compliant. What were you needing from tint2? The default configuration for awesome includes a panel (wibar) that includes tag list, iconbar, systemtray and clock. Better aesthetics with tint2, but there are enough 3rd party widgets available to replicate tint2 and conky functionality on the wibar.
xfce-panel works better, and no problems with polybar.
Last edited by PackRat (2019-04-28 02:31:34)
You must unlearn what you have learned.
-- yoda
Offline
Can Tint2 be used with Awesome?
Not very well (if at all); that may have changed, I haven't tried tint2 with awesome in about a year. Awesome is not fully EWMH compliant. What were you needing from tint2? The default configuration for awesome includes a panel (wibar) that includes tag list, iconbar, systemtray and clock. Better aesthetics with tint2, but there are enough 3rd party widgets available to replicate tint2 and conky functionality on the wibar.
xfce-panel works better, and no problems with polybar.
OK great tip and I'll give the wibar a spin and see how closely I can replicate in wibar as in Tint2/xfce-panel. For tint2 be using the default BL config and will it work?
Real Men Use Linux
Offline
PackRat wrote:Can Tint2 be used with Awesome?
Not very well (if at all); that may have changed, I haven't tried tint2 with awesome in about a year. Awesome is not fully EWMH compliant. What were you needing from tint2? The default configuration for awesome includes a panel (wibar) that includes tag list, iconbar, systemtray and clock. Better aesthetics with tint2, but there are enough 3rd party widgets available to replicate tint2 and conky functionality on the wibar.
xfce-panel works better, and no problems with polybar.
OK great tip and I'll give the wibar a spin and see how closely I can replicate in wibar as in Tint2/xfce-panel. For tint2 be using the default BL config and will it work?
You posted before I could edit - From the Arch Forum - you get the idea about using 3rd part panels with tint2, hasn't changed much since that thread.
It will take some scripting, but I think the default BL tint2 layout can be replicated in the awesome wibar. I know the launchers can be created as widgets, and the system tray and clock are available OOTB. I've don't recall seeing the tasklist widget laid out in multi-desk pager mode. That would need some scripting.
You must unlearn what you have learned.
-- yoda
Offline
DeepDayze wrote:PackRat wrote:Not very well (if at all); that may have changed, I haven't tried tint2 with awesome in about a year. Awesome is not fully EWMH compliant. What were you needing from tint2? The default configuration for awesome includes a panel (wibar) that includes tag list, iconbar, systemtray and clock. Better aesthetics with tint2, but there are enough 3rd party widgets available to replicate tint2 and conky functionality on the wibar.
xfce-panel works better, and no problems with polybar.
OK great tip and I'll give the wibar a spin and see how closely I can replicate in wibar as in Tint2/xfce-panel. For tint2 be using the default BL config and will it work?
You posted before I could edit - From the Arch Forum - you get the idea about using 3rd part panels with tint2, hasn't changed much since that thread.
It will take some scripting, but I think the default BL tint2 layout can be replicated in the awesome wibar. I know the launchers can be created as widgets, and the system tray and clock are available OOTB. I've don't recall seeing the tasklist widget laid out in multi-desk pager mode. That would need some scripting.
Guess I was too fast posting
Got a lot to learn about scripting to be able to replicate the BL setup in wibar. Awesome looks nice and I plan to spend some time playing with it with a VM install of BL.
Real Men Use Linux
Offline
Curse you for getting me started on this
It's a curse I'll just have to bear. I'm loving this awesome session.
re: RAM, the awesome config in this guide uses most of the same daemons and programs as BL Openbox (power manager, network manager, pnmixer, compton, gnome-daemon gets started, polkit gets started...) so the result is almost identical RAM usage. About ~280M during desktop idle once thunar has been opened, which starts tumblerd and more gvfs processes like Trash. That's on the 64bit version with 3G of RAM installed.
Offline
As PackRat said, tint2 with awesome sucks. The placement is all wonky,for one thing.
xfce4-panel works great, though...
https://wiki.archlinux.org/index.php/aw … th_awesome
So if you're using this tutorial and you've installed xfce4-panel, you can add that to your autorun.sh and then comment out the following block in rc.lua that starts around line #230, thusly...
--[[
-- Create the wibox
s.mywibox = awful.wibar({ position = "top", screen = s })
--!Panel widgets
-- Add widgets to the wibox
s.mywibox:setup {
layout = wibox.layout.align.horizontal,
{ -- Left widgets
layout = wibox.layout.fixed.horizontal,
--! mylauncher,
s.mytaglist,
s.mypromptbox,
},
s.mytasklist, -- Middle widget
{ -- Right widgets
layout = wibox.layout.fixed.horizontal,
--! mykeyboardlayout,
wibox.widget.systray(),
mytextclock,
--! s.mylayoutbox,
},
}
--]]
end)
-- }}}
And at line #202...[code] -- Each screen has its own tag table.
--! awful.tag({ "1", "2", "3", "4", "5" }, s, awful.layout.layouts[1])
awful.tag({ "1", "2" }, s, awful.layout.layouts[1])[/code]
-- {{{ Mouse bindings
And pic or it didn't happen...
Last edited by hhh (2019-04-28 08:13:23)
Offline
^ looks good; if you open some windows can you control them (focus, minimize etc ...) from the xfce4-panel window buttons? I can in Void and ArchLabs. I suspect Debian Stable will be as functional.
If a user really needs the bells and whistles, awesome can be used as the window manager in xfce4 desktop (not the subject for a beginner's tutorial though):
You must unlearn what you have learned.
-- yoda
Offline
^Yes, the taksbar icons work as expected (-edit- Wrong. Clicking a running app's panel icon isn't minimizing, but right-click and choose the menu item does. Clicking the icon restores it as expected). It takes a few seconds to open, and Conky is causing problems, it's appearing above opened windows. If I restart conky everything behaves normally.
How do I add a sleep time to the autorun? 'run (sleep 20 && bl-conky-session)' doesn't work.
Offline
I think you need to specify the time units -
sleep 2s && conky-script <-- that "s" for seconds is required, I believe.
For conky, you can also use the -p flag in your script/command.
For that conky clock, you may just want to go with "own_window = false" and let it draw directly to the desktop.
You must unlearn what you have learned.
-- yoda
Offline
^ looks good; if you open some windows can you control them (focus, minimize etc ...) from the xfce4-panel window buttons? I can in Void and ArchLabs. I suspect Debian Stable will be as functional.
If a user really needs the bells and whistles, awesome can be used as the window manager in xfce4 desktop (not the subject for a beginner's tutorial though):
https://cdn.scrot.moe/images/2019/03/01/2019-03-01-04-51-03.th.png
https://cdn.scrot.moe/images/2019/03/01/2019-03-01-04-52-00.th.png
Lovely. What's the code to keep the window-list in the panel @ ~200px like you have it? Is it possible to just display icons with no title text?
Also, I can't get window active-border-highlight colors to work, the option in theme.lua isn't working, either.
Offline
Lovely. What's the code to keep the window-list in the panel @ ~200px like you have it? Is it possible to just display icons with no title text?
That's xfce4-panel; so unchecking the "show labels" for the window button item will show icons only. The button width is in the gtk theme isn't it? User should be able to use tint2 instead if desired.
You must unlearn what you have learned.
-- yoda
Offline
Also, I can't get window active-border-highlight colors to work, the option in theme.lua isn't working, either.
What code are you using?
Something like this not working?
theme.border_focus = "#478061"
I think the theme is read top down; you have that line later in the theme.lua messing you up?
You must unlearn what you have learned.
-- yoda
Offline
Lovely. What's the code to keep the window-list in the panel @ ~200px like you have it? Is it possible to just display icons with no title text?
That's xfce4-panel; so unchecking the "show labels" for the window button item will show icons only. The button width is in the gtk theme isn't it? User should be able to use tint2 instead if desired.
Lol, nice config. I thought it was tint2.
I'll troubleshoot later, tough day at the office. Thanks for the suggestions!
Offline
For that conky clock, you may just want to go with "own_window = false" and let it draw directly to the desktop.
Cannot recommend, both awesome and openbox WMs went all Five-0 with the blinking and the flashing, I had to drop to the console to fix it.
Offline
Lovely. What's the code to keep the window-list in the panel @ ~200px like you have it? Is it possible to just display icons with no title text?
Regular tint2 taskbar button configuration.
If a user runs awesome as the window manager for xfce4 desktop enironment, the default BL tint2 should work out of the box.
No, tint2 location still messed up.
Last edited by PackRat (2019-04-29 13:39:17)
You must unlearn what you have learned.
-- yoda
Offline
I use awesome, but have stuck with the Debian defaults, only changing the font to Terminus-12, adding Alt+Win+L to lock, and disabling a few of the tiling options (but not all of them like upthread).
--Ben
BL / MX / Raspbian... and a whole bunch of RHEL boxes. :)
Offline
I just installed awesome and was able to login but after I made the 3 config files I get kicked back to the login. I did a copy and paste on the files and made sure the names are correct. Once I remove the files I can login again. I feel like I did something really stupid.
I appreciate all your help. Thank you.
Windows free since Crunchbang 8.10
Offline