Skip to content

Best desktop environment to configure from command line?

For work (University IT), I've been working on a stripped down and customized version of system-rescue-cd, which in its most recent update switched to being based on arch.

This is nice because archiso makes this process relatively simple. However, I am running into a bit of a snafu with regards to tuning the desktop environment: configuring everything from the command line.

Since this will be used for live booting, I'm looking for a desktop environment with settings that I can call as scripts, so it is themed / tuned however I want each boot. This seems easy enough for gnome via dconf / gsettings, but I'm trying to minimize the size of the .iso so I can run it all from ram. Does anyone know of alternative approaches or of desktop environments with comparable settings features? I know kwriteconfig5 exists for plasma but I couldn't find documentation on actual settings names/locations for the life of me.

E: Thanks for the responses all. I think I'm going to try to build / rice up a comfortable WM instead of using a DE. Easier configs, smaller footprint, etc etc etc.

Edited 19 Jun 2019. We only hold this version.

51 points38 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
51 · 100% up
Kind
Text
ID
c2keps

Author

6
posts
3
comments
0
media
View profile

41 comments

You might want to go with a window manager instead of a DE if you're looking to run it all from RAM. I'd suggest i3 and i3 meets your customization needs. You can easily find tons of i3 customizations on r/unixporn.

44 points

I'm very fond of i3 and it's what works best for me on my laptop, but I'm trying to build this to be as accessible as possible to my coworkers, particularly those still in training.

That's why I'm going for more of a traditional environment that they'd be comfortable in.

17 points

I haven't really used the features, but afaik i3 can be configured to have normal "floating" windows that are mouse friendly, and if you take the time to do so, i3-blocks can provide everything you need from a "taskbar". You could make i3 open a browser on 1, file manager on 2, etc and they are clickable. You could even name the desktops "Firefox" etc for the terminally techtarded.

1 points

i3 is good for configuration but with multi-monitor is i3 not so good. Gnome is better for work and multi-monitor.

1 points

I use multiple monitors very frequently with i3 and I don't have any issues. You just have to know what you're doing with xrandr or you could even use arandr to make it easier.

7 points

I only use i3 because of multi monitor. tbh is the most efficient wm I found for my needs. Single monitor I still prefer xfce4

2 points

Fix workspaces to monitors, then you won't have any issue. It was a mess otherwise since the workspace IDs keep jumping from one monitor to another.

1 points

I agree, my install with i3wm use ~200mb of ram after clean boot ofc, most is still on drive but I haven't tried to minimize resources usage

1 points
unknown author

I run LXDE with openbox and I’m at ~180MB of RAM usage.

1 points

I have an "ArchLive" ISO that I made for fun. I find Xfce to be easy to setup via the ArchISO process, since build pulls over AIRootFS, you can just make your airootfs/home/liveuser/.config, .local, etc. And drop your config files over and they will pull over to the ISO. Don't forget to install any necessary GTK themes, fonts, icons, etc. via packages.both.

This is the live desktop. https://i.imgur.com/g62wDYB.png

8 points

This looks pretty ideal.

I just found out about xconf-query so this might be simpler than I thought.

4 points

Yep, came to say xfce would probably hit your memory vs function sweet spot. You could also strip packages you don't find particularly useful; I doubt you need a dozen screensavers, or japanese fonts (if you're not actually in japan), for example.

1 points
unknown author

Deleted before we saved it.

3 points
unknown author

Deleted before we saved it.

2 points

KDE Plasma can be easily configured with kwriteconfig5, e.g. kwriteconfig5 --file 'kcminputrc' --group 'Mouse' --key 'XLbInptAccelProfileFlat' --type bool true. Actually, Plasma uses plain ini-like config files that can be modified by hand but using the command-line tool is usually recommended

2 points

iirc puppy Linux can run from RAM, not sure if it supports the stuff you’re looking to do though

1 points
unknown author

Deleted before we saved it.

1 points

I know Antergos is technically dead now, but I found its live ISO to be extremely useful for rescuing installations.

1 points

so I can run it all from ram

It doesn't seem like gnome would be a blocker for that for one.

use lxde if you want something that's just usable by default for your help desk. Light and should be usable by default. Might just need to

1 points

Take a look at awesome wm. But it require a programming skills to configure it.

1 points

I know this is not a DE but you could look into bare window managers as well. In i3 for example everyhing is customized in one easy to use config file.

0 points

It's not DE, but I still recommend. i3 All configs in one file.

0 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.