Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Why is so much time and effort wasted developing desktops?

Off-Topic discussions about science, technology, and non Debian specific topics.
Message
Author
User avatar
oswaldkelso
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1493
Joined: 2005-07-26 23:20
Location: UK
Has thanked: 1 time
Been thanked: 59 times

Re: Why is so much time and effort wasted developing desktop

#16 Post by oswaldkelso »

To answer the question.
1. Because it's fun.
Just look at custom cars and motorbikes. People like to make things their own and people like to learn.
2. To suit your needs.
Try running Gnome on a atom. It's like having your nails pulled out then some twerp trying to put them back in. I'm sure it runs great on better hardware but it's a lot of bucks for little or no bang.

As I'd finished playing with TWM I had a go at a light desktop. Building a good desktop is like building a good football team. It's not just the players, it's the correct mix of players that make a good team, and the back room staff (dependency's) to get to your chosen goal.



This gives a very light but fully functional and easy to use desktop.

#Base
Private + Shared = RAM used Program
224.0 KiB + 53.0 KiB = 277.0 KiB mouseclock
196.0 KiB + 47.0 KiB = 243.0 KiB fittstool
332.0 KiB + 91.0 KiB = 423.0 KiB evilwm
348.0 KiB + 217.5 KiB = 565.5 KiB simpleswitcher

#Bling
332.0 KiB + 61.0 KiB = 393.0 KiB wp.sh #wallpaper switcher
484.0 KiB + 99.5 KiB = 583.5 KiB wmbubble #date, clock, CPU indicator, memory (but not working correctly for me).
664.0 KiB + 57.0 KiB = 721.0 KiB xcompmgr #Bling mostly for opacity in simpleswitcher
324.0 KiB + 53.0 KiB = 377.0 KiB workspace.sh #workspace indicator


you can add xbindkeys but it's very Heavy for what it does and not really needed.
2.0 MiB + 61.5 KiB = 2.1 MiB xbindkeys

Runner has a run history and can list all executables. Great when you can't recall application names. It doesn't seem to be running as a daemon so as soon as it launches something it closes.
1.1 MiB + 403.5 KiB = 1.5 MiB runner

fittstool takes care of launching applications, volume control etc

simpleswitcher gives a run dialog and workspace indicator (but just for occupied workspaces)

mouseclock provides a super lights time indicator

I love wmbubble the bang for buck is huge


944.0 KiB + 398.5 KiB = 1.3 MiB wicd-monitor
2.3 MiB + 410.0 KiB = 2.7 MiB wicd
3.1 MiB + 497.5 KiB = 3.6 MiB bash (4)
7.8 MiB + 258.0 KiB = 8.1 MiB Xorg
-----------------------------------------------------
31.6 MiB
=================================

For me it's not just about how low you can go, it's about how much crap I can remove and still enjoy using the damn thing.

cwm is just a evilwm clone :wink:
Free Software Matters
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
My oldest used PC: 1999 imac 333Mhz 256MB PPC abandoned by Debian

User avatar
wizard10000
Global Moderator
Global Moderator
Posts: 586
Joined: 2019-04-16 23:15
Location: southeastern us
Has thanked: 78 times
Been thanked: 89 times

Re: Why is so much time and effort wasted developing desktop

#17 Post by wizard10000 »

Deb-fan wrote:Fluxbox with just included themes running on it uses about 1/3rd as much ram as OB + tint2.
That hasn't been my experience but I compared both when also running compton and conky. I have had OB + tint2 under 100MB at idle on an Atom netbook, though. My current setup (4th gen i7 laptop) runs OB + tint2 + compton, conky and tilda and uses ~325MB of RAM at idle. It's a little bit fat for openbox but still leaner than almost all DE out there :)
we see things not as they are, but as we are.
-- anais nin

trinidad
Posts: 296
Joined: 2016-08-04 14:58
Been thanked: 15 times

Re: Why is so much time and effort wasted developing desktop

#18 Post by trinidad »

4th gen i7 laptop) runs OB + tint2 + compton, conky and tilda and uses ~325MB of RAM at idle
New kernels and systemd have improved idle RAM and boot times immensely. 300 to 500mb RAM idle ranges are common these days. Kubuntu LTS (KDE) on kernel 5.3 is at 384mb RAM idle on my 4core AMD, and Linux Lite (XFCE) on kernel 4.15 about the same. My much bigger Debian 10 gnome (48gb file system) idles at about 900mb (though this is not really an idle reading as many things are backgrounded including debsecan and a security layer) To get the best performance on old hardware one could build a trimmed down hardware specific kernel and build a QT5 DE from scratch on wayland/weston and probably get extremely low RAM idle numbers. You could also use systemd to build in suspend except for active applications. RAM idle usage and threading is not particularly important anymore because modern kernels can easily optimize it,

TC
You can't believe your eyes if your imagination is out of focus.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Why is so much time and effort wasted developing desktop

#19 Post by Head_on_a_Stick »

I see roughly the same idle RAM usage for both openbox/tint2 and my GNOME desktop but I have masked lots of --user services and removed quite a few packages to trim GNOME's excesses.
deadbang

User avatar
wizard10000
Global Moderator
Global Moderator
Posts: 586
Joined: 2019-04-16 23:15
Location: southeastern us
Has thanked: 78 times
Been thanked: 89 times

Re: Why is so much time and effort wasted developing desktop

#20 Post by wizard10000 »

trinidad wrote:Kubuntu LTS (KDE) on kernel 5.3 is at 384mb RAM idle on my 4core AMD
Just curious - did you disable akonadi and baloo to arrive at that number? I got close by doing that a couple years back but I've given up on KDE twice - I'm not a fan of their release management processes - new features (at least used to) seem to take priority over stability and TBH I find regressions kinda annoying :)
we see things not as they are, but as we are.
-- anais nin

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Why is so much time and effort wasted developing desktop

#21 Post by Deb-fan »

Would be nowhere near as much fun without all the options for sure. Though for me it's about function so keep using what I'm used to and know works well. Still have to download and play with the wm Head_on suggested, evilwm looks like it's ridiculously light, so hell yeah it or a clone need to be evaluated here. Keybinds, run dialogue and terminal take care of everything I need, so almost all the bling that full de's provide (icons, applets,menus)aren't a benefit. Just get in the way and add clutter. Sheesh even got rid of openbox's right-click menu now. Which doesn't even save any resources I just don't need/use it. Kinda like that it makes it harder for people who would try using my os. Kind of a security feature, someone who doesn't know the keybinds and cmds in gnu/nix would be at a total loss. :)

Use networkd and wpa_supplicant for networking, cli network management isn't tough or even much of a hit in convenience compared to a gui/applet once you get familiar with it. Some but it's feather light in terms of resources. My general rule of thumb is trying to keep 32bit at sub-100mbs, 32bit stretch weighs in at all of 70-80mbs and 64bit down to at 120-130mbs. Cwm is definitely getting a tryout though. Not even sure which (openbox or tint2)provide the tab apps function I like, when you alt + tab keys to go through running apps. One of the last basic areas of tweaking I'm planning here, is custom compiling the apps I use with optimization flags applied in gcc, -march=native and similar. Won't take long to compile them and they seldom change so it's just a one time shot tweak. Going to do some of the key system libs too. Not that I expect much by way of performance benefit. More just a why not kind of thing.

Thanks for sharing your stats and choices in software. Always interested in such. Jebuz Head_on, that's either one lean-mean gnome or one uber-bloated Openbox. Knowing you I'd have to be the former one. You should do a write up on the tweak process. Am sure people would be interested in how you get that done.
Last edited by Deb-fan on 2020-02-19 18:33, edited 3 times in total.
Most powerful FREE tech-support tool on the planet * HERE. *

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Why is so much time and effort wasted developing desktop

#22 Post by Head_on_a_Stick »

Deb-fan wrote:that's either one lean-mean gnome or one uber-bloated Openbox
Little bit of both, openbox gets greedy when you give it 16GiB to play with.
Deb-fan wrote:You should do a write up on the tweak process
Meh. My mental health is poor atm so I'm not really in the mood.
deadbang

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Why is so much time and effort wasted developing desktop

#23 Post by Deb-fan »

Ah sorry to hear that. Depression kinda thing? Hope you get to feeling better.

Comes to system specs things have gotten ridiculous for sure. Just can't see ever needing more than 4gbs-mem, absolute tops of 8 at most. Or ever for more than a quad-core. Of course trend is like everything else, more = better, higher = better. Just doubt people with these beasts of personal computer systems ever use more than a small fraction of what they got (paid for.) Mentioned another cool aspect of being a minimalist/resource miser, tweaker. Can get a PC that can blaze for $150 or less all day long anytime.
Most powerful FREE tech-support tool on the planet * HERE. *

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Why is so much time and effort wasted developing desktop

#24 Post by Deb-fan »

Also a point of pride knowing anyone with a decent gnu/nix skillset can do likewise. Take what's considered a crusty spec system, tune/tweak and have it perform as well or better than hardware someone paid $500-800 for, that's m$ based. Doesn't take much for gnu/nix to take the performance edge. :)

Funny to think these people with 32gigs and 12 cores, the software could likely be the bottleneck. Am sure majority of software just isn't designed to utilize that kind of computing muscle anyway.
Most powerful FREE tech-support tool on the planet * HERE. *

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Why is so much time and effort wasted developing desktop

#25 Post by Deb-fan »

Head_on, think you may need to look into a 12 step gnu/Linux and nix foruming recovery program. Been fairly obvious for a long time you're a gnu/Linux addict. :) On the one hand good, you amassed an impressive nix knowledge and skillset in record time and that was long ago but on the other don't know how you've maintained it. Spent night and day for months hanging out in #! forum at times and never managed more than a couple 1000 posts. You made that number look like a joke on 4-5 forums that I know of. When do you find time to eat, sleep, blink your eyes fellow nixer? :P

Cwm is minimal, lol. Set the thing to default x-session and booted-er on up. Blank black screen, nothing, not even a mouse cursor. No indication of default keybinds. :) Yikes am a noob with this thing. Time to spend some time with Google, Archwiki and manpages, yay! Ah hopefully shouldn't take long to get a .cwmrc together. Just have to figure out the keybind syntax, how to autostart a panel (probably tint2) and a mouse cursor and working touchpad would be nice, lmao.

Mentioned needs are few, solid color desktop, panel with time/date, easy means of seeing which apps are running and toggling through them. What provides that is irrelevant and lighter = better, cause may as well be. Booting up cwm gave me a feel for how a person booting my os config will feel, completely lost and exactly the effect I'm going for but at least they'll know current time/date. Tint2 blends perfectly into the desktop, so just looks like a floating clock bottom right. :) Oh and a cursor but clicking it anywhere doesn't do anything.
Last edited by Deb-fan on 2020-02-19 21:33, edited 2 times in total.
Most powerful FREE tech-support tool on the planet * HERE. *

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Why is so much time and effort wasted developing desktop

#26 Post by Head_on_a_Stick »

Deb-fan wrote:Ah hopefully shouldn't take long to get a .cwmrc together. Just have to figure out the keybind syntax
Read openbsd-cwm(1) & cwmrc(5) and revel in the quality of OpenBSD man pages.
Deb-fan wrote:how to autostart a panel (probably tint2) and a mouse cursor
Use ~/.xsessionrc: https://wiki.debian.org/Xsession

For a cursor add this line:

Code: Select all

xsetroot -cursor_name left_ptr
deadbang

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Why is so much time and effort wasted developing desktop

#27 Post by Deb-fan »

Hey thanks, sure you saved me some time. Personally lean towards fueling your raging gnu/nix addiction. You always seem to have something useful to input on all things nix. :)

PS, however still holding on to the very real possibility that you may be Borg, at least partially cybernetic. As am still not sure how your knowledge-base and forum post count is humanly possible. :P
Most powerful FREE tech-support tool on the planet * HERE. *

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Why is so much time and effort wasted developing desktop

#28 Post by Deb-fan »

Apparently cwm likes giving me the finger. Default keybinds have no effect here. Despite looking around for .cwmrc files in which I'd expect to find clear cut examples of defining custom binds, no joy. Found/followed a few, nope, didn't work. In addition this sucker will obviously need much additional manual configing. Everything from adding a dang cursor, simple windows decorations, settling on an approach to auto launch junk like a panel etc. Does this thing need a modkey? Which would be a deal breaker anyway, am fond of binding F1 and such for junk I use most. Though it makes sense the more minimal the app, the more manual config likely required. However one of my prime directives is thou shall be lazy, so think cwm is out. The quest to shave all of a few more megabytes of ram is really beginning to grate on nerves. A loss of convenience to conserve tiny amounts of system overhead with pc's now all having an excess is no bueno.

Guess I need to confine my wm exploration to more civilized ones with greater provisions for lazy people such as myself. However fear not, still likely to take a stab at fluxbox + tint2, with the prospect of saving a whopping 6mbs, how can such be resisted? :P Well and still kicking around playing with some other panels. For the most part just in general being a dork and dumping time for things which can't possibly be considered productive. Go team dork!

Pointless PS, though will keep the thing installed, the ps_mem stats for evilwm are going to eventually compel me to double back and dork with it. For now though giving into my laziness instints.
Most powerful FREE tech-support tool on the planet * HERE. *

trinidad
Posts: 296
Joined: 2016-08-04 14:58
Been thanked: 15 times

Re: Why is so much time and effort wasted developing desktop

#29 Post by trinidad »

Just curious - did you disable akonadi and baloo to arrive at that number?
Kubuntu has recently grown very polished. much less buggy etc. than a few years back. Numbers are from the standard full LTS installation fully up to date, nothing disabled. I was impressed myself that they were comparable with XFCE. I'm a Debian gnome wayland systemd guy all the way, and my interest nowadays is in wayland development. With XFCE postponing wayland seating I was interested in KDEs progress toward wayland. I also noticed that Kubuntu seems to handle CPU usage more level, that is with a little higher sustained usage but without the even higher spikes that XFCE displays with some applications. Again though, this could also be the kernel and firmware difference. The 5.x kernel names my processor and GPU correctly while the 4.x kernel does not though it configures it adequately. There is a lot of room for error with AMD stuff and it will still work. I don't put much stock in RAM idle numbers myself. I'm more interested in a kernel that can use all of my CPUs features, and all of my RAMs features. The more up to date and efficient at that it is the better.

TC
You can't believe your eyes if your imagination is out of focus.

User avatar
wizard10000
Global Moderator
Global Moderator
Posts: 586
Joined: 2019-04-16 23:15
Location: southeastern us
Has thanked: 78 times
Been thanked: 89 times

Re: Why is so much time and effort wasted developing desktop

#30 Post by wizard10000 »

trinidad wrote:Kubuntu has recently grown very polished. much less buggy etc. than a few years back.
Good to know. Said it several times before but that KDE release management has been an issue for me. It seems to me KDE devs throw in all kinds of Shiny New Stuff and reliability sometimes is second priority after New Features.

This was around v5.8 but I had Plasma choke on its own systemsettings module after an upgrade - that's when I walked away from KDE for the second time :)
we see things not as they are, but as we are.
-- anais nin

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Why is so much time and effort wasted developing desktop

#31 Post by Deb-fan »

Openbox! It is the way! The one true path! Use it or forever be consigned to graphical inferiority! Yes, we're back to this folks. LMAO.

Evidently everything hates me presently. For whatever odd reason autostart apps in fluxbox aren't even working here. So as yet, not even it + tint tried. I go without a display manager, autologin and startx on tty1, am wondering if this is somehow my culprit. Doesnt make sense either though. Not like I haven't used fluxbox before, it's syntax for using the startup file it comes with can't be misinterpreted but try as might, no tint2. Launches fine from terminal, the FB keys file is read/respected. Got my keybinds set but nope, no startup apps for you! Openbox works fine, even resorted to including a dang .desktop file for tint, nope. Fbautostart was installed and it's mentioned in the FB startup file, tried commenting it, nope, tried using it, putting that tint2.desktop in ~/.config/autostart, nope, no tint2 tyvm.

One thing I definitely don't like about fluxbox is how convoluted it's styles-themes things seem to be and for a windows manager that came out shortly after dirt was invented not the best documented. Frustrating arghhh. Not sure unraveling how dealing with it's styles works is even worth messing with. Seems they've over complicated something which should be kept simple. Haven't invested utmost effort but still annoying. Openbox, 3 files, setting a simple solid background a matter of changing 1 obvious line in the openbox-autostart file. Took 10secs or less of poking. Getting rid of it's right-click menu same but another thing I've found lacking in fluxbox, simple means to exit/restart/reconfig the thing via terminal cmd. Openbox = "openbox --exit" or restart-etc, WHAM! You're done. Not liking fluxbox folks.

Easy enough getting rid of fb's right click(keys file and init file for toolbar + the theme.cfg file has oodles of junk related to the toolbar) but get rid of menu, get rid of convenient exit/re-start/config too. Am a supposed to have to restart x to do this in flux ? General impression, fluxbox = fail at this point. Think they try to include too much out-of-box. If going to invest this kind of effort in mostly trivial overhead reduction may as well focus on cwm. At least the difference is significant but think its devs didn't include enough config setup out-of-box. In other words, whaaaaaaaa, whine, whine and sniffle. Openbox is the best, just face facts and accept it people. :)
Most powerful FREE tech-support tool on the planet * HERE. *

MALsPa
Posts: 678
Joined: 2007-12-07 19:20
Location: albuquerque
Been thanked: 2 times

Re: Why is so much time and effort wasted developing desktop

#32 Post by MALsPa »

Deb-fan wrote:Openbox! It is the way! The one true path!
Ha-ha!!

Not sure what the problem is with your autostart apps in Fluxbox. For what it's worth, I run Openbox and also Fluxbox, both with tint2. I tend to prefer Openbox, partly because I like obmenu -- it's such a handly, simple menu editor! But Fluxbox works out great for me, too!

Anyway, I don't know, I'm not totally understanding your issues with Fluxbox. I don't know if this page would help you or not: https://addy-dclxvi.github.io/post/my-fluxbox/

I'd say that man fluxbox and the related manpages have been more helpful for me over the years than anything else, though.

And while I enjoy using window managers like Openbox and Fluxbox, it can also be very nice and helpful to have a good DE available. It can make life easier at times, so I appreciate the devs and the work they put into all that. But, hey, to each his own.

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Why is so much time and effort wasted developing desktop

#33 Post by Deb-fan »

Hey Malspa long time, hope you're well.

My take on flux is it's over convoluted out-of-box. Think if someone is going to include some theme with a toolbar, they should start with simple as possible, let folks build to preference from there and make the process involved in changing it clear as possible. By default the thing boots last background, I mean the overlay file has a background: none but it's commented (apparently an ! mark is also a comment in flux) uncommenting it doesn't do anything for me, still get default. Just think too many files, doing too much out-of-box and customization process nowhere near clear, shrugs. Changing the toolbar.visible to false in the FB init file and adding something like tint2 & or seen (sleep 2s && tint2) & advised in some junk to fb's startup file should be all there is to launching tint2 at start but nope.

Ahhhh plenty of wm's left to explore and have more than a few installed. Just have to keep plugging. Kinda starting to feel like I'm hunting unicorns here. You can go out with a rifle and sit in da woods for a long time, subject to being disappointed. This whole thing is mostly tarded of me anyway but if going to bother at least has to be noteable difference in overhead compared. No matter what, isn't really ever going to result in being a meaningful tweak. Once someone has settled on using one of the many wm's vs using a full de (particularly gnome or kde) that nixer has already gotten the most mileage in terms of system tweaking as they're ever going to get. Openbox + tint2, 18mbs-mem, tiny cpu overhead vs this cwm thing even if the sucker + an acceptable panel only uses 4mbs, still talking about a net savings of all of 14mbs on a PC with 4gigs. Now the 100's of mbs and cpu-overhead saved with OB/tint2 vs Gnome, that's a different deal. Even though honestly with avg specs nowadays still kind of irrelevant. Not to me though I don't need no stinking icons-etc.

Plus yeah the feature I like is provided by Openbox. Where you press alt + tab and a graphical popup showing all running apps comes up with the currently focused one highlighted. So someone can toggle through the suckers, I like that just cause it helps keep me oriented. So finding/using another wm is sure to mean having to find a stand-alone app which will do that, so means more overhead. Still know I'm going to screw with this further even if it's stupid and have much more meaningful areas of tweakage I should be focusing on getting more familiar with. Still can't see anything wrong with trying different gui's in gnu/nix. Well except for gnome or kde types, why would anyone in their right mind do such a thing? ;) Won't know unless someone tries a bunch. Ah Dork's will be dorks. :)
Last edited by Deb-fan on 2020-02-21 02:35, edited 1 time in total.
Most powerful FREE tech-support tool on the planet * HERE. *

MALsPa
Posts: 678
Joined: 2007-12-07 19:20
Location: albuquerque
Been thanked: 2 times

Re: Why is so much time and effort wasted developing desktop

#34 Post by MALsPa »

Well, Fluxbox isn't awful for everyone, that's for sure. And many prefer it over Openbox. Maybe you're coming at it all wrong? Or maybe it simply isn't a good fit for you...

Deb-fan
Posts: 1047
Joined: 2012-08-14 12:27
Been thanked: 4 times

Re: Why is so much time and effort wasted developing desktop

#35 Post by Deb-fan »

^ Think both don't get me wrong still appreciate it/fluxbox for what it is and is by no means ugly. Guess that's what they're shooting for with how it comes default, best foot forward kinda thing. Just to me gets in the way without being familiar with how to change things. More stuff I've got to change. Really need to focus on other stuff, mentioned been meaning to learn more about selectively optimizing given apps with gcc vs performance of the stock binaries from the repos, openbox (or other wm's)are perfect candidates for this. Almost never change or can keep using a given version for the entire life or even install to next release. Now question is realistic performance gains to be expected for given gcc flags? Only thing I've ever gotten 1/2 versed with custom compiling is my kernels. Learned which config options are going to have the most effect on performance impact for desktop nix. Again for me was worth all the effort. Really only something which needs be done right a couple times for a given system at most or every few years as new Debian releases come out but the .config file used doesn't require much altering. Only comes down to compile time which on this old thing is about 3hrs.
Most powerful FREE tech-support tool on the planet * HERE. *

Locked