-
Posts
2151 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Everything posted by theYinYeti
-
The "cd /home/dude67/Programmes/ftpd-topfield-0.7.4/" line you put before ./ftpd will ensure the latter will execute in this directory. I recommend you append an ampersand at the end of your ./ftpd line (unless the -D is already there to bring ftpd to background), and you add a third line to your rc.local script: cd - which, AFTER ftpd has started, ensures the working directory returns to what it was before, in case you (or install scripts) have more lines to append to this file. Yves.
-
How can I change Gnome settings so that windows placement is intelligent, instead of putting all windows (except those that find their place themselves, eg: gimp) at the top left corner of the screen, which is most stupid, since this is precisely the place where desktop icons are, hence those are hidden! Yves. [moved from Software by spinynorman]
-
Or if it is not RAR things (I don't know this) but just a split file instead, this simple command will do: cat Def.wmv.* >Def.wmv Yves.
-
I don't know if it is of any help, but I wrote this some time ago: http://yves.gablin.club.fr/gablin.php?page...le=config_mouse Once all buttons are seen, several tools exist, that allow any mouse/kbd event to be changed into another kbd/mouse event for this or that application. Yves.
-
On the topic of not trusting the hard drives too much, I have found this program particularly usefull, as it allows not to duplicate every backup CD/DVD you burn: http://dvdisaster.sourceforge.net/ And in case things go terribly wronger, there's this one (I never tried): http://www.cgsecurity.org/wiki/TestDisk Yves.
-
Yes arctic is right. I am unfortunately a good example of such users, as I often write short answers (out of habit, or hurry), which a new Linux user would find very difficult to understand. However, I never dismiss a request for precision/detail as being trivial, stupid, boring or whatever. As arctic said, no question is stupid. There are two independant points related to this, which I wish to raise: - One problem with forums is that one can never know the knowledge level of others, and the so-called "status" is barely helpfull, and sometimes misleading. So new Linux users have to keep in mind that answers may be directed first at an average (or equal to the post's author) knowledge, and further questions on the topic help target further answers to a more adequate knowledge level. - I feel we forum members suffer from the infamous "RTFM" from the past. Sometimes, I wish I could (and sometimes I do) answer something along the lines of "RTHM" where 'H' would stand for "Helpfull" :) When I write this kind of answer, it is never a "do it yourself" answer, but rather an indication that the given resource is a good one; and I wouldn't mind giving more details if the given resource is not enough, or not "newbie-friendly" enough. I don't know if others feel this way... Well, it's said now. Yves.
-
In case it is of any help, I recently achieved a similar thing for the library's computer of my son's school. I had all installed on a 4GB hard drive, and wanted to put everything on the new 40GB. I simply formatted the new drive the same way the old one was, I mean hdb1 for hda1 and hdb5 for hda5 and so on, each of which was bigger on the new drive. Eg: The / partition would grow from 2GB to 6GB, and the /home from 1GB to 10GB and so on... as long as the partition number for each remains the same (so as not to confuse Linux on boot because of /etc/fstab, /boot/grub...). Next I booted SystemRescueCD, launched GParted, and for each partition, I did "copy" on the source partition (old drive), and "paste" on the destination partition (new drive). Then I switch drives and all booted fine. Yves.
-
Although to be fair, none could match DreamWeaver last I tried. On the other hand, if you're going to be very professional about it, wysiwyg is not the way to go. Yves.
-
Longer support for servers is what server-targeted boxed versions are for. And it costs money. If you want to do it for free, you have the option to update only each 12-18 months but I advise against this solution. Upgrade is sometimes not trivial from one version to the next and such an update is bound to skip at least one version; I recently did an upgrade from 2006 to 2007.1 and it was painfull; I wish I had gone earlier from 2006 to 2007, and then from 2007 to 2007.1. Else you can try Debian. Besides its well-deserved reputation for being stable and suitable for servers, it is also known for having much longer release cycles than Mandriva. Yves.
-
urpmi update failed because of a conflict
theYinYeti replied to AleXxiO's topic in Command Line, Kernel and Programming
I recently did a whole upgrade (--auto-select) from Mdv2006 to Mdv2007.1, and I got a lot of such errors, with dependencies going down to basesystem, and perl (upon which urpmi depends)... In such a case, you have next to no choice but to do some carefull 'rpm -e --nodeps', and be on your own. Yves. -
And beware: all this is useless if your family can boot the OS in single-user mode. Check lilo or grub manual for password settings. Yves.
-
Any non-read-only removable device can safely be removed only after it has been unmounted. And before people say "yet that's not the way it is with Windows", I'll say: yes it is. Once I removed the floppy too soon on Windows; it made no noise anymore so I though all was completed; it obviously was not: the drive spinned up again the moment I removed the floppy and it was trashed. Besides, now in Windows there's this "remove the media securely" thing (translated from French), which is just Windows way to say "unmount media before removing". So in short: unmount your media and you'll be OK. Supermount and such things in linux were made because they are convenient (especially with read-only media such as CDs) and Windows-like, but if you use it, you have to accept the risk alongside the convenience. In Windows it is the same, except you have no choice. Yves.
-
So far, I've always used this page: http://links.twibright.com/calibration.html But on another page here, those pages are linked to: http://www.imagingassociates.com.au/color/software.jspx http://www.pcbypaul.com/software/monica.html http://blog.all-pixels.com/?p=14 Yves.
-
You have to install nss_mdns on the client PC, and avahi daemon has to be running on the server PC (if I understand correctly). Next, you have to use Pete.local for the server name, instead of simply Pete. Yves.
-
how to define environment variable in a script
theYinYeti replied to a topic in Command Line, Kernel and Programming
For your commands to take effect, you have to source the script, not execute it. Here's the syntax: $ . ./script.sh The first dot can be replaced with the keyword "source". It is however a good idea to place those lines in the login scripts as you suggested. Did you try the ".bash_profile" file? This should be the appropriate file if you use bash as your login shell. Yves. -
Ooops, sorry, I didn't check. I assumed openprinting.org was a reliable site; it seems it is not that much after all. Yves.
-
You don't have to understand the script (although you can if you want) ;) Just save the script, run it with the -h parameter (help), and if you see any use to it, configure CRON or ANACRON to execute it when you want (Mandriva has a GUI for cron in the MCC). I wanted to upload the script, but it seems I'm "not permitted to upload this type of file"... Yves.
-
Just create the icon (Application launcher) and enter the script path as the path of the application to launch. If you want to see the application's output, you may even check the checkbox saying to execute the command in a terminal window. Yves.
-
You may want to look at this post and the following posts too, related to rsync backups and backup in general: https://mandrivausers.org/index.php?s=&...st&p=315575 Yves.
-
You might find this usefull if you want to use CANON's driver: https://mandrivausers.org/index.php?showtopic=42851 For Mandriva, you won't have to use "alien" to change rpm into deb files; just use the rpm files :) For your printer however, it seems there's a better driver: http://www.openprinting.org/show_printer.c...on-PIXMA_iP1000 Yves.
-
Were I in your situation, here is what I would try: - Create a separate home partition for each distro. One of them is "the master" /home (explained bellow). - Assign each /home to their distro (in /etc/fstab files). - Make sure you use the same UID and the same GID for your user accross all distributions. The "master" home partition would be where you'd keep all common configuration/data. Thus, for all distributions for which the /home partition is not the "master" one: - Mount the "master" home partition under /home/.master - In your home directory just after initial setup: you@localhost$ mkdir OLD /home/you$ mv .ssh .vnc .mozilla .nautilus .screenrc .bashrc .bash_profile tmp Documents Maildir OLD/ /home/you$ ln -s ../.master/you/.ssh . /home/you$ ln -s ../.master/you/.vnc . /home/you$ ln -s ../.master/you/.mozilla . /home/you$ ln -s ../.master/you/.nautilus . /home/you$ ln -s ../.master/you/.screenrc . /home/you$ ln -s ../.master/you/.bashrc . /home/you$ ln -s ../.master/you/.bash_profile . /home/you$ ln -s ../.master/you/tmp . /home/you$ ln -s ../.master/you/Documents . /home/you$ ln -s ../.master/you/Maildir . This is just an example adapted from my own home-directory. You'd have to adapt it to your files and dirs. The idea is to keep all that can be shared in a single place (the master home) and let problematic configuration files (gconf, gnome, kde...) distro-specific. Yves. EDIT: now that I re-read it, I realize that a separate home partition is only needed for the "master" one; other distro don't need it to be separated.
-
Update: despite what the error log says, it has nothing to do with encryption. I simplified the cupsd.conf file to the strict minimum, thereby disabling all security measures. It still did not work... So I searched again (I already did that the whole day) and I found a tip: the canon ip2200 driver needs libtiff3, which is not available on Debian. I linked libtiff.so.4 to libtiff.so.3 and it still did not work; debug mode then told me it now wanted libpng3, so I installed it. It still did not work: cannot write device because it does not exist!! I changed the device from cnij_usb:/dev/usb/lp0 to usb://Canon/iP1700 and... NOW it worlks :) :) :) BUT only for root... for now :( EDIT: It works! Except gnome-cups-manager's test page does not :o But printing from Iceweasel (firefox) with a normal user works so... solved :) Yves.
-
Thanks adamw. Actually, I'm not interested at all by esd. I only want to enable Gnome desktop sounds, and it seems that I have absolutely no choice: the Gnome sound config utility proposes to "enable software sound mixer (ESD)" and all desktop sounds are disabled if I don't check this checkbox... Anyway, the issue is solved, now. Yves.
-
I just installed a Canon PIXMA iP1700 to my newly-lended laptop (Packard Bell EasyNote) for my son. The problem is in the title. Here are the steps I followed (after initial failures): - Uninstall every installed packages appearing in Synaptic for a "cups" search, except the two lib... the uninstall of which would uninstall most of gnome and major apps with it. - Reinstall cups: ecole44:/etc/cups# dpkg -l | awk '{print $2}' | grep -i 'cups\|print\|matic' cups-pdf cupsys cupsys-client cupsys-common cupsys-driver-gutenprint foomatic-db foomatic-db-engine foomatic-filters foomatic-gui gimp-print gnome-cups-manager gutenprint-locales libcupsimage2 libcupsys2 libgnomecups1.0-1 libgnomecupsui1.0-1c2a libgnomeprint2.2-0 libgnomeprint2.2-data libgnomeprintui2.2-0 libgnomeprintui2.2-common libgutenprint2 libgutenprintui2-1 libwine-print python-foomatic - Download ip2200 driver from Canon web site, alien --to-deb --scripts all rpm files, and install some of them: ecole44:/etc/cups# dpkg -l | awk '{print $2}' | grep -i cnij cnijfilter-common cnijfilter-ip2200 cnijfilter-ip2200-lprng - This driver places PPD files in /usr/share/cups/model, which is not Debian cups PPD dir. Hence the link I created: ecole44:/etc/cups# ls -l /usr/share/ppd/model lrwxrwxrwx 1 root root 21 2007-07-14 15:10 /usr/share/ppd/model -> /usr/share/cups/model - Restart cupsys (/etc/init.d/cupsys restart). - Go to http://localhost:631/ - [Add Printer], name=iP1700, description=Canon PIXMA iP1700, [Continue], ->"Canon iP1700 USB #1 (Canon iP1700)", [Continue], ->"Canon iP2200 Ver.2.60 (en)", [Add Printer], General: [set Printer Options] (default values). Now I don't even have to try and print anything! A simple tail -f /var/log/cups/error_log prints this twice every 5 seconds: E [14/Jul/2007:19:06:46 +0200] cupsdAuthorize: Local authentication certificate not found! And if I try and print the test page in the Cups web interface, here's the log output specific to the test page: ==> access_log <== localhost - - [14/Jul/2007:19:09:42 +0200] "GET /printers/iP1700?op=print-test-page HTTP/1.1" 200 0 - - localhost - - [14/Jul/2007:19:09:42 +0200] "POST /printers/iP1700 HTTP/1.1" 200 18600 Print-Job successful-ok localhost - - [14/Jul/2007:19:09:42 +0200] "GET /printers/iP1700?op=print-test-page HTTP/1.1" 200 3446 - - ==> error_log <== I [14/Jul/2007:19:09:42 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=11015) I [14/Jul/2007:19:09:42 +0200] Adding start banner page "none" to job 14. I [14/Jul/2007:19:09:42 +0200] Adding end banner page "none" to job 14. I [14/Jul/2007:19:09:42 +0200] Job 14 queued on "iP1700" by "guest". I [14/Jul/2007:19:09:42 +0200] Started filter /usr/lib/cups/filter/pstops (PID 11016) for job 14. I [14/Jul/2007:19:09:42 +0200] Started filter /usr/lib/cups/filter/pstocanonij (PID 11017) for job 14. I [14/Jul/2007:19:09:42 +0200] Started backend /usr/lib/cups/backend/usb (PID 11018) for job 14. ==> access_log <== localhost - - [14/Jul/2007:19:09:44 +0200] "GET /printers/iP1700 HTTP/1.1" 200 0 - - localhost - - [14/Jul/2007:19:09:44 +0200] "POST / HTTP/1.1" 200 454 Get-Jobs successful-ok localhost - - [14/Jul/2007:19:09:44 +0200] "GET /printers/iP1700 HTTP/1.1" 200 6148 - - ==> error_log <== I [14/Jul/2007:19:09:44 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=11025) Nothing happens, if a job is created it disappears just as soon, and CUPS page for my printer still shows the same: iP1700 Description: Canon PIXMA iP1700 Location: Make and Model: Canon iP2200 Ver.2.60 Printer State: idle, accepting jobs, published. Device URI: usb://Canon/iP1700 Note: my user is a member of the lp and lpadmin groups. Here are the rights for the usb printer: ecole44:/var/log/cups# ls -la /dev/usb total 0 drwxr-xr-x 2 root root 60 2007-07-14 19:36 . drwxr-xr-x 15 root root 4180 2007-07-14 17:37 .. crw-rw---- 1 root lp 180, 0 2007-07-14 19:36 lp0 Thank you for you help... Yves.
