SlackwareThis 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.
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.
The first problem I have has nothing to do with Slackware specifically(AFAIK). I would just like to know how to join wifi networks from the commandline. From what I have been reading, I would need to set the ESSID, channel, mode, key etc, all as separate iwconfig commands. Which is absurdly cumbersome.
Is there no simple way, using the given tools, to list and switch between networks? Or, is WICD the only way to do this?
The second problem, is that I have a UK keybaord. Pretty much the same as the US, just with an alt gr key and a few extra symbols. In the console, this works fine, as I chose a UK keymap during setup.
In X, not so. It still thinks it is a US keyboard. From what I have read, the way to fix this requires slight HAL configuration. Is this correct? In previous versions of slack(I last used v8), the keymap I chose at setup was honored in X.
Why is that no longer the case, and why must a cumbersome step be taken post install? (if that is the case).
Speaking of Xorg, the version of Xorg shipped with Slackware 13.0 will not
(in most cases) require an /etc/X11/xorg.conf file at all. Configuration of
input devices and such is handled by HAL, and the X server autoconfigures
everything else. You can still create an xorg.conf file if you wish, or you
can create a minimal xorg.conf with only the specific contents that you wish
to override (as an example, to use a binary-only video driver).
Due to removed drivers and other such changes, it's quite possible that your
old xorg.conf will not work correctly with this version of Xorg.
If you need to use a non-US keyboard layout, then copy the file located at
/usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to /etc/hal/fdi/policy
and edit it to suit your needs. Have a look at the contents of that file
for an example and more information. If you prefer to do this the "old" way
using /etc/X11/xorg.conf, then you can use "X -configure" or "xorgsetup" to
generate an xorg.conf, then add the following lines to the "ServerFlags"
section to disable input device hotplugging via HAL:
Option "AllowEmptyInput" "false"
Option "AutoAddDevices" "false"
Option "AutoEnableDevices" "false"
This is also relevant if you prefer to disable HAL completely for whatever
reason.
I use the above script to setup my wlan device when I need too.
You can use the 'wireless tools' to get all the information. I really don't like 'WICD'. 'WICD' causes me a lot of headaches and heart aches. So I just removed the package.
You could setup a script to sed through the information from iwconfig then pass the information or setup variables to pass but I'm not that lazy.
In X, not so. It still thinks it is a US keyboard. From what I have read, the way to fix this requires slight HAL configuration. Is this correct? In previous versions of slack(I last used v8), the keymap I chose at setup was honored in X.
Why is that no longer the case, and why must a cumbersome step be taken post install? (if that is the case).
Josh, this is Slackware!
Read the documentation to allow you to see or understand the intrinsic needs for your system;
I suggest that you read through the other 'TXT' files on your media.
Hi Onebuck,
I'm actually overly familiar with Slackware, and checked out that file before installing. My keyboard only became an issue recently, and that file was not something I thought to check.
More of a case of not using Slack for so long, and knowing it was something to do with HAL, which has been around for quite a while.
Quote:
Originally Posted by onebuck
To setup for a local keyboard you are given that choice during the install. Once you decide to setup 'X' then you must decide that configuration.
Well, my point was that the keyboard setup for X should be done automatically or as part of the install, as it possible used to be.
<snip>
Well, my point was that the keyboard setup for X should be done automatically or as part of the install, as it possible used to be.
The 'X' setup is unique and really not something that should be setup vanilla. Sure you can setup a FB but the input devices are to much of a variant. The current 'X' initialization suits me fine. Except for that damn 'ATI' but that's not their problem or fault.
I believe you happen to fall into the group of a lucky few for previous versions. I don't see the problem with setting up the local devices by the user as to identify(tickle) local devices overall would be a task that would lead to even more problems. The user should be the one to setup keyboards, mice or whatever the human interface device would be.
I cannot see the need to change the installer to suit such a simple task. Especially one that has so many variables that are dictated by the variety of devices that a user would/could change at some point. I think the end user does have some responsibility when using Slackware and it should remain that way. Just my
I for one don't want Slackware to be a hold my hand distribution as that will lead to more confusion/instability.
Hi,
The 'X' setup is unique and really not something that should be setup vanilla.
I completely disagree.
Keep in mind, I am only referring to the keymap, and not the general X setup.
This is not a hard step to do, and would only mean copying a file based on what keymap was selected.
Considering a full install is recommended, and most users of slack will probably use X, it should definitely be included. It simply makes sense. It could be triggered only if X was selected to be installed...not to difficult at all.
Quote:
I cannot see the need to change the installer to suit such a simple task. Especially one that has so many variables that are dictated by the variety of devices that a user would/could change at some point.
A keymap is kind of independent of hardware, to an extent.
There should be an expectation that your keyboard in X will function the same as it does in the console and as you set it up. It is a trivial step to do this(just copying a file), so why should it not be included?
It is no more handholding then any other part of the setup, it is just an extra step to ensure consistency.
On another note, does anyone have insight relating to my wireless question?
Keep in mind, I am only referring to the keymap, and not the general X setup.
This is not a hard step to do, and would only mean copying a file based on what keymap was selected.
Considering a full install is recommended, and most users of slack will probably use X, it should definitely be included. It simply makes sense. It could be triggered only if X was selected to be installed...not to difficult at all.
A keymap is kind of independent of hardware, to an extent.
There should be an expectation that your keyboard in X will function the same as it does in the console and as you set it up. It is a trivial step to do this(just copying a file), so why should it not be included?
It is no more handholding then any other part of the setup, it is just an extra step to ensure consistency.
On another note, does anyone have insight relating to my wireless question?
Send your recommendations to the Slackware team. I just feel the setup you are suggesting is not that difficult to setup to begin with. A user that selects 'KDE' for instance will go through the 'X' configurations for the desktop.
I think your opinion from a Slackware perspective is totally wrong. The variants that are required to setup various input/output devices are unique to the user's hardware. Those setting are left to the user to polish as they see necessary. If you want to tweak your system to do that then create another install then that's up to you. To streamline Slackware to suit oneself is OK with me but to change the whole to benefit one is not.
I think your opinion from a Slackware perspective is totally wrong. The variants that are required to setup various input/output devices are unique to the user's hardware.
From a slackware perspective, it would actually make more sense to do the extra step and copy the Xmodmap or HAL file, so that the keyboard in X would match what was setup during install.
I don't know why you mention KDE...I was talking about X, which is independant from KDE, Gnome, XFCE, etc...
I am also not sure why you keep bringing up different hardware and devices.
I am talking about a keymap. You set it up during install for the console, so why not set it up for X at the same time, which only requires copying an extra file. It would not even require an extra step.
I think it is amazing how fragmented the community now is.
From a slackware perspective, it would actually make more sense to do the extra step and copy the Xmodmap or HAL file, so that the keyboard in X would match what was setup during install.
I don't know why you mention KDE...I was talking about X, which is independant from KDE, Gnome, XFCE, etc...
I am also not sure why you keep bringing up different hardware and devices.
I am talking about a keymap. You set it up during install for the console, so why not set it up for X at the same time, which only requires copying an extra file. It would not even require an extra step.
I think it is amazing how fragmented the community now is.
As I said before contact the Slackware team.
I made the statement about 'KDE' as an example of setting the keyboard on the initial startup.
I know you setup the keymap for the console at the initial startup.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.