VectorLinux

Vectorbie Station => Vectorbie Questions => Topic started by: Azmandius on March 22, 2008, 07:53:07 am

Title: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 22, 2008, 07:53:07 am
Hello again,
Here i am, in Vector Linux. Installation process was quite "serious" but i managed. What really surprised me is the fact that after login to Linux i am steering for one hour at the monitor and can't manage to accomplish some most simple tasks. I had no idea i could be that dumb about using Linux.
So here are those view very basic tasks that i got no idea how to accomplish:
1. Browse second partition that has all my files on it, and the second HD (those are probably still NTFS file system)
2. Mount my DVD ROM and Floppy Drive to be able to use'em
3 Simply access some computer on local network or some shared folder on local network, also share a folder on my machine so other people could access files in it (some machines are still windows xp there)
4. Change partition for "my docs" folder where user files will be stored
5. Add more languages so i could type for example in Russian
6. Lock station when going for 10 min. to have a cup of coffee.
Forgive my dumbness, probably i am too attached to the way all these things are done in Windows, and i desperately need help with these tasks.
Thanks a lot, and have a good weekend!
Title: Re: Some really basic HowTos help to a real dummy...
Post by: nightflier on March 22, 2008, 01:45:23 pm
-- I moved this post from the HOWTO section which is not intended for questions. --

Any time you move to a new operating system, there will be a learning curve. Don't worry, it will come to you.  :)

I assume you installed VL 5.9 Gold.

1. Did you select a mount point for your NTFS partition during the install? If not, no problem, it's easy to do using vasm.
2. Have you tried the little drive icon on the lower panel, right side?
3. Look for vlsmbmnt on the start menu
4. Another job for vasm, but we need more information to steer you in the right direction
5 and 6.. I'll let someone else get those.

Congratulations on taking a big step, hope you stick with it.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: caitlyn on March 22, 2008, 07:14:23 pm
5.  To enable the X Cyrillic fonts please install a package called fontfix from the testing repository.  It fixes a known bug with fonts being installed but disabled.  To enable typing in Russian I have to ask a few questions:

--Do you have a Russian keyboard?  Is that what you setup Vector Linux to use when you installed?
--Are you using Xfce as your desktop?  If not, what are you using?

6.  Install and configure the xscreensaver package.  It's in the repository.

HTH

Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 23, 2008, 07:37:15 am
I assume you installed VL 5.9 Gold.

1. Did you select a mount point for your NTFS partition during the install? If not, no problem, it's easy to do using vasm.
I guess i did not, not sure though, so i am quite interested in learning to use vasm tool.

2. Have you tried the little drive icon on the lower panel, right side?
Yes, i did, and i can see there my DVD and Floppy drives disabled. Clicking on them doesn't enable them though.

3. Look for vlsmbmnt on the start menu
Already got handy with that tool. Thanks.

4. Another job for vasm, but we need more information to steer you in the right direction
I am going to keep Linux only files on partition its installed, and keep all user data on second partition, or perhaps second HD.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 23, 2008, 07:42:46 am
5.  To enable the X Cyrillic fonts please install a package called fontfix from the testing repository.  It fixes a known bug with fonts being installed but disabled.  To enable typing in Russian I have to ask a few questions:

--Do you have a Russian keyboard?  Is that what you setup Vector Linux to use when you installed?
--Are you using Xfce as your desktop?  If not, what are you using?
Yes i do have Russian keys, but when i set Linux i did not want it to think of my keyboard as Russian, so i picked US layout, cause i am typing a lot in English.
So far i am using default Xfce, but thinking to use OO very soon.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 23, 2008, 07:44:48 am
One more funny issue,
I have successfully installed latest Skype package from online repository, but can't really see Skype appeared in apps list. So i got no clue where Skype is installed so i could us it.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 23, 2008, 07:47:27 am
-- I moved this post from the HOWTO section which is not intended for questions. --
I assume its better to move this entire thread to Migrating to VectorLinux forum.
That's what i am doing now, migrating from Windows to Linux, right :)
Title: Re: Some really basic HowTos help to a real dummy...
Post by: caitlyn on March 23, 2008, 09:57:52 am
One more funny issue,
I have successfully installed latest Skype package from online repository, but can't really see Skype appeared in apps list. So i got no clue where Skype is installed so i could us it.

To find out you need to know what the executable for Skype is called.  If it's skype, for example, and if it installs in the existing path on your system the command:

Quote
whereis skype

at the command line would tell you where it is.  Of course, I'm making assumptions about the name and install location that might well be wrong.  I don't use Skype.  Another place to look is under /opt.  A lot of third paryt commercial packages install into directories under /opt.  If it's there you probably will need to add it's location to your PATH in .bashrc to be able to execute it at the command line.

Skype also does not have a .desktop file in /usr/share/applications.  Desktop files in that directory determine what goes into the Xfce menu.  You can create one by copying the .desktop file a similar application (another communications program) and editing it appropriately.

I realize that editing text configuration files may be a bit much for someone newly migrating from WIndows.  The fault lies with the Skype for Linux developers as the same files are used by GNOME and fbpanel and similar files (different location) are used for KDE.  A lot of proprietary apps ported from WIndows to Linux are done in a way that reveals a rather surprising lack of knowledge about Linux.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: caitlyn on March 23, 2008, 10:15:33 am
5.  To enable the X Cyrillic fonts please install a package called fontfix from the testing repository.  It fixes a known bug with fonts being installed but disabled.  To enable typing in Russian I have to ask a few questions:

--Do you have a Russian keyboard?  Is that what you setup Vector Linux to use when you installed?
--Are you using Xfce as your desktop?  If not, what are you using?
Yes i do have Russian keys, but when i set Linux i did not want it to think of my keyboard as Russian, so i picked US layout, cause i am typing a lot in English.
So far i am using default Xfce, but thinking to use OO very soon.

Xfce is a desktop environment and OO is an office application.  You're confusing very different things.  You can use OO under any Linux desktop environment you like (Xfce, GNOME, KDE, etc...)

OK, this is one of the places where Vector Linux is MUCH less newcomer friendly than major distrinbutions.  There is no configuration tool within the GUI to change the available keyboard layouts in X.  You need to, as root, edit your /etc/X11/xorg.conf file.  Make sure you make a copy before you do this as if this file gets messed up you won't have a GUI at all.

There is a keyboard section in that file.  It starts like this:

Quote
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
   Identifier   "Keyboard1"

What follows controls how your keyboard is treated under X.  I have an Israeli keyboard that I want to be able to use with both a US English (en_US) and Israeli Hebrew (il) layout.  I need to specify the layouts available separated by a comma.  You will need to determine what the correct layout code for your Russian keyboard is and add the right code into that line in the file the way I added il to mine.  My line looks like this:

Quote
   Option     "XkbLayout"     "en_US,il"

I honestly don't know how many styles of Russian keyboard there are or what the codes are, sorry.  Don't assume "ru" will work.  I have a Toshiba Libretto with a Japanese/English keyboard and the correct code for it is jp106. 

Once you have that done you'll need to restart X.  If you boot directly into the GUI the easiest way to do this is to restart your computer.  Then log in and add the keyboard switcher to your Xfce panel.  You do this by right clicking on the Xfce panel (on the bottom of your screen by default), clicking "Add New Item" in the popup menu, and then choosing "Keyboard Layout Switcher".  Once you have that installed you'll be able to switch back and forth between the US and Russian keyboard layouts with a single mouse click.

I know this may seem complex but with Vector Linux (and most Slackware derivatives) you have to learn to get under the hood and manually configure things if you want to do anything really non-standard.  This is why I still don't recommend Vector to newcomers to Linux.  I may take some heat for saying that but I do Linux for a living and it's how I really see things.

Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 24, 2008, 01:03:26 am
5.  To enable the X Cyrillic fonts please install a package called fontfix from the testing repository.  It fixes a known bug with fonts being installed but disabled.
I have searched Gslapt but couldn't find fontfix in packages list.

6.  Install and configure the xscreensaver package.  It's in the repository.

HTH


Well, its actually already installed, but i can't really find information on how to lock station by using a key combination. If you know in windows its windows logo+L key. Is there such in Linux?
Thanks.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 24, 2008, 01:26:33 am
One more funny issue,
I have successfully installed latest Skype package from online repository, but can't really see Skype appeared in apps list. So i got no clue where Skype is installed so i could us it.
To find out you need to know what the executable for Skype is called.  If it's skype, for example, and if it installs in the existing path on your system the command:

Quote
whereis skype

at the command line would tell you where it is.  Of course, I'm making assumptions about the name and install location that might well be wrong.  I don't use Skype.  Another place to look is under /opt.  A lot of third paryt commercial packages install into directories under /opt.  If it's there you probably will need to add it's location to your PATH in .bashrc to be able to execute it at the command line.

Skype also does not have a .desktop file in /usr/share/applications.  Desktop files in that directory determine what goes into the Xfce menu.  You can create one by copying the .desktop file a similar application (another communications program) and editing it appropriately.

I realize that editing text configuration files may be a bit much for someone newly migrating from WIndows.  The fault lies with the Skype for Linux developers as the same files are used by GNOME and fbpanel and similar files (different location) are used for KDE.  A lot of proprietary apps ported from WIndows to Linux are done in a way that reveals a rather surprising lack of knowledge about Linux.
I did and looks like skype is... everywhere... :)
reception:$ whereis skype
skype: /usr/bin/skype /usr/X11R6/bin/skype /usr/bin/X11/skype /usr/X11/bin/skype /usr/share/skype

So. after all i can't really use skype.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 24, 2008, 02:03:50 am
--Are you using Xfce as your desktop?  If not, what are you using?
Sorry, now i got what i am confusng here.
Yes, i use Xfce gui.

You need to, as root, edit your /etc/X11/xorg.conf file.  Make sure you make a copy before you do this as if this file gets messed up you won't have a GUI at all.

There is a keyboard section in that file.  It starts like this:

Quote
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
   Identifier   "Keyboard1"
I have added language switch option to panel, and of course there is only English language.
I have also checked xorg.conf file, and it doesn't have content you talk about. Some of it is available in xorg.conf-vesa though.

So, now i got no idea how to make my Linux type in Russian and Romanian. That's two languages which are a must for this workspace.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: nightflier on March 24, 2008, 04:58:23 am
This is one area where using KDE makes life much easier. It has a built-in keyboard switcher with hotkeys. You can configure your screen saver by right-clicking on the desktop. I installed Skype with gslapt, it showed up in the menu and works fine. If you have a P4 class computer, VL SOHO is a great choice.

Try opening a terminal and type skype then hit enter.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 24, 2008, 08:04:40 am
This is one area where using KDE makes life much easier. It has a built-in keyboard switcher with hotkeys. You can configure your screen saver by right-clicking on the desktop. I installed Skype with gslapt, it showed up in the menu and works fine. If you have a P4 class computer, VL SOHO is a great choice.

Try opening a terminal and type skype then hit enter.
Unfortunately i am on slow machine so can't use performance requiring solutions.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 24, 2008, 08:47:30 am
I guess i took it too fast and overloaded with questions.
That's why so far none of questions is solved, and office users yet can't use their machine for anything beside browsing the internet.
I think i will try again with one question at time.

Here is the first question:
I have second hdd which is on ntfs fs. Also i have cd rom, dvd rom and floppy drives.
How can i make sure all these devices automatically mount during system start?
I would like to create icons on desktop for these devices, to browse them when i need.
Would anyone help me "bring" second hdd and optical drives to desktop?
I mean, i don't even know how to access the hdd to have my hand on all my data important for continuing my job.
Thank you.

Thanks God, this question was just solved in chat room.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: caitlyn on March 24, 2008, 10:00:03 am

I have added language switch option to panel, and of course there is only English language.
I have also checked xorg.conf file, and it doesn't have content you talk about. Some of it is available in xorg.conf-vesa though.

So, now i got no idea how to make my Linux type in Russian and Romanian. That's two languages which are a must for this workspace.

That section is in your xorg.conf section.  Your keyboard wouldn't work at all without it.  Please check again.  Since your system doesn't have the horsepower for KDE you really only have two choices:

1>  Learn how to read and edit configuration files -- a fairly steep learning curve here -or0-
2>  Choose a Linux distribution that has easy to use internationalization and localization.  This is still a major weakness for Vector Linux.

My advice (which people will hate me for giving) is that Vector Linux is the wrong distribution for you.  Xubuntu would be much easier.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: caitlyn on March 24, 2008, 10:12:57 am
5.  To enable the X Cyrillic fonts please install a package called fontfix from the testing repository.  It fixes a known bug with fonts being installed but disabled.
I have searched Gslapt but couldn't find fontfix in packages list.

You need to enable the testing repository to find it.   In gslapt you need to click on the Edit menu, choose Preferences, click on the Sources tab.   Testing is the fifth source down from the top.  Check the box for that one and then click on the Update icon in gslapt.  You'll be able to find it then.

Once the install is done go back into the Sources list and disable testing again.  The last thing you ever want to do is a system upgrade with testing enabled.

Install and configure the xscreensaver package.  It's in the repository.
Well, its actually already installed, but i can't really find information on how to lock station by using a key combination. If you know in windows its windows logo+L key. Is there such in Linux?
Thanks.

Yes and no.  There is no such preconfigured key combination as xscreensaver isn't an integrated part of Linux but rather an optional package.  You can configure a key combination in Xfce to act that way using the xlock command.  You can read up on how xlock works first by using this command in a terminal window at the command line:

Code: [Select]
man xlock
Typing in xlock (with no options) at a command prompt will lock your terminal immediately (same as logo+L in Windows) until you enter a password.

To automate this (i.e.: lock up after 5 or 10 minutes) run (from a terminal window):

Code: [Select]
xscreensaver-demo &
That will bring up a GUI window to configure your screensaver.  That program should be in the Vector Linux menu but it's not so you do have to start it from the command line.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: caitlyn on March 24, 2008, 10:17:15 am
I did and looks like skype is... everywhere... :)
reception:$ whereis skype
skype: /usr/bin/skype /usr/X11R6/bin/skype /usr/bin/X11/skype /usr/X11/bin/skype /usr/share/skype

So. after all i can't really use skype.

Oh yes you can!  What the Skype developers did was place symbolic links to multiple places to make sure that Skype would be in your path no matter how you had Linux configured.  From a terminal window (command line) just type in:

Code: [Select]
skype &
and it will run.  That's it!

To add it to the Vector Linux menu in Xfce you still need to create a /usr/share/applications/skype.desktop file like I described before. 
Title: Re: Some really basic HowTos help to a real dummy...
Post by: caitlyn on March 24, 2008, 10:37:17 am

Here is the first question:
I have second hdd which is on ntfs fs. Also i have cd rom, dvd rom and floppy drives.

For the removable media (CD, DVD, floppy) it's done automatically by HAL or VL-Hot.  If you insert a CD or DVD an icon will appear on your desktop automatically.  For the floppy just insert a disk and click on the icon on your desktop as well. For the NTFS drive all you need to do is click on the icon for a hard drive on the panel (bottom right on your screen) which will pop up a list of available drives.  Click on the drive you want (something like /dev/hdb or /dev/sdb) and it will mount and a Thunar (file manager) window will open showing the contents of the drive.

Quote
How can i make sure all these devices automatically mount during system start?

You woudn't want to do that for removable media (CD, DVD, floppy).  Let the system handle that automatically.

If you want the NTFS drive mounted every time you boot the system, you will have to add the word "auto" to the settings in the /etc/fstab file for that drive.  Sorry, this is another item Vector Linux doesn't handle in any of the GUI configuration tools.  (Yes, tools in some other distributions do handle this.)  To learn how to edit the /etc/fstab file and how that file works you can open a terminal window and type:

Code: [Select]
man fstab
Quote
I would like to create icons on desktop for these devices, to browse them when i need.
Would anyone help me "bring" second hdd and optical drives to desktop?
I mean, i don't even know how to access the hdd to have my hand on all my data important for continuing my job.

Optical drives are removable media and they should be handled exactly the same way as a CD or DVD-ROM drive.  Insert the media and an icon should pop up on your desktop.  You really shouldn't have to do anything more.

If you permanently mount the NTFS drive you can access the data from Thunar.  To create an icon for each drive is easy in GNOME or KDE.  In Xfce you still need to go to the command line AFAIK and create a .desktop file in the Desktop directory.  Again, you can copy one that's there and alter the contents.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 25, 2008, 01:59:01 am
That section is in your xorg.conf section.  Your keyboard wouldn't work at all without it.  Please check again.
My apologies, it was there. Yesterday i was a bit tired... :-\
I have configured it and now i have 3 languages. Fellows from chat room helped me so much. Guided me a lot.

Choose a Linux distribution that has easy to use internationalization and localization.  This is still a major weakness for Vector Linux.

My advice (which people will hate me for giving) is that Vector Linux is the wrong distribution for you.  Xubuntu would be much easier.
You know i just received same kind of advice yesterday and in 2 hours Xuuntu was up and running on my machine, while Vector was down and deleted.
I started looking for easier solutions in Xubuntu for those tasks i had in Vector.
My opinion is Xubuntu is not more friendly than Vector, it my newbie experience.
And besides, Xubuntu gave me even more surprises than Vector. For example Firefox just did not want to install flash and java plugins, giving me the choice to install them manually.
In Vector i have 3 browsers, with spell checking, flash and java working nicely.
I also love Vector for its faster performance and pleasant face.
Actually if there ware no those guys in chat room I'd leave Vector. They gave me new hope. ;D
There are much more pros for Vector against Xubuntu, but its not Vector vs. Xubuntu thread. ;D
I think i will stick to Vector until i will become expert in Linux distro installation and configuration.
Thanks.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 25, 2008, 02:20:12 am
To create an icon for each drive is easy in GNOME or KDE.  In Xfce you still need to go to the command line AFAIK and create a .desktop file in the Desktop directory.  Again, you can copy one that's there and alter the contents.
Thank you caitlyn,
Luckily in the chat room i got a step by step guide from nice fellows on enabling and mounting hdd and optical media drives.
Only one thing i am still trying to digest, its creating shortcuts on desktop that lead to CD/DVD and Floppy drives. Shortcuts are not for me, its for those even dummies users in my office.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 25, 2008, 04:30:55 am
Typing in xlock (with no options) at a command prompt will lock your terminal immediately (same as logo+L in Windows) until you enter a password.

To automate this (i.e.: lock up after 5 or 10 minutes) run (from a terminal window):

Code: [Select]
xscreensaver-demo &
Typing xlock worked fine, but i would like not to automate this after 5 or 10 min. but to have a key combination for manual station locking.
Thanks.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: boneygamba on March 25, 2008, 05:26:12 am
but i would like not to automate this after 5 or 10 min. but to have a key combination for manual station locking.
Thanks.
I would like to contribute if i may.
I believe that a ctrl-alt-delete key combination will bring up the xscreensaver immediately in xfce.  It does on my computer which is running VL 5.9.

Regards

Paul
Title: Re: Some really basic HowTos help to a real dummy...
Post by: caitlyn on March 25, 2008, 11:34:23 am
Paul:  That isn't automatic in Xfce.  You have to program the keyboard combination.

Azmandius:  I'm glad you got help to get localization with Vector Linux working and you were able to stick with the distro.  What I was saying was that Xubuntu has nice GUI tools for that and you made it seem that Russian/Romanian support was the most important issue for you.  I personally prefer Vector to Xubuntu for all the reasons you mentioned and more.  I just don't think it's as user friendly as it needs to be just yet.  Hopefully in 6.0 it will be.

Desktop icons for CD and DVD-ROM drives should appear automatically whenever you insert media.  There is no icon when the drive is empty.  You really shouldn't have to do anything at all to get those icons to appear.  Is that not working for you?

To set up a key combination for xlock go into the Vector Linux menu and select Settings->Keyboard Preferences.  You will see a list of keyboard sequences that are already programmed.  All you have to do is add one for xlock.  It can even bey logo+L if you want.  :)

I hope this helps.



Title: Re: Some really basic HowTos help to a real dummy...
Post by: metvas on March 25, 2008, 11:41:57 am
Quote
Luckily in the chat room i got a step by step guide from nice fellows on enabling and mounting hdd and optical media drives

If you saved that in any fashion, perhaps you could add here as a "Howto", One on one instruction is hard to come by on any forum !
No worries if you don't.

Thxs
regards
metvas
Title: Re: Some really basic HowTos help to a real dummy...
Post by: GrannyGeek on March 25, 2008, 06:57:38 pm
Paul:  That isn't automatic in Xfce.  You have to program the keyboard combination.

Not so. Control-Alt-Delete is preconfigured in XFce to bring up the screensaver and lock the desktop. You have to give your user password in order to get back to the desktop. Try it. You'll see what I mean, unless you've changed the default shortcuts. It can be changed if someone prefers.
--GrannyGeek
Title: Re: Some really basic HowTos help to a real dummy...
Post by: GrannyGeek on March 25, 2008, 07:16:34 pm
If you want the NTFS drive mounted every time you boot the system, you will have to add the word "auto" to the settings in the /etc/fstab file for that drive.  Sorry, this is another item Vector Linux doesn't handle in any of the GUI configuration tools.  (Yes, tools in some other distributions do handle this.)

VectorLinux *does* provide a GUI tool for automounting of NTFS drives. It's VASM (or VASMCC), FileSystem, Mount Partitions, Add. The tool should give you a line something like this in /etc/fstab:
Code: [Select]
/dev/hda2   /mnt/win-c  ntfs-3g  defaults,allow_other,umask=0,users,nls=utf8,noexec 0 0
This will automatically mount your NTFS drive. No need to add "auto." It won't give you a desktop icon, but you can work with the drive through the File System icon that's already installed on the desktop. If you want easy access to Windows C, for example, or even a specific directory in Windows C, you can drag an icon from the large pane in Thunar to the left column in Shortcuts view.

A drive added through VASM/VASMCC will mount automatically. If you *DON'T* want this to happen (you don't want the drive automounted), add
noauto
to the line in /etc/fstab. Mine looks like this:
Code: [Select]
/dev/hda2   /mnt/win-c  ntfs-3g  defaults,allow_other,umask=0,users,nls=utf8,noexec,noauto 0 0 
--GrannyGeek
Title: Re: Some really basic HowTos help to a real dummy...
Post by: caitlyn on March 25, 2008, 09:48:05 pm
Paul:  That isn't automatic in Xfce.  You have to program the keyboard combination.

Not so. Control-Alt-Delete is preconfigured in XFce to bring up the screensaver and lock the desktop. You have to give your user password in order to get back to the desktop. Try it. You'll see what I mean, unless you've changed the default shortcuts. It can be changed if someone prefers.
--GrannyGeek

GrannyGeek:  It doesn't work on my systems and I haven't changed the default keymappings.  I checked the list and you're right about one thing:  it's there.  It just doesn't work.  If I change it from xflock4 to xlock only *then* does it work on my system.  Obviously YMMV.

On the ability to add NTFS mounts in VASM:  Thanks.  You've taught me something that I probably wouldn't have found for myself since I don't use WIndows.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 26, 2008, 01:16:13 am
but i would like not to automate this after 5 or 10 min. but to have a key combination for manual station locking.
Thanks.
I would like to contribute if i may.
I believe that a ctrl-alt-delete key combination will bring up the xscreensaver immediately in xfce.  It does on my computer which is running VL 5.9.

Regards

Paul
Thank you.
It worked. That's exactly what i was looking for.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 26, 2008, 01:31:34 am
I just don't think it's as user friendly as it needs to be just yet.  Hopefully in 6.0 it will be.
Well, that i have to agree with. I lost many nerves configuring Linux for the last 3 days.
Anyway, i feel like i have to stick with it. I know, it will come to me, slowly but will.

Desktop icons for CD and DVD-ROM drives should appear automatically whenever you insert media.  There is no icon when the drive is empty.  You really shouldn't have to do anything at all to get those icons to appear.  Is that not working for you?
Not really.
When i insert media in ROM i have to click on device on task bar to mount it and it opens OK, but there definitely no icon pointing to that CD/DVD ROM appear on desktop. Desktop stay unchanged.

To set up a key combination for xlock go into the Vector Linux menu and select Settings->Keyboard Preferences.  You will see a list of keyboard sequences that are already programmed.  All you have to do is add one for xlock.  It can even bey logo+L if you want.  :)

I hope this helps.
Useful one. Thanks. Will try that.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 26, 2008, 01:34:38 am
Quote
Luckily in the chat room i got a step by step guide from nice fellows on enabling and mounting hdd and optical media drives

If you saved that in any fashion, perhaps you could add here as a "Howto", One on one instruction is hard to come by on any forum !
No worries if you don't.

Thxs
regards
metvas
Oh, i feel so bad i did not do that.
I would need that for other 4 machines in the office.
I guess i was to concentrated on solving the issue...
Next time i surely will.
I guess creating a such step by step guide for Linux configuration would be something that would attract many people to install THIS distro and not the other :)
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 26, 2008, 02:22:55 am
Paul:  That isn't automatic in Xfce.  You have to program the keyboard combination.

Not so. Control-Alt-Delete is preconfigured in XFce to bring up the screensaver and lock the desktop. You

have to give your user password in order to get back to the desktop. Try it. You'll see what I mean, unless

you've changed the default shortcuts. It can be changed if someone prefers.
--GrannyGeek
Yep, it works the way you said. Nice, love it.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 26, 2008, 02:23:32 am
If you want the NTFS drive mounted every time you boot the system, you will have to add the word "auto"

to the settings in the /etc/fstab file for that drive.  Sorry, this is another item Vector Linux doesn't handle in

any of the GUI configuration tools.  (Yes, tools in some other distributions do handle this.)

VectorLinux *does* provide a GUI tool for automounting of NTFS drives. It's VASM (or VASMCC),

FileSystem, Mount Partitions, Add. The tool should give you a line something like this in /etc/fstab:
Code: [Select]
/dev/hda2   /mnt/win-c  ntfs-3g  defaults,allow_other,umask=0,users,nls=utf8,noexec 0 0
This will automatically mount your NTFS drive. No need to add "auto." It won't give you a desktop icon, but

you can work with the drive through the File System icon that's already installed on the desktop. If you

want easy access to Windows C, for example, or even a specific directory in Windows C, you can drag an

icon from the large pane in Thunar to the left column in Shortcuts view.

A drive added through VASM/VASMCC will mount automatically. If you *DON'T* want this to happen (you

don't want the drive automounted), add
noauto
to the line in /etc/fstab. Mine looks like this:
Code: [Select]
/dev/hda2   /mnt/win-c  ntfs-3g  defaults,allow_other,umask=0,users,nls=utf8,noexec,noauto 0

0
 
--GrannyGeek
In my case, to access second HDD after mounting it, i had to go via File System tool to folder mnt then

hdb1, as there was content of my HDD. That was the only way to access it, by navigating through those

folders.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: GrannyGeek on March 26, 2008, 06:19:09 pm
GrannyGeek:  It doesn't work on my systems and I haven't changed the default keymappings.  I checked the list and you're right about one thing:  it's there.  It just doesn't work.  If I change it from xflock4 to xlock only *then* does it work on my system.  Obviously YMMV.

Curious. But that's computers for you.<g> I haven't changed the keymappings either. Maybe somebody can explain it, but I can't. Actually, I don't use a screensaver and have been annoyed numerous times when I hit Control-Alt-Delete in a terminal while X was still running (intending to reboot) and instead the screen lock came up. I give my password and it goes away. Now that we've talked about it, I think I'll try to change the key mapping so that won't happen. Wait--I just did it.

One keyboard shortcut that doesn't work for me is Control-Escape to bring up the menu. For me, nothing happens. So I guess we both have default shortcuts that don't work.
--GrannyGeek
Title: Re: Some really basic HowTos help to a real dummy...
Post by: GrannyGeek on March 26, 2008, 06:38:31 pm
In my case, to access second HDD after mounting it, i had to go via File System tool to folder mnt then hdb1, as there was content of my HDD. That was the only way to access it, by navigating through those folders.

If I understand correctly, you would have do this the first time. But once you find it, if you're using Thunar (the XFce default file manager) you can drag a shortcut to /hdb1 into the left column under the horizontal divider line. Just navigate to the desired drive and drag and drop the icon to the left column under the divider line. Then when you use Thunar and you want quick access to that drive, just double-click on that icon in the left column and it'll open directly on that drive and you won't have to go through the folders. You can drop any directory in that shortcut column, so use it to make things easier for yourself.
--GrannyGeek
Title: Re: Some really basic HowTos help to a real dummy...
Post by: caitlyn on March 26, 2008, 08:44:19 pm
GrannyGeek:  It doesn't work on my systems and I haven't changed the default keymappings.  I checked the list and you're right about one thing:  it's there.  It just doesn't work.  If I change it from xflock4 to xlock only *then* does it work on my system.  Obviously YMMV.

Curious. But that's computers for you.<g> I haven't changed the keymappings either. Maybe somebody can explain it, but I can't. Actually, I don't use a screensaver and have been annoyed numerous times when I hit Control-Alt-Delete in a terminal while X was still running (intending to reboot) and instead the screen lock came up. I give my password and it goes away. Now that we've talked about it, I think I'll try to change the key mapping so that won't happen. Wait--I just did it.

One keyboard shortcut that doesn't work for me is Control-Escape to bring up the menu. For me, nothing happens. So I guess we both have default shortcuts that don't work.
--GrannyGeek

OK, I just tried CTRL-ESC and sure enough it works just fine on my system.  That really is strange.  I wonder if the fact that I am using an Israeli keybaord (Hebrew/English) with a us keymapping is why my results are different from yours.  Hmmm...

I do like having xscreensaver installed anywhere other than home, particularly on a desktop system.  That way is I do walk away from the system someone else can't use my session and account.

Oh well... We obviously both answer questions based on our experience.  It's interesting to learn that some behaviors in Xfce aren't consistent across all systems even though we are running the same distro, the same version of Xfce, and haven't altered the relevant settings.  I'm quite sure that isn't a good thing but I'm not at all sure how I'd file a coherent bug report with the Xfce developers to explain it in a way that would give them any hope of reproducing the issue.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: rbistolfi on March 26, 2008, 09:48:19 pm
I dont think that is a bug. Many things can change the behavior of the system, I am sure many of other people keyboard settings will not work on my system with my ~/.Xmodmap. Looks more like something like that than like a bug, but I am just guessing, I could be mistaken, happened before :P
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 27, 2008, 03:20:26 am
In my case, to access second HDD after mounting it, i had to go via File System tool to folder mnt then hdb1, as there was content of my HDD. That was the only way to access it, by navigating through those folders.

If I understand correctly, you would have do this the first time. But once you find it, if you're using Thunar (the XFce default file manager) you can drag a shortcut to /hdb1 into the left column under the horizontal divider line. Just navigate to the desired drive and drag and drop the icon to the left column under the divider line. Then when you use Thunar and you want quick access to that drive, just double-click on that icon in the left column and it'll open directly on that drive and you won't have to go through the folders. You can drop any directory in that shortcut column, so use it to make things easier for yourself.
--GrannyGeek
Done that, thanks.
Wasn't easy to find hdb folder though. I had to be told where it is to find it. :)
Title: Re: Some really basic HowTos help to a real dummy...
Post by: fuelinux on March 27, 2008, 07:03:33 am
I also need Russian layout sometimes and Georgian far often ofcourse. So, I'm going to explore this issue.
I think that's what we need as regard to keyboard layout
http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin
http://forum.xfce.org/index.php?topic=3592.0
I'll install and test it and get back to this thread.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: caitlyn on March 27, 2008, 11:07:56 am
fuelinux:  What you're looking at is already in Vector Linux.  It's the keyboard switching applet I described earlier.  The problem Azmandius ran into is described on the Xfce Goodies web page you linked:

Quote
For now the keyboard layouts cannot be configured from the plugin itself, they should be set in the XF86Config file or some other way (e.g. setxkbmap).

The problem with setxkbmap is that using it is often as hard as or harder than just editing the /etc/X11/xorg.conf file.    For example, the output of setxkbmap -print on my system looks like this:

Code: [Select]
caitlyn:$ setxkbmap -print
xkb_keymap {
        xkb_keycodes  { include "xfree86+aliases(qwerty)"       };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc+us+il:2"    };
        xkb_geometry  { include "pc(pc105)"     };
};

xkb_symbols is where my ability to switch between U.S. English and Israeli layouts is defined.  Geometry also has to be correct.  KDE has a tool to set this correctly in the GUI.  Sadly Xfce does not.  Wolvix has a tool for this that their developers added to their Control Center.  There is no equivalent for vasm or vasmCC.  It's been promised for a future release but it doesn't exist yet.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: rbistolfi on March 27, 2008, 08:35:39 pm
I also need Russian layout sometimes and Georgian far often ofcourse. So, I'm going to explore this issue.
I think that's what we need as regard to keyboard layout
http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin
http://forum.xfce.org/index.php?topic=3592.0
I'll install and test it and get back to this thread.

To set multiples kb layouts you have to edit /etc/X11/xorg.conf as root with the text editor of your choice. Find the section looking more or less like this:

Code: [Select]
Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbLayout" "es"    ## KEYBOARD_MAP!
    Option         "XkbModel" "pc105"    ## KEYBOARD_MODEL!
    Option         "Xkbvariant" ""    ## KEYBOARD_VARIANT!
EndSection

Then edit it as follows:

Code: [Select]
Section  "InputDevice"
    Identifier      "Keyboard0"
    Driver          "kbd"
    Option         "XkbLayout" "en,ru"    ## LIST ALL YOUR DESIRED LAYOUTS HERE
    Option         "XkbOptions" "grp:ctrl_shift_toggle" ##YOU CAN CHANGE YOUR SHORTCUTS HERE
    Option         "XkbModel" "pc105"    ## KEYBOARD_MODEL!
    Option         "Xkbvariant" ""    ## KEYBOARD_VARIANT!
EndSection

Save the file, close all your X apps and restart the X server with CTRL+ALT+BACKSPACE
Then you can change the layouts with ctrl+shift or the keyboard shortcut of your choice, and you can use the Xfce keyboard applet as well.

HTH 
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on March 28, 2008, 08:27:59 am
I also need Russian layout sometimes and Georgian far often of course. So, I'm going to explore this issue.
I think that's what we need as regard to keyboard layout
http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin
http://forum.xfce.org/index.php?topic=3592.0
I'll install and test it and get back to this thread.

To set multiples kb layouts you have to edit /etc/X11/xorg.conf as root with the text editor of your choice. Find the section looking more or less like this:

Code: [Select]
Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbLayout" "es"    ## KEYBOARD_MAP!
    Option         "XkbModel" "pc105"    ## KEYBOARD_MODEL!
    Option         "Xkbvariant" ""    ## KEYBOARD_VARIANT!
EndSection

Then edit it as follows:

Code: [Select]
Section  "InputDevice"
    Identifier      "Keyboard0"
    Driver          "kbd"
    Option         "XkbLayout" "en,ru"    ## LIST ALL YOUR DESIRED LAYOUTS HERE
    Option         "XkbOptions" "grp:ctrl_shift_toggle" ##YOU CAN CHANGE YOUR SHORTCUTS HERE
    Option         "XkbModel" "pc105"    ## KEYBOARD_MODEL!
    Option         "Xkbvariant" ""    ## KEYBOARD_VARIANT!
EndSection

Save the file, close all your X apps and restart the X server with CTRL+ALT+BACKSPACE
Then you can change the layouts with ctrl+shift or the keyboard shortcut of your choice, and you can use the Xfce keyboard applet as well.

HTH 
Very useful post, exactly what i was looking for.
Thank you a lot!
Title: Re: Some really basic HowTos help to a real dummy...
Post by: fuelinux on March 28, 2008, 01:41:14 pm
rbistolfi
Quote
Option         "XkbLayout" "en,ru"
Done so, but I didn't know how to switch between layouts (couldn't figure out "good-old" Win-style Shift+Alt will do the trick :D). Thanks for explaining :) I'll test it as soon as I get to my office PC

caitlyn
Quote
fuelinux:  What you're looking at is already in Vector Linux.  It's the keyboard switching applet I described earlier.

Indeed. I should have read better. My bad.
Offtopic: your articles about VL on o'reily site were "last shot" convincing me to choose Vector. Bow down and thank you :)
Title: Re: Some really basic HowTos help to a real dummy...
Post by: caitlyn on March 28, 2008, 02:35:28 pm
@fuelinux:  Thank you for your kind words.  Let's put it this way:  the distribution, the developers, and the community are what convinced me.  I just reported my experiences.  I don't deserve any credit.  The VL developers and community do.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on April 01, 2008, 09:04:45 am
Hello again,
I am moving to Linux the second machine, and here i have second NTFS partition that i need to keep NTFS and mount it on boot.
I have tried mounting it using:
Code: [Select]
defaults,allow_other,umask=0,users,nls=utf8,noexec,auto,forcebut it did not work.
Couldn't mount it.
I would like to ask for some assistance on accomplishing that.
Thank you.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: fuelinux on April 01, 2008, 09:30:10 am
Vector asks for any windows' partitions to be added at installation stage and mounts it every time it's booted. seems like you've missed this moment at setup.

Anyways, try this post http://www.linuxquestions.org/questions/linux-general-1/mount-disk-630112/ (http://www.linuxquestions.org/questions/linux-general-1/mount-disk-630112/)
I think editing your /ets/fstab file according to post would mount it on boot


or


wait for someone smarter to answer your question :D
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on April 02, 2008, 04:27:17 am
I have run into interesting situation.
Moving 5 machines office from windows to Linux.
Two machines now are vl and 3 machines windows xp sp2.
Have shared folders on Linux machines using samba server.
Now, windows machines can read/write on shared folders from Linux machines.
Linux machines while being able to read/write shared folders on windows machines, can't see or read/write on each other shared folders.
Question is, how can i make Linux machines see each others shared folders?
Title: Re: Some really basic HowTos help to a real dummy...
Post by: bigpaws on April 02, 2008, 04:39:43 am
There are a couple ways:

fuse, NFS, smb://, fish://

Bigpaws
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on April 02, 2008, 05:01:52 am
Sorry, that doesn't tell me much as a newbie. In fact it doesn't help me even a bit.
Sorry.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: bigpaws on April 02, 2008, 05:10:55 am
SMB:
http://www.linux.org/lessons/short/fish/x24.html (http://www.linux.org/lessons/short/fish/x24.html)

Fuse:
http://www.linux.com/feature/128103 (http://www.linux.com/feature/128103)

NFS:
http://nfs.sourceforge.net/nfs-howto/ (http://nfs.sourceforge.net/nfs-howto/)

Fish:
http://www.linux.org/lessons/short/fish/x24.html (http://www.linux.org/lessons/short/fish/x24.html)

Hope that clears it up.

Bigpaws
Title: Re: Some really basic HowTos help to a real dummy...
Post by: Azmandius on April 02, 2008, 05:23:05 am
Thank you for the links.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: fuelinux on April 04, 2008, 05:38:22 am
I'm unable to change keyboard layout with CTRL+SHFT.
How can I configure it?

The Keyboard switch applet works just fine though.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: rbistolfi on April 04, 2008, 01:50:26 pm
hmm, do you have something special in your .Xmodmap?, look for any of this combinations from the gentoo wiki: (http://gentoo-wiki.com/HOWTO_X11_Keyboard)

Quote
   1. grp:switch — toggle using right alt key, but only until unpressed
   2. grp:lswitch — Left Alt key switches group while pressed
   3. grp:lwin_switch — Left Win-key switches group while pressed
   4. grp:rwin_switch — Right Win-key switches group while pressed
   5. grp:win_switch — Both Win-keys switch group while pressed
   6. grp:toggle — Right Alt key changes group
   7. grp:lalt_toggle — Left Alt key changes group
   8. grp:caps_toggle — Caps Lock key changes group
   9. grp:shift_caps_toggle — Shift+CapsLock changes group
  10. grp:shift_toggle — Both Shift keys together change group
  11. grp:alts_toggle — Both Alt keys together change group
  12. grp:ctrls_toggle — Both Ctrl keys together change group
  13. grp:ctrl_shift_toggle — Control+Shift changes group
  14. grp:ctrl_alt_toggle — Alt+Control changes group
  15. grp:alt_shift_toggle — Alt+Shift changes group
  16. grp:menu_toggle — toggle using "context menu" key on Windows keyboards
  17. grp:lwin_toggle — toggle using left win key on Windows keyboards
  18. grp:rwin_toggle — toggle using right win key on Windows keyboards
  19. grp:lshift_toggle — Left Shift key changes group
  20. grp:rshift_toggle — Right Shift key changes group
  21. grp:lctrl_toggle — Left Ctrl key changes group
  22. grp:rctrl_toggle — Right Ctrl key changes group

May be adding the keyboard side like lctrl_lshift?
Ooops, my boss is comming...  :P
Title: Re: Some really basic HowTos help to a real dummy...
Post by: fuelinux on April 07, 2008, 01:29:24 am
Thank you for the link.

I've put
Code: [Select]
Option "XkbOptions" "grp:alt_shift_toggle"in Section "InputDevice" and it do switches layout, but only with right ALT+SHFT. Adding "l" to both alt and shift doesn't work. In fact it stops to switch keyboard even with right keys.
Is there any way to make it switch keyboard with left key combination?
Title: Re: Some really basic HowTos help to a real dummy...
Post by: rbistolfi on April 07, 2008, 07:54:23 am
I am pretty sure you are dealing with keyboard mapping issue. Try at the console

xmodmap -e "add Control=Control_L"

After running that command try the combination again. If it is fixed we will find a definitive fix based on that.
Title: Re: Some really basic HowTos help to a real dummy...
Post by: fuelinux on April 08, 2008, 12:32:15 am
Code: [Select]
root:# xmodmap -e "add Control=Control_L"
xmodmap:  commandline:1:  bad add modifier name 'control=control_l', not allowed
xmodmap:  1 error encountered, aborting.

some error