LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-21-2016, 07:44 AM   #16
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,477
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Thumbs up


Quote:
Originally Posted by GazL View Post
You could probably get away with using multiple single window apps concurently such as an xterm and mplayer but as soon as you get a multi-window app things are going to go pear-shaped without a WM (unless that app was written with this in mind and manages its own focus/window layout). You can use an X app without a WM, but it really needs to be written with that possibility in mind, and I suspect most aren't.

Running without an WM is an interesting exercise if you ever teach yourself to code with xlib. But even if you forgo all the window decorations, launchers and other fancy-stuff, you really want a WM that at the least does alt-tabbing and manages focus to be practical.
Back in the day, i remember killing the WM on Mandriva (segfault?) and how i managed not to reset/reboot :^)
Those where the days
kernel was fresh about 2.4, 2.2 was considered mature/stable :sigh:
 
1 members found this post helpful.
Old 10-21-2016, 02:58 PM   #17
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,407
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
How can I use the computer without the desktop (eg KDE)?

I use i3 wm. Most apps are command line based :
Mutt for mail with offlineimap
Khard for contacts
Khal for calendar
Pass for passwords
It still allows me to launch chromium, gimp okular, libreoffice, a Bluetooth applet or whatever I need with handy "desktops like" behavior.
Just have a look to a video about it to make your own opinion.
 
2 members found this post helpful.
Old 10-22-2016, 07:33 AM   #18
slackb0t
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware64-current on Thinkpad Carbon X1
Posts: 264

Rep: Reputation: 63
I agree i3 is very nice if you are a minimalist. I moved from xfce to flux to i3. It is a good progression imho.
 
1 members found this post helpful.
Old 01-06-2017, 03:01 AM   #19
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,063

Rep: Reputation: Disabled
Quote:
Originally Posted by ttk View Post
Also, instead of startx (which also starts dbus, which I never want) I've been using this script to start X11:

Code:
#!/bin/sh
/usr/bin/xinit &
/usr/bin/sleep 2
/usr/bin/fvwm -f /etc/X11/fvwm2/system.fvwm2rc &
/usr/bin/sleep 1
/usr/bin/xset s off
/usr/bin/xset -dpms
/usr/bin/setterm -blank 0
/usr/bin/xv -root -maxpect /home/ttk/texts/critters.cat.azathoth.2015-07-28a.jpg -quit
/usr/bin/xterm
The xv command just sets my background wallpaper (a picture of my cat Azathoth lounging in the garden).
Very interesting.

Just out of curiosity: did you consider putting the commands that run after launching fvwm in its Start function?

By the way, in fvwm 2.6.7 (I don't remember if that was implemented before) the Start function covers both Init and Start, as says the new default config file:
Code:
# Start Function
#
# The start function is run right after fvwm is done reading
# the config file. This function run after each restart
# so using Test (Init) or Test (Restart) can further control
# actions that are run during the first time run (Init) or
# actions that are run after a restart.
PS Looking at Lumina's features you could like it. But they use fluxbox instead of fvwm until now (they plan to replace it with their own window manager though).

Last edited by Didier Spaier; 01-06-2017 at 03:20 AM. Reason: PS added.
 
1 members found this post helpful.
Old 01-06-2017, 07:42 AM   #20
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,505

Rep: Reputation: Disabled
You can off course multi task using screen, (no X needed on the system).

Midnight Commander will do all file manager tasks & has a built in editor.
Lots of music players available as well as mplayer.
Several web browsers & mail programs also.
There are even some old fashioned games!
 
Old 01-06-2017, 11:09 AM   #21
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
You can also play games with any libretro emulator via RetroArch with only kms if your graphics card and driver support it. No xorg, de or wm necessary.
 
Old 01-06-2017, 11:49 AM   #22
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by Didier Spaier View Post
Very interesting.

Just out of curiosity: did you consider putting the commands that run after launching fvwm in its Start function?
I hadn't considered it, because I think of starting X11 and starting the window manager as two distinct layers .. but looking at it, putting those commands into fvwm's Start function would allow me to eliminate that second sleep command, and simplify the x script considerably. Thank you for pointing that out.
 
Old 01-06-2017, 12:07 PM   #23
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,063

Rep: Reputation: Disabled
Quote:
Originally Posted by ttk View Post
I hadn't considered it, because I think of starting X11 and starting the window manager as two distinct layers .. but looking at it, putting those commands into fvwm's Start function would allow me to eliminate that second sleep command, and simplify the x script considerably. Thank you for pointing that out.
As you know, the startup process differ upon usage or not of a display manager -- although I be pretty sure that you do not use one

Anyway here are the processes involved in Slint (lxdm used as display manager). Excerpts of output of pstree -a:

runlevel 3:
Code:
  ├─bash
  │   └─startx /usr/bin/startx
  │       └─xinit /home/didier/.xinitrc -- /usr/bin/X :0 -auth /home/didier/.serverauth.10631
  │           ├─Xorg :0 -auth /home/didier/.serverauth.10631
  │           │   └─{Xorg}
  │           └─sh /home/didier/.xinitrc
  │               └─ck-launch-sessi /usr/bin/startfvwm2
  │                   └─fvwm
  │                       ├─FvwmButtons 7 4 none 0 8 RightPanel
  │                       ├─FvwmEvent 9 4 none 0 8 EventNewDesk
  │                       ├─FvwmIconMan 13 4 none 0 8
  │                       └─FvwmPager 11 4 none 0 8 *
runlevel 4:
Code:
  ├─lxdm-binary -nodaemon
  │   ├─Xorg :0 vt07 -nolisten tcp -novtswitch -auth /var/run/lxdm/lxdm-:0.auth
  │   │   └─{Xorg}
  │   └─fvwm
  │       ├─FvwmButtons 7 4 none 0 8 RightPanel
  │       ├─FvwmEvent 9 4 none 0 8 EventNewDesk
  │       ├─FvwmIconMan 13 4 none 0 8
  │       └─FvwmPager 11 4 none 0 8 *
It would be interesting to compare with your startup method, i.e starting xinit then fvwm.
 
Old 01-06-2017, 12:23 PM   #24
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
It doesn't look that different:

Code:
init
  |-xinit
  |   |-X :0
  |   `-xterm -geometry +1+1 -n login
  |       `-tcsh
  |-fvwm -f /etc/X11/fvwm2/system.fvwm2rc
  |   `-FvwmPager 9 4 none 0 8 0 0
Yeah, I still use tcsh on my laptop :-} more out of inertia than anything else. It's bash on all of my other systems.
 
Old 01-06-2017, 07:56 PM   #25
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
rather than using startx you could run "init 4;exit
and pick the windomanager you want some of them are
really really bare bones

the ";exit" is there to cleanly shut down x without you having to close the VT at shutdown
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: KDE Announces the Release of KDE Applications 16.04 for KDE Plasma 5 Desktop LXer Syndicated Linux News 0 04-20-2016 06:12 PM
[SOLVED] MLED - Microlinux Enterprise Desktop - a full-blown production desktop (KDE or Xfce) kikinovak Slackware 250 01-18-2016 04:04 PM
Remotely access Kubuntu (Ubuntu Server with KDE Desktop) with windows Remote Desktop brunellehomenet Linux - Newbie 3 10-21-2012 09:20 AM
[SOLVED] Sudden and Unusual slowness, esp. Firefox, on my Centos5.7 desktop using KDE desktop aletta Linux - Newbie 3 02-02-2012 10:15 PM
Removing all portable computer related software in a desktop computer. stf92 Slackware 8 06-23-2010 09:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration