Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
General questions about Gentoo
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Vortigern
Guru
Guru


Joined: 25 Nov 2005
Posts: 341
Location: Italy

PostPosted: Sat Jun 03, 2006 8:49 am    Post subject: General questions about Gentoo Reply with quote

Hi,
I whould like to know some things about Gentoo.
I should like to know:
- Which command let me close gnome desktop manager?
- Merging openoffice while gnome is running may cause problems? And which type? May I listen to music or surf the web while compiling openoffice?
- Stopping # emerge openoffice, then restart the PC and re-start the emerge can cause issues?
- Using a command icon with /sbin/poweroff as command to execute is the same as using Desktop>Close session>shut down. Are them at least safer in the same way?
- How is it called that game that improve your typewriting?
- May you suggest me some burning software, maybe with GUI, to use in my Gentoo system. (I use only Gnome or GLI)
- How may I delete object without using the trash and the command line? (I don't want them to go in the trash and then clean the trash)
- May I compile programs while an emerge or other compilation is running?
- Is it possible to use an x86 liveCD and install a 32bit Gentoo on a 64bit processor? Does all of them support the 32bit architecture?
Thanks in advance for the help!
There is no needing to answare all of these question in a single time! ;)
Back to top
View user's profile Send private message
PsychoticRetina
Guru
Guru


Joined: 18 Dec 2005
Posts: 352
Location: behind the scalpel

PostPosted: Sat Jun 03, 2006 10:15 am    Post subject: Re: General questions about Gentoo Reply with quote

Vortigern wrote:
Which command let me close gnome desktop manager?
killall gdm should do it, whether its recommended is another question.
Vortigern wrote:
Stopping # emerge openoffice, then restart the PC and re-start the emerge can cause issues?
can cause issues? probably, then again so may crossing the street; ) it should pick up the download where it left or restart the compile process from the beginning.
Vortigern wrote:
How is it called that game that improve your typewriting?
typespeed is the only one i know about.
Vortigern wrote:
May I compile programs while an emerge or other compilation is running?
yes. ive no idea whether its probable to cause any problems - personally ive never had issues. you will bring you system to a crawl, though.
Vortigern wrote:
Is it possible to use an x86 liveCD and install a 32bit Gentoo on a 64bit processor? Does all of them support the 32bit architecture?
yes, its possible. im myself on 32 bit gentoo on an amd 64. all of them what?
_________________
there are pinheads everywhere.
penguins are no exception.
Back to top
View user's profile Send private message
Vortigern
Guru
Guru


Joined: 25 Nov 2005
Posts: 341
Location: Italy

PostPosted: Sat Jun 03, 2006 10:26 am    Post subject: Reply with quote

Thanks vesselin for your answers.
For
Quote:
all of them
I was referring to all the 64bit processor, Opteron, FX, Dualcore....
Back to top
View user's profile Send private message
KiberGus
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2005
Posts: 81
Location: Moskow, Russia

PostPosted: Sat Jun 03, 2006 10:59 am    Post subject: Reply with quote

Quote:

- May you suggest me some burning software, maybe with GUI, to use in my Gentoo system. (I use only Gnome or GLI)
- How may I delete object without using the trash and the command line? (I don't want them to go in the trash and then clean the trash)
- May I compile programs while an emerge or other compilation is running?

1) k3b
2) Use shift+del combination.
3) Yes, if there is no not installed packages on which your programs depend. Ot they mayl lock each other.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54317
Location: 56N 3W

PostPosted: Sat Jun 03, 2006 11:02 am    Post subject: Reply with quote

Vortigern,

vesselin has already done a good job of answering your questions. I'll just add a few things.

I'm not sure why you would buy a 64 bit sysyem then only use half of it by doing a 32 bit install but you can if you want to.

You should not run two emerges at the same time because it wastes time.
1) If they have dependancies in common, the dependancies will be compiled twice. This is because the list of things to compile is calculated once at the start of the emerge process.
2) You may cause 'cache thrashing' where the effectiveness of your CPU cache is much reduced because its contents are changed to support one emegre, then the other.
3) There have been reports of users world files being truncated possibly by two instances of emerge trying to update then at the same time. Its not proven yet.

You may be able to improve your compile times by changing MAKEOPTS="-j2" in your make.conf to "-j4" or so.
This sets the number of compiler instances that make is permitted to run at the same time. You may find that compiles speed up as the number increases, then falls off sharply due to swapping or I/O limitaions.
Be warned that some ebuilds (e.g. OpenOffice) force "-j1" or the build fails.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Vortigern
Guru
Guru


Joined: 25 Nov 2005
Posts: 341
Location: Italy

PostPosted: Sat Jun 03, 2006 4:02 pm    Post subject: Reply with quote

Hi NeddySeagoon,
so I should not run two emerge at the same time, but it is possible to use emerge and at the same time compile another program (not by using emerge), right?
I use MAKEOPTS="-j3" thats should be good enough for one CPU, isn't it? May j4 be faster for my Athlon?
Another question:
- How may change the language of Openoffice?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54317
Location: 56N 3W

PostPosted: Sat Jun 03, 2006 4:55 pm    Post subject: Reply with quote

Vortigern,

Be aware that "Optimise" means different things to different people.
You need to test various MAKEOPTS settings for yourself.

Its safe to run an emerge and a manual compile but running the two together is likely to take more time then running them sequentially.

I don't know how you change the language of Open Office. I don't think it has an English version, I have to put up with American.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Vortigern
Guru
Guru


Joined: 25 Nov 2005
Posts: 341
Location: Italy

PostPosted: Sat Jun 03, 2006 5:23 pm    Post subject: Reply with quote

Sometimes I have to run emerge and compile other things togheter because for example I have to go to school, I just leave the pc to compile more things at the same time and when I came back home I'll find all done. I was only wondering about the risk. For Openoffice I would like to change the language in Italian, but I don't know the way!
Back to top
View user's profile Send private message
jeanfrancis
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1482
Location: Québec, Canada

PostPosted: Sat Jun 03, 2006 6:49 pm    Post subject: Reply with quote

Quote:
- How may change the language of Openoffice?


using the LINGUAS variable :)

Typing:
Code:
LINGUAS="fr" emerge openoffice


would install openoffice in French. It works with openoffice-bin too, emerge will install automatically the language pack.

Hope it helps !
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54317
Location: 56N 3W

PostPosted: Sat Jun 03, 2006 7:01 pm    Post subject: Reply with quote

eanfrancis,

Doing it that way will make the LINGUAS apply that one time only. A subsequent
Code:
emerge world
will make it revert to English. It should be added to /etc/make.conf

Its also worth pointing out that not all packages support LINGUAS, and those that do, do not support all languages.
For OpenOffice, you need 5G free in /var/tmp and 256Mb RAM to compile it. openoffice-bin is English only.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jeanfrancis
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1482
Location: Québec, Canada

PostPosted: Sat Jun 03, 2006 7:05 pm    Post subject: Reply with quote

Well, you are right for the LINGUAS thing :)


But, I just double-verified and I have a French openoffice-bin :)

Code:
[ebuild   R   ] app-office/openoffice-bin-2.0.2  +gnome +java 0 kB
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54317
Location: 56N 3W

PostPosted: Sat Jun 03, 2006 8:29 pm    Post subject: Reply with quote

jeanfrancis,

Thank you for that correction
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Vortigern
Guru
Guru


Joined: 25 Nov 2005
Posts: 341
Location: Italy

PostPosted: Sat Jun 03, 2006 11:03 pm    Post subject: Reply with quote

So, I need just to add LINGUAS="it" in my make.conf, emerge openoffice and pray that italian is supported, right? Does LINGUAS works with other programs?
Another little question:
- I've done # emerge tuxracer, but I don't know how to run it! May you help me?
Back to top
View user's profile Send private message
jeanfrancis
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1482
Location: Québec, Canada

PostPosted: Sat Jun 03, 2006 11:07 pm    Post subject: Reply with quote

As NeddySeagoon said, some languages are supported for some applications (not clear :P).

Putting LINGUAS="it" in make.conf will install "by default" all applications that support italian in italian. I cannot tell if openoffice supports it.

If you use KDE, LINGUAS="it" emerge kde-i18n will install the packages needed to have your KDE in italian.

Good luck :)
Back to top
View user's profile Send private message
Vortigern
Guru
Guru


Joined: 25 Nov 2005
Posts: 341
Location: Italy

PostPosted: Sun Jun 04, 2006 8:18 am    Post subject: Reply with quote

Thanks, I know that write LINGUAS="it" in my make.conf, will make italian the default language, if aviable for all the downloaded programs, and that's what I need :)
About the tuxracers? Any help?
Another little question:
- Any link to how to controll a user accessibility?
Back to top
View user's profile Send private message
PsychoticRetina
Guru
Guru


Joined: 18 Dec 2005
Posts: 352
Location: behind the scalpel

PostPosted: Sun Jun 04, 2006 10:22 am    Post subject: Reply with quote

Vortigern wrote:
Any link to how to controll a user accessibility?

for games? add user vortigern/whatever to the games entry in /etc/group.
_________________
there are pinheads everywhere.
penguins are no exception.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54317
Location: 56N 3W

PostPosted: Sun Jun 04, 2006 10:24 am    Post subject: Reply with quote

Vortigern,

Add yourself to the games group, log out and back in to pick up your new group membership. The
Code:
groups
command will show what groups you are in.

Now type
Code:
tuxracer
in a xterm, if its not added itself to a menu.

User accessability ?
In what way, via ssh, to see files that files exist, to see file contents.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Vortigern
Guru
Guru


Joined: 25 Nov 2005
Posts: 341
Location: Italy

PostPosted: Sun Jun 04, 2006 12:02 pm    Post subject: Reply with quote

I try to explain better. I cannot log in as user because the acces to /home/usr is denided, I cannot also lunch su, if I'm in a user console
(I can lunch # su ale, if I'm root and that works, but not the contrary). So I would like a guide or something else to set the accessibility for groups, direcroty, commands, etc. without boring you for any type of access I need.
I cannot run tuxracer also if I'm logged as root, and I've added root to the game group (I don't know if the root need so) as written in the output of the emerge.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54317
Location: 56N 3W

PostPosted: Sun Jun 04, 2006 12:15 pm    Post subject: Reply with quote

Vortigern,

To stop users logging in set the users shell to
Code:
/bin/falsa
Linux does that for many system 'users' that have no need to log in.

To make
Code:
su root
fail, ensure the user is not amamaber of the wheel group.

root has no need to be in the games group because root can do anything. If root cannot run tuxracer, you have a bigger problem than permissions. What do you get in the xterm when you type tuxracer ?

I don't know of a reference that explains all this becaise you can create your own groups and users to control access almost any way you want. Some filesystems also support Access Control Lists (ACL) so you can fine tune on a per user basis.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
PsychoticRetina
Guru
Guru


Joined: 18 Dec 2005
Posts: 352
Location: behind the scalpel

PostPosted: Sun Jun 04, 2006 12:37 pm    Post subject: Reply with quote

are you saying that after booting you cant log on as user, so you have to log in as root and then do su user?
can you do:
Code:
ls -la /home
ls -la /home/<user>|grep bash
more /etc/group|grep <user>

as for tuxracer:
Code:
echo $PATH
cd /usr/games/bin
./tuxracer     <----does this start the game?

_________________
there are pinheads everywhere.
penguins are no exception.
Back to top
View user's profile Send private message
Vortigern
Guru
Guru


Joined: 25 Nov 2005
Posts: 341
Location: Italy

PostPosted: Sun Jun 04, 2006 5:56 pm    Post subject: Reply with quote

Good news,
using LINGUAS="it" worked for openoffice, now it is in Italian. For tuxracer and other question I cannot say now 'cause I've been busy, and I'm now re-emerging tux, I'll check this night.
Thanks again for help and hung for my progress ;)
Back to top
View user's profile Send private message
Vortigern
Guru
Guru


Joined: 25 Nov 2005
Posts: 341
Location: Italy

PostPosted: Sun Jun 04, 2006 6:14 pm    Post subject: Reply with quote

I've just tried to run tuxracer, bad news :(
I've typed:
Code:
cd /usr/games/bin
./tuxracer

that worked but the game hungs on a black screen and I had to reset the PC :(
I didn't understood what do you mean vesselin with:
Code:
echo $PATH

What this does? And should I type it exactly as written?
Back to top
View user's profile Send private message
PsychoticRetina
Guru
Guru


Joined: 18 Dec 2005
Posts: 352
Location: behind the scalpel

PostPosted: Sun Jun 04, 2006 6:21 pm    Post subject: Reply with quote

yes, type it as is. it will display all directories in your socalled searchpath, ie, the places bash searches through when trying to execute a command you type. /usr/bin/games should be one of these directories. it sounds more like youre having xorg/driver issues, though. are you using nv or nvidia driver?

EDIT: right, just checked - tuxracer uses 3d acceleration. what graphics card are you using?
_________________
there are pinheads everywhere.
penguins are no exception.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54317
Location: 56N 3W

PostPosted: Sun Jun 04, 2006 6:26 pm    Post subject: Reply with quote

Vortigern,

When you run a program its searched for in a list of directories known as your PATH.
PATH is an environment varable and can be different for different uses. The command
Code:
echo $PATH
displays the current value of the PATH environment varbale.
Like everything, its case sensitive too.

To see all your environment varables type
Code:
export

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Vortigern
Guru
Guru


Joined: 25 Nov 2005
Posts: 341
Location: Italy

PostPosted: Sun Jun 04, 2006 8:33 pm    Post subject: Reply with quote

You are right, I have a nvidia, more exactly an Asus N6600GT, so it uses nv43 chip and has HSI chip bridge. Do I have to do something to let tuxracer start?
About echo $PATH it shows:
Code:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.5:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin

I think export to be usefull tool!
About the permission, how can I make the user to have access to /home/ale? And how can I add to the game grup or other group? And what will mean that the user has access to the game group, or other group?
Thanks for answering!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum