01-19-2009
After getting gnome2 by pkg_add -r or through ports, all you have to do to enable it is add the line:
gnome_enable="YES"
to /etc/rc.conf.
Your hostname issue can be resolved by adding your machine's name to /etc/rc.conf:
hostname="your machine's name"
and to /etc/hosts by adding your machine's name to the local host line, such as:
::1 yourmachine yourmachine.local locallhost localhost.my.domain
127.0.0.1 yourmachine yourmachine.local localhost localhost.my.domain
You can also set up gnome to start only for specific users, in case some users might wish to use other windows managers, by creating the file ~/.xinitrc in the user's home directory and adding the line
start gnome-session
Then the user types "startx" (or is it "xstart"?) at login to start the gnome session.
I think that will do what you need. I think you can also go back to the FreeBSD installer by typing the command "sysinstall" and use the options there for setting up your Internet connections. The wizard asks you to set your machine's name and automatically sets up the hostname and /etc/hosts file. Maybe that would do it.
Tony
8 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
I was finally able to get FreeBSD working with X-windows and KDE. I installed Gnome also. However am not given the chance to run Gnome when I type: startx at the command line. KDE seems to be default
How can I run Gnome too? (1 Reply)
Discussion started by: lancest
1 Replies
2. UNIX for Dummies Questions & Answers
Hey all :)
I finally got around to installing FreeBSD 4.4, which considering it's my first attempt with *nix, didn't go too badly. I've managed to configure X and everything else, but I've got a bit of a problem, lol.
I installed KDE and GNOME. I had a rough idea as to what they were, but I... (5 Replies)
Discussion started by: hellz
5 Replies
3. UNIX for Dummies Questions & Answers
Hi guys,
I still have "microsoft windows" eyes so this unix freebsd stuff still looks very alien to me.
Yesterday I managed to install freebsd 5.1 on my dell notebook. And today I got Gnome 2.2 working. I have this problem I can only login to Gnome with my normal user account, and not with... (1 Reply)
Discussion started by: Dalma
1 Replies
4. UNIX Desktop Questions & Answers
ps. i posted this first on UNIX for Dummies Questions & Answers , Sorry about the double post
Hi guys,
I still have "microsoft windows" eyes so this unix freebsd stuff still looks very alien to me.
Yesterday I managed to install freebsd 5.1 on my dell notebook. And today I got Gnome 2.2... (2 Replies)
Discussion started by: Dalma
2 Replies
5. BSD
Recently, i have installed FreeBSD 5.3 on my computer. I then proceeded to install the latest version of Gnome. I went to the FreeBSD handbook and looked up how to set Gnome as my default window manager, and for some reason it did not work. I was wondering what exactly the command is to do set... (4 Replies)
Discussion started by: jgmyshko
4 Replies
6. BSD
at root command line
# pkg_add -r gnome2
This will download the latest GNOME 2.22 packages from the FreeBSD FTP site, and proceed to install them on your system.
Up-to-date GNOME packages for i386 and amd64 for all supported versions of FreeBSD are also available from the GNOME Tinderbox.... (0 Replies)
Discussion started by: very9music
0 Replies
7. BSD
I have a fresh 64-bits install of FreeBSD 8.1 on a machine, but having issues with getting gnome to work.
I have followed the guidelines on FreeBSD GNOME Project: GNOME 2.32 FAQ
In summary that is:
pkg_add -r gnome2
Add gnome_enable="YES" to /etc/rc.conf
After a reboot and logging in, there... (8 Replies)
Discussion started by: figaro
8 Replies
8. Shell Programming and Scripting
Hi
I'm looking for scripts to backup & restore Gnome Desktop and all settings in Gnome. (0 Replies)
Discussion started by: ccc
0 Replies
Gnome(3) User Contributed Perl Documentation Gnome(3)
NAME
Gnome - Perl module for the Gnome libraries
SYNOPSIS
use Gnome;
Gnome->init('myapp');
my $app = new Gnome::App("myapp", "myapp window title");
$app->create_menus({type => 'subtree', label => '_File',
subtree => [
['item', '_Quit', undef, sub {exit}, 'stock', 'Quit'],
]});
my $canvas = new Gnome::Canvas;
$canvas->set_scroll_region(0, 0, 300, 300);
$canvas->set_usize(300, 300);
$canvas->root->new($canvas->root, 'Rect',
x1 => 10, y1 => 10, x2 => 150, y2 => 250,
fill_color => '#0f0ef2', outline_color => 'black');
$app->set_contents($canvas);
$app->show_all;
Gtk->main;
DESCRIPTION
The Gtk module allows Perl access to the widgets and other facilities in the Gnome libraries. You can find more information about Gnome on
http://www.gnome.org. The Perl binding tries to follow the C interface as much as possible, providing at the same time a fully object ori-
ented interface and Perl-style calling conventions.
You will find the reference documentation for the Gnome module in the "Gnome::reference" manpage. More information can be found on
http://gtkperl.org.
AUTHOR
Kenneth Albanowski, Paolo Molaro
SEE ALSO
perl(1), Gtk(3pm), Gtk::reference(3pm), Gnome::reference(3pm)
perl v5.8.0 2001-06-26 Gnome(3)