LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-06-2009, 03:31 AM   #1
Stragonian
Member
 
Registered: Dec 2003
Location: Indiana
Distribution: Slackware & PassionX
Posts: 61

Rep: Reputation: 23
Post Slackware 12.2 After Install


This may be a little late in coming now that Slackware 13 is out but I guess I'll post it anyway.

(The way I set up Slackware 12.2 on my Home Computer)

I. I started with a default install
A. Machine Stats
1. CPU: Intel Family: Pentium 4 Signature: Type 0, Family 15, Model 4, Stepping 1 - 3400 Mhz w/Hyperthreading
Host bridge: VIA Technologies, Inc. PT880 Host Bridge
PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
ATI Technologies Inc RV530LE [Radeon X1600/X1650 PRO]


II. Maken my Kernel finger lixen good
A. Pre-make menuconfig run through

1. I cd into the linux source directory
cd /usr/src/linux-2.6.27.7

2. Then I copy the config from boot into the source directory as the .config file
cp /boot/config-huge-smp-2.6.27.7-smp /usr/src/linux-2.6.27.7/.config

3. I also <alt+F2> login again and garther machine information
lspci -v > lspci.log && dmidecode -q > dmidecode.log
Redirecting their output to files allows me to go in and view them with vi/vim.
I often use this to get a better ideal of hardware information, while in menuconfig

4. I <Alt+F1> back & with the .config in the linux source directory, I issue
make menuconfig

B. make menuconfig
1. I start with renaming the release build to preserve the running kernel build
General Setup -->
"Local Version - Append to Kernel Release" I change from (-smp) to (-csx)
Custom System Matrix, I just thought it sounded cool.

2. Then I edify my Processor Type & Features
Processor Type & Features -->
"Processor Family" I change from (PentiumPro) to (Pentium-4/etc ...)
"Max Number of CPU's" I Change from (32) to (2)
"Time Fequency" I change from (250) to (300)

3. Next I need this to enable the newest ATI-Catalyst-Driver-9.3
Bus Options (PCI etc.) -->
[*] Message Signaled Interrupts (MSI and MSI-X)

4. I then exit saving changes

C. Time to build the kernel

1. I then Build the modules, kernel, and install the modules
make modules && make bzImage && make modules_install
Then I wait for the kernel to build ...

D. After the build

1. I start by copying the kernel, system.map, and .config into the /boot director
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.27.7-csx
cp System.map /boot/System.map-2.6.27.7-csx
cp .config /boot/config-2.6.27.7-csx
cd /boot

Note : whenever I recompile my kernel I also make_install.sh my ati module
cd /lib/modules/fglrx/build_mod
./make.sh
cd /lib/modules/fglrx
./make_install.sh


2. Next I make an initrd image
mkinitrd -c -k 2.6.27.7-csx -f ext3 -r /dev/hda2 -o /boot/initrd-2.6.27.7-csx.gz

3. Then I edit the /etc/lilo.conf file to add my new kernel to it.
image = /boot/vmlinuz-2.6.27.7-csx
initrd = /boot/initrd-2.6.27.7-csx.gz
label = 2.6.27.7-csx
root = /dev/hda2
vga = 791
read-only
I then save and exit

4. I issue a lilo
lilo

5. Then finally restart the machie and pray
reboot

III. Fixing Up the System
A. I dont't know who to listen too /* Fixing my audio */
1. I have two sound card devices installed on my computer, sometimes three if I add my webcam.
The first is my onboard sound card built into my motherboard VT8233/A/8235/8237 AC97 Audio Controller
The second is the sound card built into my Video Capture Card Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder
By default udev randomly loads the devices. So I need to assign a device order to my sound cards.

This is fixed in my /etc/modprobe.conf by adding
options snd_via82xx index=0
options cx88_alsa index=1

B. Next I need to download & install the ATI-Catalyst driver. First I select & download the drivers from ATI.
1. http://support.amd.com/us/gpudownload/Pages/index.aspx
I downloaded the ati-driver-installer-9-3-x86.x86_64.run driver

2. Then if the file is not executable I issue a chmod, then run it.
chmod +x ati-driver-installer-9-3-x86.x86_64.run
./ati-driver-installer-9-3-x86.x86_64.run

3. Then I just follow the install directions, and once it's finished installing I open up /etc/X11/xorg.conf
and edit it as follows.
-------------------------------------------------------------------------------------------------------------------------------
Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen-0" 0 0
Screen "Screen-1" 1280 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
RgbPath "/usr/share/X11/rgb"
FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/cyrillic/"
#FontPath "/usr/share/fonts/free/"
#FontPath "/usr/share/fonts/msfonts/"
#FontPath "/usr/share/fonts/global/"
EndSection

Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
#Load "speedo"
Load "glx"
Load "extmod"
Load "xtrap"
Load "record"
Load "dri"
EndSection

Section "ServerFlags"
Option "Xinerama" "on"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Primary"
Option "VendorName" "Northgate Innovations"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Monitor"
Identifier "Secondary"
Option "VendorName" "LG"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "ATI-0"
BusID "PCI:1:0:0"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "on"
Option "Capabilities" "0x00000800"
Option "Mode2" "1280X1024,1280X1024"
Option "DRI" "true"
Option "AIGLX" "true"
EndSection

Section "Device"
Identifier "ATI-1"
BusID "PCI:1:0:0"
Driver "fglrx"
Option "DRI" "true"
Option "AIGLX" "true"
Screen 1
EndSection

Section "Screen"
Identifier "Screen-0"
Device "ATI-0"
Monitor "Primary"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen-1"
Device "ATI-1"
Monitor "Secondary"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection
-------------------------------------------------------------------------------------------------------------------------------
4. I'm not sure if all the options I've added are needed or if I need more options then I've added
but this seems to get the job done, using multiple monitors with a Big Desktop.

That should take care of the ATI-Catalyst Driver install, just remember to enable MSI before compiling your kernel.
logout out of X and startx back into it.

If you can go to K -> System -> KInfoCetner -> OpenGL and see
Kernel Module flgrx, ATI-Catalyst should be loaded and running.

C. for(Compile = 1; Compile > 0; Recompile) /* Setting up for compiling, recompiling, ect ... */
1. Slackware comes with all the source loaded on the distrobution disc under the source director, I typically
use konqueror -> Tools -> Find File in the dvd/source and look for *.tar.gz;*.tar.bz2 and copy all the source
files to my hard drive. Usually I make a directory /usr/src/archive and transfer all the source files into it.
likewise, I copy all the files in the extra/source directory too.

2. Once thats done I check the /usr/local to see if any programs or files exsist in it, usually on a clean install
they don't. Then I delete the director /usr/local and recreate it as a symbolic link back to /usr.
rm -fR /usr/local
ln -s /usr /usr/local
(I started doing this a while ago becasue I could not get some programs to compile otherwise) If anyone knows
beter way to do this let me know.

3. I also update the profile file to add a colored prompt to help me know where my prompt is sometimes, as it's not easy
to find at times, when scrolling back up the konsole. This change will make a user logins green and root login red.
I also update the .bashrc file in my user director to include the same colors.

I cahnge the following to /etc/profile
-------------------
else
PS1='\u@\h:\w\$ '
fi
--------------------
to
-------------------
else
if [ "`id -u`" = "0" ]; then
PS1='[\[\033[01;31m\]\u@\h \[\033[01;34m\]\W\[\033[00m\]]# '
else
PS1='[\[\033[01;32m\]\u@\h \[\033[01;34m\]\W\[\033[00m\]]$ '
fi
# PS1='\u@\h:\w\$ '
fi
-------------------
If you've got any better sugestions, let me know.

D. I font to make it better, so here is how. /* Better looking fonts */
1. The freetype2 font engine in Slackware needs to be recomplied and reinstalled to produce better looking fonts.
First we cd into our source archive, then we uncompress the freetype bz2 file font engine.

cd /usr/src/archive
tar jxvf freetype-2.3.7.tar.bz2

2. Next we find the foption.h file and uncomment the bytecode interpreter

cd freetype-2.3.7/include/freetype/config
edit the ftoption.h file with your favorite editor and uncomment ...

/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ - to be -
#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
* Note that doing this will result in emiminating the GPL on your compile of freetype so you can't redistribute it.

3. Save and exit, then cd up the source tree to the main freetype2 directory and recompile
./configure --prefix=/usr
make
mkir freetype-2.3.7.log (I use a little sript I wrote called 'mkir' to learn how the make installs stuff.)
make clean
-------------------------------------------------
#!/bin/bash
# mkir - or - MaKe Install Record
# Very Simple Make Install Record Loging Script
# By Jerry B Nettrouer II <chromen@dnsonline.net>

# Set location of record log
LOCATION="/root/install/"

# Name of Complied File
LOG="$1"

if [ -d $LOCATION ]; then
make install > $LOCATION$LOG && cat $LOCATION$LOG
else
mkdir $LOCATION
make install > $LOCATION$LOG & cat $LOCATION$LOG
fi
# Like I said its not much but it does work
-------------------------------------------------
I usually copy mkir to /bin and do a chmod +x to it, if anyone who is really good with writing scripts and knows how to
explain things would maybe like to make a beter script that does more to teach people whats happening during the make install.
that would be completely cool - just a thought -

And I don't delete the /usr/src/archive/freetype-2.3.7 yet, because I'll be using it later. (See IV.A.2)

4. Next I install more fonts, I have collected alot of font, I don't know what the rights are on all of them,
but I made three directories with additinal fonts in /usr/share/fonts
/usr/share/fonts/free /* Free english fonts I've collected all over the place */
/usr/share/fonts/msfonts /* I have windows XP install on my sata drive and I use those fonts */
/usr/share/fonts/global /* Fonts of different languages, japanese, aribic, hebrew, russian, ect ... */

Every time I update any fonts in a directory, I issue the following commands in that directory
mkfontscale /* Creates an index of scalable font files for X */
mkfontdir /* Creates an index of X font files in a directory */

then I add enteries for these fonts in the following files.
/etc/X11/xorg.conf /* In the xorg.conf example above you see them commented out, I just uncomment them */

/etc/fonts/fonts.conf I add the following under the <!-- Font directory list --> before <dir>~/.fonts</dir>
<dir>/usr/share/fonts/free</dir>
<dir>/usr/share/fonts/msfonts</dir>
<dir>/usr/share/fonts/global</dir>

/etc/X11/fs/config I edit the catalog, default-point-size, and default-resolutions.
-------------------------------------
....
catalogue = /usr/lib/X11/fonts/misc/,
/usr/lib/X11/fonts/TTF/,
/usr/lib/X11/fonts/Type1/,
/usr/lib/X11/fonts/CID/,
/usr/lib/X11/fonts/100dpi/,
/usr/lib/X11/fonts/75dpi/,
/usr/share/fonts/free/,
/usr/share/fonts/msfonts/,
/usr/share/fonts/global/

default-point-size = 100
default-resolutions = 100,100,75,75

------------------------------------

5. Then I update with the new fonts by the following commands.
xset fp rehash /* resets the font path to current value */
setfonts -v /* For reloading console fonts*/
fc-cache -f & /* Building Font cache information */
Now when I go into kde control center I find all my new fonts.

6. I finally update Firefox with a better font layout by copying my userChrome.css, and userContent.css into
/usr/lib/firefox-3.0.4/defaults/profile/chrome this will ensure that ever user that launches firefox will get my
version of a fonts layout, and yes they can personalize it for themselves but it allows it to start with a better
look straight out of the gate. As long as I do all that other font stuff before this.

E. This is driving me crazy /* What I do to my poor little hard drives*/
1. I have three hard drives, two IDE, and one SATA, a DVD Player, and a DVD Burner w/ Lightscribe, and I want the
best performance I can get from them so I check to see if DMA is on and if not I add the follow to lines to my
/etc/rc.d/rc.modules file.
hdparm /dev/hda /* if hdparm returns with using_dma = 1 (on) then skip this */
/usr/sbin/hdparm -d 1 -A 1 -u -m 16 -a 64 /dev/hda
/usr/sbin/hdparm -d 1 -A 1 -u -m 16 -a 64 /dev/hdb

2. I make a system wide shared directory for users,ftp,samba shares ect...
[root@j3400 ~]# mkdir /mnt/shared
[root@j3400 ~]# chown ftp:users /mnt/shared
[root@j3400 ~]# chmod 464 /mnt/shared
Create a directoy in /mnt called shared and set ownership to owner=ftp group=users, but only allow group access to read & write and only
read access to the owner 'ftp' this will allow everyone on the computer to share files, and ananymous ftp users can read but not write to
the directory, and smb guests can read but not write. If you don't want anonymous ftp access then have the owner=root, and group=users,
and give group access to read & write.

Here's the thing, because the directory has group read & write access but ftp only has read access when a user copies a file into the directory
with their file and only the owner of that file has permission to write to it. The logic of the directory permissions -r--rw-r- allows only the owner in
the same group to write to that specific file. But, everyone else can only read it, so everyone can upload there own files and read & write to them,


but others can only read your files, if they want to make changes they have to make a copy of your file first for themselves and change their copy,
and you can read theirs files but not change the content, kinda like a group share where your the only one who can change the files you put in
the share. As long as the files you upload to it are set -rw-r--r-, so then with the directory permission -r--rw-r- and your file permissions
-rw-r--r-, your the only one who can edit your file but everyone can copy and share it. However if you set one of your file permissions to -rw-rw-r-
then other users can read & write to a file you uploaded. And now that it's all clear as mud to you. If you need to set up system wide share I hope
this helped.

3. I also rewrite my fstab file to be more user friend ... to me that is.
--------------------------------------------------------------------------
# My Linux /etc/fstab file maintained by Me, Jerry B Nettoruer II
# defaults = rw, suid, dev, exec, auto, nouser, and async.
# auto & noauto = mount at boot time [auto = Yes] & [noauto = no]
# exec & noexec = allow binaries to execute [exec = Yes] & [noexec = No]
# user & nouser = users access [user = access] & [nouser = denied]
# sync & async = when to write to [sync = immediate] & [async = later]
# ro = read only access & rw = read & write access
# <file system> <dir> <type> <options> <dump> <pass>
# This enter is the default for a Linux Swap Partion
/dev/hda1 swap swap defaults 0 0
#
# This is the First IDE Drive aka the Primary Filesystem
/dev/hda2 / ext3 defaults 1 1
#
# This is the Second IDE Drive mounted in my share area
/dev/hdb1 /mnt/shared ext3 auto,noexec,user,sync,rw 1 2
#
# This is the SATA drive with Windows XP on it
/dev/sda1 /mnt/windows ntfs-3g umask=022 1 2
#
# These are for my External USB drives
/dev/sdb1 /mnt/usb1 auto auto,exec,user,sync,rw 1 2
/dev/sdc1 /mnt/usb2 auto auto,exec,user,sync,rw 1 2
#
# This is for my DVD player
/dev/hdc /mnt/dvd auto noauto,exec,user,ro 0 0
#
# The common entery for a floppy drive
/dev/fd0 /mnt/floppy auto noauto,exec,user,sync,rw 0 0
#
# System enteries for pty devices & procfs
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
# End of File
--------------------------------------------------------------------------

F. We're in the midi of it now. /* Setup up midi support Thanks to !! Dugan Chen !! */
find more information at http://vcn.bc.ca/~dugan/setting-up-slackware.html
1. I really like to play the game exult (Ultima 7 Emulator) and it uses midi files, so I need to get midi working on linux too
That's where Dugan Chen came to the rescue. While looking for Linux midi information I ran across Dugan Chen's TiMidity++ SlackBuild
which bty is the only super ease midi solution I've found, it works so well, at least for me. I just download

wget http://vcn.bc.ca/~dugan/timidity/TiM...kBuild.tar.bz2
tar jxvf TiMidity++_SlackBuild.tar.bz2
cd TiMidity++_SlackBuild/
./TiMidity++.SlackBuild
installpkg /tmp/TiMidity++-2.13.2-i486-1_pho12.0.tgz

I add the following to my /etc/rc.d/rc.local file
---------------
# Start TiMidity++ Midi Sequencer
if [ -x /etc/rc.d/rc.timidity ]; then
. /etc/rc.d/rc.timidity start
fi
---------------
then I type /etc/rc.d/rc.timidity start and get the following output
Starting TiMidity++...
Requested buffer size 2048, fragment size 1024
ALSA pcm 'default' set buffer size 2048, period size 1024 bytes
TiMidity starting in ALSA server mode
Opening sequencer port: 128:0 128:1 128:2 128:3

Then Finally I open up Kde Control Center --> Sound & Multimedia --> Sound System --> Hardware -->
Select your Midi Device and choose "TiMidity Timidity port 0 - ALSA device" and click Apply

Then I have Midi - Thank You Dugan Chen, and the people who wrote TiMidity.

G. My Video Capture Card, I'll cover a little later, first I want to do some other things first.

III. Setting up my user accounts
A. It's about time I make a normal user account, so here is how I do it.
1. Creating a user
/usr/bin/useradd -m -c 'Jerry B Nettrouer II' -d /home/j2 -s '/bin/bash' -g users -G 'audio,cdrom,disk,floppy,lp,plugdev,power,scanner,slocate,video' -e '' j2
/usr/bin/chage -m -1 -M 99999 -W -1 j2
/usr/bin/passwd j2
<enter password>
<reenter password>
There you have it everthing a growing Slackware system needs to add a user.
(If you want to delete a user it's /usr/bin/userdel -r username)

3. Now that I have set up some user accounts I want them to have access to the system wide shared directory.
Create a symbolic link to the shared directory
[j2@j3400 ~]$ ln -s /mnt/shared shared (remember /mnt/shared is r--rw-r-- )
[jedi@j3400 ~]$ ln -s /mnt/shared shared (remember /mnt/shared is r--rw-r-- )
[orchid@j3400 ~]$ ln -s /mnt/shared shared (remember /mnt/shared is r--rw-r-- )
And now all the user accounts are part of the system wide share directory.

/home/j2/ (only j2)
- shared/ --> /mnt/shared (j2, jedi, orchid, ftp, guest)

/home/jedi/ (only jedi)
- shared/ --> /mnt/shared (j2, jedi, orchid, ftp, guest)

/home/orchid/ (only orchid)
- shared/ --> /mnt/shared (j2, jedi, orchid, ftp, guest)

Then when I set up ftp and samba, users login to their home directories, but anonymous ftp users and samba guests go straight to the shared directory.

4. Keeping people from executing binaries in the system share.
To make sure no one can execute a binary files from the share I use another whole drive for the system share, and set
noexec in fstab during the mounting process. Look above at the fstab file again and see that /mnt/shared is set with noexec
this will prevent users from executing binaries, on the share.

5. Because I use kfm in superuser mode alot I often get an error when tying to launch kwrite and other application
going into the .kde/Autostart directory and making a file with the following fixes that problem.
[j2@j3400 ~]$ cd .kde/Autostart
[j2@j3400 Autostart]$ touch autostart
[j2@j3400 Autostart]$ vim autostart or your favorite editor
------------------------
#!/bin/bash
xhost local:0
-----------------------
[j2@j3400 Autostart]$ chmod + autostart
[j2@j3400 Autostart]$ ./autostart (do this the first time, afterwards kde will do it)

6. Reasigning mozilla to firefox
cd /usr/lib/mozilla/plugins
cp *.* /usr/lib/firefox-3.0.4/plugins/
cd /usr/lib
rm -Rf mozilla/
ln -s firefox-3.0.4 mozilla

This will make the firefox directory and the mozilla directory as though they are the same one.

Well that's it for now, let me know if any of this helps, or if you do things a different way.
Maybe next I'll go through a list of the additional application I add to Slackware.
 
Old 10-06-2009, 12:53 PM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
My suggestion, do put those terminal outputs in /code tags please. It's a whole lot easier to read that way.
 
Old 10-07-2009, 12:48 AM   #3
Stragonian
Member
 
Registered: Dec 2003
Location: Indiana
Distribution: Slackware & PassionX
Posts: 61

Original Poster
Rep: Reputation: 23
<code> This is a test to see if the html code tag is the same here as in an html page. </code>
If this works to place the statement into a code box, when I get the time I will revise my Slackware 12.2. install to accommodate the code tags.
If this does not work I will need to know how to put things in a code tag on this site.
 
Old 10-07-2009, 12:54 AM   #4
Stragonian
Member
 
Registered: Dec 2003
Location: Indiana
Distribution: Slackware & PassionX
Posts: 61

Original Poster
Rep: Reputation: 23
Well it would appear as though the html <code> tag does not work to place this into a </code> area. H_TeXMeX_H, or anyone else who may know, if you could share with me how to place things into a code tag on this website that would be of a great help.
 
Old 10-07-2009, 07:03 AM   #5
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
I just use the # icon on the message entry screen of LQ. First highlight the bit to be tagged and then hity the # icon.
Code:
Like this
From this it appears the tags are actually [ CODE ] and [/ CODE ] rather than <code> and </code>. You should try them. It certainly makes long posts with code and stuff more readable.
 
Old 10-07-2009, 07:04 AM   #6
/dev/me
Member
 
Registered: May 2008
Distribution: Slackware 13
Posts: 116

Rep: Reputation: 20
Use square brackets instead of arrow brackets. Like this:
Code:
[ code]this is code[ /code]
But without the spaces.
 
Old 10-07-2009, 08:41 AM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,156
Blog Entries: 3

Rep: Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408
Hi,

Quote:
Originally Posted by Stragonian View Post
Code:
This may be a little late in coming now that Slackware 13 is out but I guess I'll post it anyway.

(The way I set up Slackware 12.2 on my Home Computer)

I. I started with a default install
	A. Machine Stats
		1. CPU: Intel Family: Pentium 4 Signature: Type 0, Family 15, Model 4, Stepping 1 - 3400 Mhz w/Hyperthreading
		   Host bridge: VIA Technologies, Inc. PT880 Host Bridge
		   PCI bridge: VIA Technologies, Inc.
<snip>
Just edit the post then highlight the desired text as I did then select the '#' icon for code. Yes, it does take some time, like about 30 sec.
 
Old 10-07-2009, 02:20 PM   #8
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Well, it's not HTML code tags it's BB code tags so you use [ ] instead of < >
 
Old 10-12-2009, 06:32 AM   #9
Stragonian
Member
 
Registered: Dec 2003
Location: Indiana
Distribution: Slackware & PassionX
Posts: 61

Original Poster
Rep: Reputation: 23
Thank you for your help gentlemen.
Code:
 echo "Thanks";
 
  


Reply

Tags
slackware12


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 can I install a slackware-current kernel to slackware 11? bijit1709 Slackware 11 06-13-2007 03:24 PM
Slackware 10.2 install - SCSI RAID OK but install can not see IDE disks ?? gepas Slackware 3 02-08-2006 03:29 PM


All times are GMT -5. The time now is 06:43 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration