LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-27-2014, 11:29 AM   #61
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860

Rep: Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229

Quote:
Originally Posted by Shadow_7 View Post
So you're saying that using startx and having a ~/.xinitrc does work AT ALL in slackware? As implied by commenting that it doesn't apply.

Sure, various distros have methodologies that may not be known by all, even those who use that distro. And those methodologies may not apply if you venture from the pavement by grabbing a source package not provided by the distro. Also bear in mind that not all threads originate in the forums they end up in.
No, I'm saying that
Quote:
In debian the startx app is in the xinit package.
provides no useful information to a Slackware user and that
Quote:
And you need a manually created ~/.xinitrc file to execute the window manager you intend to use.
is not correct for Slackware. If this wasn't a newbie issue, I'd probably let the comment slide; I'd expect an experienced Slackware user to know enough to discount the posting accordingly. Newbies don't know enough to do that. (When they do know enough, they aren't newbies any more.)

I have checked threads in the past to ensure that I'm not flaming someone for posting non-Slackware advice in threads that weren't in the Slackware forum at the time of their posting. This particular comment was posted after the thread was moved over here.

This is way off topic. I'll create a thread tonight when I get in from work to discuss this issue. Maybe it'll get people to stop posting on that damned systemd thread.
 
Old 05-27-2014, 11:31 AM   #62
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368
Slackware has a configuration script for changing the default window manager globally, which I believe is done via /etc/X11/xinit/xinitrc

You would only need to create an ~/.xinitrc if you need to override this on a per user basis. So yes it works...

I'm not sure if the startx script is part of a hypothetical xinit package in Slackware however, probably not. It's most likely just part of the main xorg package (not at my own machine right now).
 
Old 05-27-2014, 12:35 PM   #63
genss
Member
 
Registered: Nov 2013
Posts: 746

Rep: Reputation: Disabled
xinitrc files come with a de/wm

xwmconfig cp's /etc/X11/xinit/xinitrc.whatever_wm to /etc/X11/xinit/xinitrc when you select it

/etc/X11/xinit/xinitrc is the default X... thing to start something
does not even have to be a DE, like i had xinitrc.dota2 when ram was short

edit: default xinit... thing to be more precise (man xinit for more)

Last edited by genss; 05-27-2014 at 12:39 PM.
 
Old 05-27-2014, 03:15 PM   #64
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 -current running i3
Posts: 498

Rep: Reputation: 174Reputation: 174
You can use different xinitrc's to start various desktop environments on the fly, it's what I do.

Create a separate xinitrc for each environment in a folder somewhere, for instance:

xinitrc1 (start kde)
xinitrc2 (start fluxbox)
xinitrc3 (open just an xterm)

and so on. Then in your .bashrc alias startx to the various xinitrc's thus:

alias startx1='startx ~/path/to/my/folder/xinitrc1' (starts kde)
alias startx2='startx ~/path/to/my/folder/xinitrc2' (starts fluxbox)
alias startx3='startx ~/path/to/my/folder/xinitrc3' (starts just an xterm)

Normally I will do alt-F2, login again and startx another xinitrc. I can then switch between this one and the original prompt with ctrl-alt-F7 and ctrl-alt-F1. The next is set up by logging in on alt-3, opening on ctrl-alt-F8 and so on.

Personally (I use TWM) each xinitrc opens a particular set of programs, creating a different workspace, which I can then switch between. Sort of like KDE's activities I guess.
 
Old 05-27-2014, 05:33 PM   #65
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,870

Rep: Reputation: 9366Reputation: 9366Reputation: 9366Reputation: 9366Reputation: 9366Reputation: 9366Reputation: 9366Reputation: 9366Reputation: 9366Reputation: 9366Reputation: 9366
Quote:
Originally Posted by Nh3xus View Post
I would not be as radical as you on that.

Keep in mind that most of the work that Pat has done in order to make Slackware compatible with UEFI came from the Debian folks.

The more you know...
No offense to Debian (which is another great distribution), but I don't think anything came from them. Most of it was figured out here through trial and error (and helpful testing by folks on LQ), but if anyone should get credit for helping directly it's Steven Shiau from Clonezilla.
 
3 members found this post helpful.
Old 05-28-2014, 07:39 AM   #66
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
Quote:
Originally Posted by Richard Cranium View Post
I have checked threads in the past to ensure that I'm not flaming someone for posting non-Slackware advice in threads that weren't in the Slackware forum at the time of their posting. This particular comment was posted after the thread was moved over here.

This is way off topic. I'll create a thread tonight when I get in from work to discuss this issue. Maybe it'll get people to stop posting on that damned systemd thread.
I think part of the issue is that for the most recently posted to thread, from the main forum page, will appear under the FORUM - Linux Distributions. It does not appear to be under the slackware sub-forum until AFTER you click the link. And only if you look at the directory tree above the thread and all posts to it. From the main forum page there is no indication that the thread is in a sub forum. Or which sub forum.

Aside from the qualifier debian, I fail to see the irrelevance. Had I generalized the post, and ommited the word debian, you may have been completely passive of it's content. It's great to see passion in the world, but I think yours is a little misplaced. In linux, there's always more than one way to do things. When you start focusing on methodologies and only one way to do things, when that one way fails to deliver, you're effectively offline. More so, if that's they only way you know how to do things.

For example I use the cwm window manager. Which is a bsd window manager. Debian does not have a package for it. And I would guess that slackware does not either. So the methodology of xwmconfig wouldn't apply as the source compiled binary would not include an xinitrc for that wm and weave it into the xwmconfig methodology of slackware. So how did my original comment not apply? Is there no xinit package? Will startx fail if you create an .xinitrc that doesn't match any of the KNOWN versions of it supplied by the distro? It may not be an accepted methodology, but does it fail?
 
Old 05-28-2014, 08:46 AM   #67
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Thanks.

I have been using openSUSE and am happy with it.

Take care.
 
Old 05-28-2014, 03:41 PM   #68
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by Shadow_7 View Post
For example I use the cwm window manager. Which is a bsd window manager. Debian does not have a package for it. And I would guess that slackware does not either. So the methodology of xwmconfig wouldn't apply as the source compiled binary would not include an xinitrc for that wm and weave it into the xwmconfig methodology of slackware.
Actually, cwm is availble on SlackBuilds. And the package includes a xinitrc which works fine with xwmconfig.
 
Old 05-31-2014, 01:02 PM   #69
linuxtinker
Member
 
Registered: Dec 2013
Location: NJ / USA
Distribution: Slackware 64 -Current
Posts: 232

Rep: Reputation: 99
Quote:
Originally Posted by Fixit7 View Post
Thanks.

I have been using openSUSE and am happy with it.

Take care.

I find it Ironic that a person with the name Fixit7 can't figure out how to get their wifi working. Enjoy using Suse, until that "breaks" .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How do I start up the GUI again? adanedhel728 Linux - Newbie 7 03-04-2008 11:51 PM
Cant get GUI to Start pgleed Linux - Software 1 05-23-2006 03:23 PM
How to start with no GUI.....? TheCrizu Mandriva 13 01-02-2006 05:44 PM
cant start GUI adamherb Mandriva 1 08-10-2005 12:30 AM
Cant Start GUI hexx Debian 7 08-19-2003 11:36 AM

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

All times are GMT -5. The time now is 01:09 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