Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
05-27-2014, 11:29 AM
|
#61
|
Senior Member
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860
|
Quote:
Originally Posted by Shadow_7
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.
|
|
|
05-27-2014, 11:31 AM
|
#62
|
Senior Member
Registered: Apr 2005
Posts: 2,727
|
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).
|
|
|
05-27-2014, 12:35 PM
|
#63
|
Member
Registered: Nov 2013
Posts: 746
Rep:
|
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.
|
|
|
05-27-2014, 03:15 PM
|
#64
|
Member
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 -current running i3
Posts: 498
Rep:
|
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.
|
|
|
05-27-2014, 05:33 PM
|
#65
|
Slackware Maintainer
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,870
|
Quote:
Originally Posted by Nh3xus
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.
|
05-28-2014, 07:39 AM
|
#66
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
Quote:
Originally Posted by Richard Cranium
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?
|
|
|
05-28-2014, 08:46 AM
|
#67
|
Senior Member
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374
Original Poster
Rep:
|
Thanks.
I have been using openSUSE and am happy with it.
Take care.
|
|
|
05-28-2014, 03:41 PM
|
#68
|
Member
Registered: Jun 2011
Distribution: Slackware
Posts: 515
|
Quote:
Originally Posted by Shadow_7
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.
|
|
|
05-31-2014, 01:02 PM
|
#69
|
Member
Registered: Dec 2013
Location: NJ / USA
Distribution: Slackware 64 -Current
Posts: 232
Rep:
|
Quote:
Originally Posted by Fixit7
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" .
|
|
|
All times are GMT -5. The time now is 01:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|