SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
jong357,in fact auto-mounting is working already provided that you enable this behavior at System -> Preference -> Removable Disks and Media. Although unmounting thereafter is not working.
Another problem now is that I could not mount removable Disks manually if I have not put entry into /etc/fstab, the error message was: can't find /dev/sdaxx in /etc/fstab or /etc/mtab. Obviously mount point in /media/xx should be used instead. Something must be missing here. Notes: I have no problem with thunar under Xfce, so I think I have the right permission set.
I understand that I could put entries into /etc/fstab, but it looks like a workaround only. Mount points should be created and selected automatically. Suppose someone bring me a USB hard disk with 5 partitions, should I add 5 entries into /etc/fstab promptly? This is not productive at all. He must be standing behind me,laughing at me when I am doing so
jong357,in fact auto-mounting is working already provided that you enable this behavior at System -> Preference -> Removable Disks and Media. Although unmounting thereafter is not working.
Ah... Thanks for the info. Didn't know you had to enable anything. I'm completely ignorant when it comes to automounting. I'm heading out of town for the night but will be back tommorrow. I'll mess around with it some when I get home.
Quote:
Another problem now is that I could not mount removable Disks manually if I have not put entry into /etc/fstab, the error message was: can't find /dev/sdaxx in /etc/fstab or /etc/mtab. Obviously mount point in /media/xx should be used instead. Something must be missing here. Notes: I have no problem with thunar under Xfce, so I think I have the right permission set.
Yes, this seems to be conflicting with the idea of automounting. As far as I understand, your not supposed to put an entry in fstab if your using HAL to automount. It should figure this stuff out on it's own.
Quote:
Suppose someone bring me a USB hard disk with 5 partitions, should I add 5 entries into /etc/fstab promptly? This is not productive at all. He must be standing behind me,laughing at me when I am doing so
Only if he thinks computers should hold your hand... But yes, this wouldn't be an ideal situation. I have one NAS drive that I mount via fstab at boot and a usb stick that has been MIA for over 6 months. That's how much I use removeable media. One of the reasons why I have no use for HAL. If I need to transfer something from one computer to the next (that's not on my network) I burn a CD/DVD/DVD-DL....
I'll see if I can't find that USB stick or buy a new one just to see what it's supposed to be like in the 21st century...
Thanks again for the info. You know more about this than I do.
Thanks, yup I had the suspicion that order was important that's why I wanted to hang on a bit before random reinstallation of packages using upgradepkg. That for loop fits the bill perfectly cheers.
On another note I have decided to build one or two other Gnome packages. I had a go at Gnumeric (using checkinstall) and it worked perfectly. One particular statement from your earlier posts with regard to building Gnome packages caught my attention though, namely
Quote:
Originally Posted by jong357
Just be aware that I use --sysconfdir=/etc/gnome for anything gconf related. You'll have to pass that switch to get things in the right place (if applicable).
My question is how does one determine whether something is "gconf related"?
Not a problem m8. Actually your solution was not altogether "wrong" since in many multiple package installation situations, it would be the most efficient method. Thanks for the help.
On another note I have decided to build one or two other Gnome packages. I had a go at Gnumeric (using checkinstall) and it worked perfectly. One particular statement from your earlier posts with regard to building Gnome packages caught my attention though, namely
My question is how does one determine whether something is "gconf related"?
Cheers
Well, you pretty much just have to build it with:
./configure --prefix=/usr
make
make install DESTDIR=~/test
and then have a look see if anything is in the wrong place. Stuff like /usr/etc or /usr/var or /etc/gconf/schemas are all the wrong place. You could just use standard switches for everything even if you don't need to I guess.
basically if you see schema files in the package then you need to use --sysconfdir=/etc/gnome... If it's just a conf file then --sysconfdir=/etc is fine. Have a look at your /etc/gnome directory. If a package has the same directories then you need to use /etc/gnome. Also don't forget about all the doinst.sh commands. Look at the control-center build script and doinst.sh. That is a good example. It runs all the gnome doinst.sh commands that are available except for the gdk-pixbuf-query-loaders one, which is rare. It runs them all because it contains all the directories and files that mandates the use of said commands.
Anything in:
/usr/share/icons - Run gtk-update-icon-cache
/usr/share/mime - Run update-mime-database
/etc/gnome/gconf/schemas - Run gconftool-2
/var/lib/scrollkeeper - Run scrollkeeper-update
/usr/share/applications - Run update-desktop-database
Looking at my script it does look to be scrollkeeper, schema, mime and .desktop related. Also if you find man pages in /usr/share/man then use --mandir=/usr/man. If you find info pages in /usr/share/info then use --infodir=/usr/info... It's all a matter of being anal and making sure it all gets to where it should be.
localstatedir and sysconfdir should be set for many gnome packages and are safe to set for anything gnome-related. Anything that won't accept either of those options will tell you so.
Is it possible to configure the Gnome file manager to display just one graphical window showing "back" and "next" buttons instead of the current behaviour where a new window pops up when navigating through subdirectories?
Oh can someone please post or email me a MANIFEST file?
Is it possible to configure the Gnome file manager to display just one graphical window showing "back" and "next" buttons instead of the current behaviour where a new window pops up when navigating through subdirectories?
Oh can someone please post or email me a MANIFEST file?
Cheers
In Nautilus, go to Edit -> Preferences -> Behavior and tick the "Always open in browser windows" box. That'll do the trick :-)
Still haven't messed with automounting stuff. Noticed firefox-2.0.0.5 is out too. Also noticed that we'll need dbus-python for hal-device-manager... I build it on DIY but not sure why I left it out on Slack. In the mean time, gnome-device-manger is the exact same thing only has nicer icons. hal-device-manager doesn't even show in the applications menu anyway. I'll jump on those in a couple days.
In the middle of a PPC DIY build right now so my free time is pretty scarce...
Thanks for the nice work. Yesterday I used your script on my laptop. It worked smoothly. For those interested: The compilation time is around 3-4 hours and after removing the cached files it takes about 600-700 MB of disk space. I didn't have much time to test it but all seems OK. On the GNOME desktop you have multiple icons for certain things, because the KDE icons show up too, but as mentioned earlier this is related to the way GNOME and KDE work.
Incidentally, has anyone built a working gdm? It felt a bit incongruous login into Gnome using kdm so I decided to attempt a gdm build. Although the build went ok, gdm did not quite work properly. To begin with, the sessions menu contained only Gnome and no, KDE, XFCE, Blackbox etc even though they were installed. I was able to log successfully into Gnome though but when I logged out and logged in again, there was a error message stating that some parts of Gnome will not work properly. Sure enough, some desktop icons changed into greyish symbols (resembling sheets of paper) and generated errors when clicked. Everything looked and worked fine again when gdm was uninstalled.
I would be quite grateful therefore if someone who has gotten gdm to work on this Gnome build to post instructions or a slackbuild.
Incidentally, I used the gdm-2.18.2.tar.bz2 source and my configure options were as follows:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.