LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware for the WM and noX user (https://www.linuxquestions.org/questions/slackware-14/slackware-for-the-wm-and-nox-user-4175671899/)

JWJones 03-24-2020 03:07 PM

Slackware for the WM and noX user
 
2 Attachment(s)
As I mentioned in this post on the Slackware screenshots thread, I wanted to start a thread for those Slackware users such as myself who would rather use a window manager only, or perhaps even no Xorg, to share various tips and tricks for usage.

Although it is generally recommended that users do a full installation of Slackware, I haven't done so for many years. At the very least, I always omit KDE from the packages installed, but usually quite a few others as well. I usually default to using Xfce, although I am not really a big fan of it, either. Fortunately, Slackware has a virtual cornucopia of tools for X and no X, outside of KDE and Xfce. It's just a matter of learning about and using these tools, and discovering others that may be available via Slackbuilds or elsewhere.

So, yesterday I did a fresh Slackware installation on my ThinkPad T61, and decided to only install fluxbox, Windowmaker, and blackbox. Honestly, I will probably never use blackbox, so I will probably uninstall it eventually. My favorite WMs are fluxbox, Windowmaker, and icewm (which is not included with Slackware, but is available at SlackBuilds). I have also used some tiling WMs quite a bit in the past, such as dwm and spectrwm, but I eventually tire of tilers and go back to stackers.

My current efforts will focus on fluxbox. One of the first things I wanted was to find a good power management solution for laptop usage, which would give me a battery indicator on the panel, and also allow for features such as suspending/locking when the lid was closed. I didn't really want to use the xfce4-powermanager, but a solution independent of any desktop environment

What I found was the awesome powerkit, which was originally created for Slackware. The Slackbuild is available here.

Tonus 03-24-2020 05:38 PM

Slackware for the WM and noX user
 
Great tool! Didn't know it.
I instead had a few scripts to do that could be used from the "bar" (actually i3-blocks since I use i3-gaps as wm).
I've be happy to share what I have when I 'll be back at the computer!

JWJones 03-24-2020 07:21 PM

3 Attachment(s)
The next item on my list was a good file manager, since I'm not using Dolphin or Thunar. Midnight Commander is excellent and included with Slackware, but sometimes I just want a good GUI file manager, too.

Fortunately, there are lots of good options out there, such as roxfm, spacefm, and pcmanfm.

But my favorite is xfe. Although it requires the fox-toolkit as a dependency, it is worth it (it's a quick compile). It is a fast and full-featured file manager with lots of options.

As a bonus with xfe, you get the xfw text editor, and the xfi image viewer. All three are lightweight and fast.

Gerard Lally 03-24-2020 07:35 PM

I'd like to see jwm and icewm in Slackware.

JWJones 03-24-2020 07:43 PM

Quote:

Originally Posted by Gerard Lally (Post 6104020)
I'd like to see jwm and icewm in Slackware.

Both jwm and icewm are available as SlackBuilds. The icewm SlackBuild is v.1.5.5, whereas it was just updated to 1.6.5 last week.

As an aside, the Slackware-based Absolute Linux uses icewm.

fatmac 03-25-2020 05:23 AM

I'd like to see a version of Slack that only had a WM, web browser, & just the absolute minimum of extras that you are suggesting.

The mainline Slack distro installs too much in general, that is why I had used Salix before.

I only want installed what is absolutely necessary to do basic internet, media, & general house keeping, (anything else could be installed once up & running, depending on needs).

ctrondheim 03-25-2020 05:51 AM

JWJones:
Thanks for posting about powerkit. Looks great and I could use it.
A question: you do not mention fvwm. I use it for nostalgia reasons on older laptops :-)
What's your assessment of it?

ctrondheim 03-25-2020 06:01 AM

fatmac:
I agree with you that mainline Slack distro installs too much. After an install I have a script which removes many packages and replaces pulseaudio with alsa and similar things like that. On that other hand Slackware is the only Linux distro that works for all sorts of purposes 'out of the box' I've always loved Slackware for that.
Recently I've been built an LFS system (8.3) now I'm working on the 9.1 release precicely for the reason
you give: to do basic internet and media streaming. I'm starting to really like the LFS way. I appreciate that they have a systemd and non-systemd approach.

hazel 03-25-2020 06:41 AM

I use fluxbox as my wm and I don't use a file manager at all. I have long preferred coreutils for file management. It's faster, especially for large directories.

I also think that a full Slackware install is too much of a good thing. I remember that when I started with Slackware, a lot of old slackers disapproved of my insistence that I would only install what I actually needed. That wouldn't work, they said, for a new user. But it worked very well for me, and I managed to chase down and install all the dependencies I needed, except for one python library-binding that someone had to help me identify.

JWJones 03-25-2020 06:55 AM

Quote:

Originally Posted by ctrondheim (Post 6104137)
A question: you do not mention fvwm. I use it for nostalgia reasons on older laptops :-) What's your assessment of it?

I appreciate it for what it is, but I don't have the patience to configure it into something I would want to use. But I do love the cool things I have seen others do with it, particularly Austrumi (which is based on Slackware).

JWJones 03-25-2020 07:06 AM

Here's a nice Windowmaker How-To, focused on Slackware:

https://github.com/linuxcsuf/linuxcs...ow-Maker-Howto

ctrondheim 03-25-2020 07:24 AM

Quote:

Originally Posted by JWJones (Post 6104152)
I appreciate it for what it is, but I don't have the patience to configure it into something I would want to use. But I do love the cool things I have seen others do with it, particularly Austrumi (which is based on Slackware).

Austrumi - impressive.
Well since this is a thread about 'no X'... the reason I use fvwm is because I like minimalist things. It allows me to have a setup where I have nothing showing on the desktop. Everything is accessed via the keyboard or mouse buttons. No tool/icon bar. No icons for running programs - these are accessed via
<alt-tab> for example. If I posted a pix of my desktop all you'd see is a background. However absolutely everything is quickly accessible via mouse-triggered menues and or keystrokes.

On the other hand I really like the UI that kali-linux-2020.1b-live-amd64 uses, especially their program selection/launcher...check it out

JWJones 03-25-2020 07:36 AM

Quote:

Originally Posted by ctrondheim (Post 6104159)
Austrumi - impressive.
Well since this is a thread about 'no X'... the reason I use fvwm is because I like minimalist things. It allows me to have a setup where I have nothing showing on the desktop. Everything is accessed via the keyboard or mouse buttons. No tool/icon bar. No icons for running programs - these are accessed via <alt-tab> for example. If I posted a pix of my desktop all you'd see is a background. However absolutely everything is quickly accessible via mouse-triggered menues and or keystrokes.

On the other hand I really like the UI that kali-linux-2020.1b-live-amd64 uses, especially their program selection/launcher...check it out

I like a clean desktop, too, and prefer to use the keyboard as much as possible, with hotkeys set to launch various applications, regardless of WM or DE used. One of the things I appreciate about Gnome 3 is that they break the whole "desktop" metaphor, everything is clean and consistent, and keyboard-driven.

It looks like the latest Kali is using the Whisker Menu for XFCE. Very nice. The Brisk Menu for MATE is similar.

hazel 03-25-2020 07:46 AM

I like both a taskbar and an button bar. The button bar I use is one I wrote myself called barbarella. I like to dedicate each of my four desktops to a different use (for example no.2 is internet), so I've taken advantage of the fluxbox facility for naming desktops rather than numbering them. Each has a different button bar depending on its use.

JWJones 03-25-2020 08:35 AM

Quote:

Originally Posted by hazel (Post 6104176)
I like both a taskbar and an button bar. The button bar I use is one I wrote myself called barbarella. I like to dedicate each of my four desktops to a different use (for example no.2 is internet), so I've taken advantage of the fluxbox facility for naming desktops rather than numbering them. Each has a different button bar depending on its use.

That sounds like a great setup. Have you ever posted a screenshot of this?

hazel 03-25-2020 09:21 AM

I think there's one in the Slackware desktop thread but I can't find it now.

Bindestreck 03-25-2020 04:56 PM

Thx for the powerkit, had no idea about its existence.

Bindestreck 03-26-2020 04:59 AM

Any tips on good "Lock-Screen" apps? I want a lock-screen that also can show the buttons; Restart, Shutdown. Like XDM loginmanager, but as a lock-screen.

JWJones 03-26-2020 06:30 AM

Quote:

Originally Posted by Bindestreck (Post 6104488)
Any tips on good "Lock-Screen" apps? I want a lock-screen that also can show the buttons; Restart, Shutdown. Like XDM loginmanager, but as a lock-screen.

I have not come across one like that, that would be a good one that I would use, too!

allend 03-26-2020 10:33 AM

Quote:

Any tips on good "Lock-Screen" apps? I want a lock-screen that also can show the buttons; Restart, Shutdown. Like XDM loginmanager, but as a lock-screen.
I use WindowMaker with xbindkeys installed.
With
Code:

# Mod4 + l - Windows + L locks screen
"xlock -allowroot -usefirst"
  Mod4 + l

in ~/.xbindkeysrc
then <Windowskey> + L locks the screen.
I have a setup that hibernates when I close the lid on my netbook, so when I restart I need to log in.

fatmac 03-26-2020 12:02 PM

Quote:

Originally Posted by Bindestreck (Post 6104488)
Any tips on good "Lock-Screen" apps? I want a lock-screen that also can show the buttons; Restart, Shutdown. Like XDM loginmanager, but as a lock-screen.

I don't know its name but AntiX uses one like that, it has 6 choices.
(I'll try & find its name.)

phalange 03-26-2020 12:49 PM

Quote:

Originally Posted by JWJones (Post 6103941)
window manager only, or perhaps even no Xorg,
What I found was the awesome powerkit, which was originally created for Slackware. The Slackbuild is available here.

I've gotten by with just the kernels power management. I used to use xfce4-power-manager, but it's wrapped up in polkit to escalate privileges and it became a rabbit hole trying to implement it outside xfce4. Also, I have an Asus laptop that is a nightmare for power managment, as every flavor of Linux I've ever tested on this thing has cause crashes with suspend. Slackware minus a power manager and using a window manager is the only stable option I've found, and even pm-suspend causes sporadic freezes but at least they're rare.

Maybe I'll try out this powerkit; it's clearly the right idea for WM users.

I use spectrwm. Gotta have it. And incidentally, you can float windows pretty easily.

fatmac 03-26-2020 03:04 PM

Quote:

Originally Posted by fatmac (Post 6104633)
I don't know its name but AntiX uses one like that, it has 6 choices.
(I'll try & find its name.)

I have only found obsession so far that is similar.
https://packages.debian.org/sid/x11/obsession

fatmac 03-27-2020 06:35 AM

OK, I asked on the forum & the one AntiX uses is:-

Quote:

/usr/local/bin/desktop-session-exit offers a clean way to logout, reboot, suspend, etc.
https://github.com/antiX-Linux/deskt...p-session-exit

FTIO 03-29-2020 07:53 PM

Quote:

Originally Posted by JWJones (Post 6104016)
The next item on my list was a good file manager, since I'm not using Dolphin or Thunar. Midnight Commander is excellent and included with Slackware, but sometimes I just want a good GUI file manager, too.

Fortunately, there are lots of good options out there, such as roxfm, spacefm, and pcmanfm.

But my favorite is xfe. Although it requires the fox-toolkit as a dependency, it is worth it (it's a quick compile). It is a fast and full-featured file manager with lots of options.

As a bonus with xfe, you get the xfw text editor, and the xfi image viewer. All three are lightweight and fast.

Wow! I really like the look of those. I'm going to try the file manager out because I find myself completely lost if I can't have Krusader, but I have to have a buttload of KDE stuff to be able to use it. Maybe this can be a good substitute so I can try other WM's/DE's besides KDE (though I *do* like KDE, just curious to try something else after all these years, heh). Thanks for this thread!

Gerard Lally 03-29-2020 08:19 PM

Quote:

Originally Posted by FTIO (Post 6105760)
Wow! I really like the look of those. I'm going to try the file manager out because I find myself completely lost if I can't have Krusader, but I have to have a buttload of KDE stuff to be able to use it. Maybe this can be a good substitute so I can try other WM's/DE's besides KDE (though I *do* like KDE, just curious to try something else after all these years, heh). Thanks for this thread!

You can also use Double Commander, which, together with Krusader and Total Commander, is another excellent Orthodox File Manager. There is no slackbuild but you can get a portable package at the Double Commander website, unpack it and just run.

Version 1 is scheduled for release later this year.

FTIO 03-29-2020 08:26 PM

Meh...on second thought after seeing the looks of it (xfe), and it not impressing as I'd thought it might, it's off my system and krusader again gets the lead as my prefered file manager. Oh well, thanks anyway, it's always fun just to try something else once in a while.

FTIO 03-29-2020 08:32 PM

Quote:

Originally Posted by Gerard Lally (Post 6105766)
You can also use Double Commander, which, together with Krusader and Total Commander, is another excellent Orthodox File Manager. There is no slackbuild but you can get a portable package at the Double Commander website, unpack it and just run.

Version 1 is scheduled for release later this year.

I'm just going to stick with what works I guess. Those 'commander' things just remind me too much of way back when I used windows and *why* I got away from it as fast as I could. Krusader doesn't 'look' like them, I don't know how to explain how or why not, but it doesn't remind me of ms windows in any way, shape or form. It runs pretty quickly too, and I don't mind staying with KDE, as I said, I like it.

Again, thanks though for the tips and things for me to look at, it was sort of like a walk down memory lane, heh.


All times are GMT -5. The time now is 01:57 PM.