windows with no decorations
Howdy I have a need to start certain apps (specifically mplayer) with no window decorations. I recall that with older versions on gnome this could be done via the window menus. Does anyone know how this can be done with gnome2? TIA Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: windows with no decorations
On Tue, 2004-09-28 at 13:50, Stefan O'Rear wrote: It depends on what window manager you use with GNOME. In a pince, you can do like this: xclock -xrm '*overrideRedirect: true' But that may not work with non Xt apps, and has other nasty side effects. I'm using Metacity . [EMAIL PROTECTED] eenvoy]$ metacity --version metacity 2.4.34 Nasty side effects is right. I only need to hide the borders, not start it independent of the window manager. Thanks anyway Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: Run script as often as possible
On Tue, 2004-09-28 at 19:23, Jacob Larsen wrote: > I have a script that I'd like to run as often as possible. > The script may only run in 1 instance. > My idea is to have a cron script to start it once every hour. The script > should write a run file, and if the run file exists, exit. > Is this the best way? yeah. Accpeted method is to write a lock file to /var/lock and exit if it exists Cheers Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: Debian java howto for sarge?
On Tue, 2004-09-28 at 17:14, Wim De Smet wrote: > > And how do I get .jar files to work by doubleklickind under kde 3.2.3? > > Are there maybe some security problems? > > There's probably some sort of configuration dialog in KDE to establish > a relationship between filetypes and programs. Find it and add jar to > it. The command to be executed should probably be "java -jar" Note that this will only work for jars that are "executable" (ie have a Main-Class entry in their manifest). It will not be spectacularly successful for those jar files that are missing this entry in their manifest I wrap it in a script like this ... #!/usr/bin/perl -w #check that we have a jar file on the command line $jar_file="$ARGV[0]"; if ( "$jar_file" eq "" ) { &usage; } else { system("java -jar $jar_file") && system("gdialog --msgbox \"Jar file \"$jar_file\" is not executable\n\" 100 100"); } #report usage info sub usage { system("gdialog --msgbox \"usage: run-jar.pl foo.jar\" 100 100"); } -- \|||/ ( / \ ) ( O O ) ___oOOo-( )-oOOo_ Blake Swadling [EMAIL PROTECTED] Software Engineer http://www.swadling.com __Oooo___ oooO ( ) ( ) ) / \ ( (_/ \_) signature.asc Description: This is a digitally signed message part
Re: Debian java howto for sarge?
On Wed, 2004-09-29 at 04:06, Christian Leimer wrote: Thanks. I try that if I got java to work. Do you need the IBM JDK for any particular reason? At newton we have been using Sun SDK only for ages as we have previously had compatibility trouble with the blackdown one, but the 1.4 package listed below works fine for me so far. Apps compile fine, run flawlessly on both blackdown and sun jvms. might be worth giving it a go if there is no compelling reason to used something different add this to source.list and possibly find your favourite mirror ## blackdown packages deb ftp://mirror.aarnet.edu.au/pub/java-linux/debian/ unstable main non-free apt-get install j2sdk1.4 ant ant-doc HTH Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: Debian java howto for sarge?
On Wed, 2004-09-29 at 10:28, Christian Leimer wrote: > > Blackdown is 1.3 and Sun SDKs are only for Intel. Ah latest PPC release is 1.3. Confused me cause the latest x86 is 1.4. bugger :( Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: Flash card reader
On Wed, 2004-09-29 at 17:27, Adam Funk wrote: > On Tuesday 28 September 2004 18:00, Luis Fernando Llana DÃaz wrote: > > > Hi all, > > I have de following flash card reader, does anybody know how to make > > it works? > > > > :00:10.1 FLASH memory: ENE Technology Inc CB710 Memory Card Reader > > Controller > > Subsystem: Asustek Computer, Inc.: Unknown device 1724 > > Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- > > ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- > > FastB2B- ParErr- DEVSEL=medium >TAbort- > >SERR- > ports at 8800 Capabilities: [a0] Power Management version 2 > > Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA > > PME(D0+,D1+,D2+,D3hot+,D3cold-) Status: D0 PME-Enable- > > DSel=0 DScale=0 PME- > > Does /dev/sda (or /dev/sdb or something like that, if you have other USB > drive-like devices) appear when you plug the card reader in? (In my > experience you may have to wait a few minutes for the device to be > created.) try tail -f /var/log/messages, then plug it in and look for the following lines (abbreviated) Sep 29 19:24:37 localhost kernel: Attached scsi removable disk sdc at scsi3, channel 0, id 0, lun 0 ... Sep 29 19:24:37 localhost kernel: Attached scsi removable disk sdd at scsi3, channel 0, id 0, lun 1 ... Sep 29 19:24:37 localhost kernel: Attached scsi removable disk sde at scsi3, channel 0, id 0, lun 2 ... Sep 29 19:24:37 localhost kernel: Attached scsi removable disk sdf at scsi3, channel 0, id 0, lun 3 then you can mount (as root) it using mount -t vfat /dev/sde1 /mnt/usb I have 4 slots so the slot that i use is the third one (/dev/sde). Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: Editing PDF forms
On Tue, 2004-09-28 at 22:21, Hugo Vanwoerkom wrote: So you end up with one .fig file for each page in the doc. You edit each page the way you do by hand and create an .eps file for each also. yikes. I thought I'd give this a shot and it saved every character in a 3 page document as a bezier curve. I'd prefer not to have to cut chars from beziers. Is this a freak or have i missed something? the file i was converting is at http://www.international-presence.com/media/agswmaint.pdf Cheers Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: Editing PDF forms
On Wed, 2004-09-29 at 20:29, Blake Swadling wrote: On Tue, 2004-09-28 at 22:21, Hugo Vanwoerkom wrote: So you end up with one .fig file for each page in the doc. You edit each page the way you do by hand and create an .eps file for each also. yikes. I thought I'd give this a shot and it saved every character in a 3 page document as a bezier curve. I'd prefer not to have to cut chars from beziers. Is this a freak or have i missed something? -ndt fixes it Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: Editing PDF forms
On Thu, 2004-09-30 at 06:10, Hugo Vanwoerkom wrote: > Blake Swadling wrote: > > > >> > >> yikes. I thought I'd give this a shot and it saved every character in > >> a 3 page document as a bezier curve. I'd prefer not to have to cut > >> chars from beziers. Is this a freak or have i missed something?/ > > > > -ndt fixes it > > > > Is this an option of pstoedit? Did not find so in 3.31-2 I have the following version in installed on Sid pstoedit: version 3.33 / DLL interface 108 (build Jul 29 2004 - release build) : Copyright (C) 1993 - 2003 Wolfgang Glunz from the man page -ndt Never Draw text - fully disable the heuristics used by pstoedit to decide when to "draw" text instead of showing it as text. This may produce incorrect results, but in some cases it might nevertheless be useful. "Use at own risk". it works fine but i get mucho errors about missing LaTeX fonts like ... Can't find LaTeX font nr. 12, using sans does anyone where i can get hold of these fonts? Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: OpenOffice 1.1 spelling checker broken?
On Fri, 2004-10-01 at 14:38, Silvan wrote: > On Wednesday 29 September 2004 11:10 am, Henry House wrote: > > > I just upgraded openoffice to the Sarg version. > > > Now the spelling checker is completely broken---every word is flagged as > > misspelt. This output appeared on my console: > > Did you miss installing the dictionary file maybe? I had to install some > weird myspell stuff think. have you tried configuring your dictionaries with DicOOo.sxw. Run the macros and it fixes all things boned :) http://lingucomponent.openoffice.org/auto_instal.html HTH Blake Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: Transport debian woody from laptop to PC
On Tue, 2004-10-05 at 13:50, Paolo Alexis Falcone wrote: > On Tue, 5 Oct 2004 05:16:26 +0200, Oliver Fuchs > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I am running a debian woody box for a long time now on my laptop. > > I want to install it now with the (nearly) same configuration on my PC. > > Can I transport the laptop system (for example via tar) to my PC or won't > > this work. we routinely clone PCs running RedHat using by doing (almost) a simple cp -ax. we just set up our partitions as required and do a cp -ax like so ... - #!/bin/bash CWD=`pwd` mkswap -f /dev/hdc1 mke2fs -j -L / /dev/hdc2 mke2fs -j -L /home /dev/hdc3 mount -t ext3 /dev/hdc2 /mnt/clone mount -t ext3 /dev/hdc4 /mnt/clone/home cp -axv / /mnt/clone cp -axv /home /mnt/clone cd ${CWD} umount /mnt/clone/home umount /mnt/clone -- if you want to make it bootable (when connected as a primay master) then you have to muck around with grub or lilo to get it going. I haven't done it with grub, but lilo used to involve doing a chroot, and installing lilo on the second drive. the lilo.conf was set up so that it assumed the drive was a primary master and so was not bootable until connected properly. -- chroot /mnt/clone sbin/lilo -C /etc/lilo.conf.clone exit ------ Cheers Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
eclipse 3
does anyone know if eclipse 3.0.1 or 3.1 RC is available anywhere as a deb package? Cheers Blake -- Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax:+61 2 6247 3533 Mobile: +61 407 026277 Web:http://www.eenvoy.com.au -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Playing a wav
On Sun, 2004-10-24 at 15:26 -0500, Michael Satterwhite wrote: > Back on SuSE, I could play a wav file just by entering "play file" from the > command line. I liked this for script end notifications. Play isn't installed > by default, and there are hundreds of hits if I enter "apt-cache search > play". > > Would someone be so kind as to suggest a command line tool for this that's > available on Debian? apt-get install sox sox /usr/share/sounds/startup3.wav -t ossdsp /dev/dsp Cheers Blake -- Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax:+61 2 6247 3533 Mobile: +61 407 026277 Web:http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: Redirecting stdout and stderr into a file
On Tue, 2004-11-09 at 23:50 +0100, Otto Wyss wrote: > Sorry I can't remember how I can redirect the stdout and stderr together > into a file. I can > > grep > logfile > grep 2> logfile > > but how can I redirect both together? > grep 2>&1 logfile Cheers Blake -- Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax:+61 2 6247 3533 Mobile: +61 407 026277 Web:http://www.newton.com.au signature.asc Description: This is a digitally signed message part
patches in deb prebuilt kernel
Where can i find a list of the patches that are included in the Debian Prebuilt kernel (specifically 2.6.9-1-k7) Cheers Blake -- Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax:+61 2 6247 3533 Mobile: +61 407 026277 Web:http://www.newton.com.au signature.asc Description: This is a digitally signed message part
dead X install
ernel: Intel 810 + AC97 Audio, version 0.24, 12:50:17 Jul 22 2004 Sep 10 10:59:14 localhost kernel: PCI: Enabling device 00:06.0 (0005 -> 0007) Sep 10 10:59:14 localhost kernel: i810: NVIDIA nForce Audio found at IO 0xe000 and 0xe100, MEM 0x and 0x, IRQ 11 Sep 10 10:59:14 localhost kernel: i810_audio: Audio Controller supports 6 channels. Sep 10 10:59:14 localhost kernel: i810_audio: Defaulting to base 2 channel mode. Sep 10 10:59:14 localhost kernel: i810_audio: Resetting connection 0 Sep 10 10:59:14 localhost kernel: ac97_codec: AC97 Audio codec, id: ALG32 (ALC650) Sep 10 10:59:14 localhost kernel: i810_audio: AC'97 codec 0 supports AMAP, total channels = 6 Sep 10 10:59:14 localhost kernel: usb.c: registered new driver usbdevfs Sep 10 10:59:14 localhost kernel: usb.c: registered new driver hub Sep 10 10:59:14 localhost kernel: usb-ohci.c: USB OHCI at membase 0xce879000, IRQ 10 Sep 10 10:59:14 localhost kernel: usb-ohci.c: usb-00:02.0, nVidia Corporation nForce USB Controller Sep 10 10:59:14 localhost kernel: usb.c: new USB bus registered, assigned bus number 1 Sep 10 10:59:14 localhost kernel: hub.c: USB hub found Sep 10 10:59:14 localhost kernel: hub.c: 3 ports detected Sep 10 10:59:14 localhost kernel: usb-ohci.c: USB OHCI at membase 0xce927000, IRQ 10 Sep 10 10:59:14 localhost kernel: usb-ohci.c: usb-00:03.0, nVidia Corporation nForce USB Controller (#2) Sep 10 10:59:14 localhost kernel: usb.c: new USB bus registered, assigned bus number 2 Sep 10 10:59:14 localhost kernel: hub.c: USB hub found Sep 10 10:59:14 localhost kernel: hub.c: 3 ports detected Sep 10 10:59:14 localhost kernel: hub.c: new USB device 00:02.0-2, assigned address 2 Sep 10 10:59:14 localhost kernel: usb.c: USB device 2 (vend/prod 0x45e/0x40) is not claimed by any active driver. Sep 10 10:59:14 localhost kernel: usb.c: registered new driver hiddev Sep 10 10:59:14 localhost kernel: usb.c: registered new driver hid Sep 10 10:59:14 localhost kernel: input: USB HID v1.00 Mouse [Microsoft Microsoft Wheel Mouse Optical] on usb1:2.0 Sep 10 10:59:14 localhost kernel: hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <[EMAIL PROTECTED]> Sep 10 10:59:14 localhost kernel: hid-core.c: USB HID support drivers Sep 10 10:59:14 localhost kernel: mice: PS/2 mouse device common for all mice Sep 10 10:59:15 localhost kernel: parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] Sep 10 10:59:15 localhost kernel: parport0: irq 7 detected Sep 10 10:59:15 localhost kernel: lp0: using parport0 (polling). Sep 10 10:59:18 localhost kernel: NET4: AppleTalk 0.18a for Linux NET4.0 Sep 10 10:59:57 localhost kernel: spurious 8259A interrupt: IRQ7. Sep 10 11:00:02 localhost papd[950]: [main.c:278]: I:PAPDaemon: restart (1.6.4) -- Blake Swadling <[EMAIL PROTECTED]> http://www.swadling.com signature.asc Description: This is a digitally signed message part
Re: dead X install
On Fri, 2004-09-10 at 11:37, Stefan O'Rear wrote: All attached files seem completely normal, I do notice that there is no sign in the XFree86 log file of the driver being loaded. My other box (radeon) has significantly more output (probably 80% more) also i just found that xserver-svga isnt installed ??? and apt-get install xserver-svga will not install it. except for /var/log/messages, which shows that you didn't properly shut down the system. (This can be hard when the system is frozen :) yup How are you starting X? 1. It starts automatically on bootup 2. Log in & startx 3. X log in and startx (running gdm has the same effect) If (3), did you get a black screen or a finely-textured gray screen? Try hitting Ctl-Alt-BackSpace. (Yes, Backspace _NOT_ Delete.) You can try: X :0 & # hit Ctrl-Alt-F1 xterm -display :0 & # hit Ctrl-Alt-F7 all input is ignored. this was the first thing i tried Oh, and try disabling DPMS. DPMS allows for monitor powersaving, but it crashes the Xserver for some reason on my system... -- \|||/ ( / \ ) ( O O ) ___oOOo-( )-oOOo_____ Blake Swadling [EMAIL PROTECTED] Software Engineer http://www.swadling.com __Oooo___ oooO ( ) ( ) ) / \ ( (_/ \_) signature.asc Description: This is a digitally signed message part
Re: Recording the screen
On Fri, 2004-09-10 at 11:56, Victor Munoz wrote: On Thu, Sep 09, 2004 at 05:18:24PM +0200, Magnus Therning wrote: > I am preparing a presentation and I'd love to be able to make a movie > out of a session at the computer, i.e. I'd like to capture the screen > repetitively and then be able to play it back as a movie. > > Is there a ready solution for me? you can also use "import" to capture either the screen or a single widow. gimp has screen cap facilities too Cheers -- Blake Swadling <[EMAIL PROTECTED]> http://www.swadling.com signature.asc Description: This is a digitally signed message part
Re: dead X install
On Fri, 2004-09-10 at 13:05, Jerome R. Acks wrote: xserver-svga is in XFree86 3.3.6 in woody. You could try vga driver instead of svga. i have tried vga, svga and nv. after poking around i found that the drivers are packed in xserver-xfree86 for Xfree86 4.3 rather than being in a separate package like I'm used to Lacking more info on your video chip, try running "XFree86 -configure" as root. the video chip is Nvidia GF2MX. running anything that touches the Xserver causes the system crash, "XFree86 -configure" included. -- lspci - :00:00.0 Host bridge: nVidia Corporation nForce CPU bridge (rev b2) :00:00.1 RAM memory: nVidia Corporation nForce 220/420 Memory Controller (rev b2) :00:00.2 RAM memory: nVidia Corporation nForce 220/420 Memory Controller (rev b2) :00:00.3 RAM memory: nVidia Corporation: Unknown device 01aa (rev b2) :00:01.0 ISA bridge: nVidia Corporation nForce ISA Bridge (rev c3) :00:01.1 SMBus: nVidia Corporation nForce PCI System Management (rev c1) :00:02.0 USB Controller: nVidia Corporation nForce USB Controller (rev c3) :00:03.0 USB Controller: nVidia Corporation nForce USB Controller (rev c3) :00:04.0 Ethernet controller: nVidia Corporation nForce Ethernet Controller (rev c2) :00:05.0 Multimedia audio controller: nVidia Corporation: Unknown device 01b0 (rev c2) :00:06.0 Multimedia audio controller: nVidia Corporation nForce Audio (rev c2) :00:08.0 PCI bridge: nVidia Corporation nForce PCI-to-PCI bridge (rev c2) :00:09.0 IDE interface: nVidia Corporation nForce IDE (rev c3) :00:1e.0 PCI bridge: nVidia Corporation nForce AGP to PCI Bridge (rev b2) :02:00.0 VGA compatible controller: nVidia Corporation NVCrush11 [GeForce2 MX Integrated Graphics] (rev b1) -- Blake Swadling <[EMAIL PROTECTED]> http://www.swadling.com signature.asc Description: This is a digitally signed message part
Re: dead X install
I have sorted the problem. I disassembled the damn PC and there is a distinct odour of the magic smoke inside the case. Cant see what went pop but I'm guessing it was related to the GPU. Thanks for the help -- Blake Swadling <[EMAIL PROTECTED]> http://www.swadling.com signature.asc Description: This is a digitally signed message part
Re: CAN'T SUBSCRIBE
On Sat, 2004-09-11 at 22:56, John Fleming wrote: > Sorry bandwidth, but I've hit a wall trying to subscribe. My > previously-subscribed debian-user email stopped about August 28th, and I've > tried everything to get it back. I've tried UNsubscribing and SUBscribing > from several different email addys, different ISPs, and from different > machines. > > No matter what/where, I don't receive ANYTHING from Debian - no confirmation > requests, no email period. try ensuring that you send in text only format. i found difficulty when emails were formatted in html. Cheers > > I've tried writing the listadmin. I don't believe I'm blacklisted in any > way. > > I don't use any filtering that would cause a problem - nothing set to delete > anything. > > I'm relatively new and learn much from this list. I can read it in the > archives or using gmane, but I'd much prefer to receive standard email from > the list. > > If someone would help or could forward this email to someone that can, I > would gretly appreciate it. > > Thanks! - John > Preferred email: [EMAIL PROTECTED] Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: Soundcard Support???
On Sun, 2004-09-12 at 01:05, jwyman wrote: i have a dell dimension 8300 with a soundblaster live! cardthe debian drivers Emu10k1 or SB will not make it work...no sound at alli'd really like to HEAR (pun..lol) from someone with a possible solution...thanks Firstly can you confirm the the modules loaded ok (lsmod | grep emu10k). There should be quite a list. If they are then try checking out the advanced options in the alsa mixer. For some reason on my audigy the default setting was to enable only the digital output giving the false impression that sound was boned. failing that maybe some logs might help Cheers Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
who has the file open?
I know there is a command out there somewhere that can tell me which process has opened a particular file but I'm having a senior moment and I cant remember. Goolgle aint helping either Can someone help me out pls Cheers Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: Mplayer: New_Face failed. Maybe the font path is wrong.
On Mon, 2004-09-13 at 15:11, Mike Chandler wrote: > New_Face failed. Maybe the font path is wrong. > Please supply the text font file (~/.mplayer/subfont.ttf). > > Sure enough, there is no file called subfont.ttf in ~/.mplayer/ > Your consideraton is appreciated. they checking out http://www.mplayerhq.hu. i believe you can get the file there, or at least there is a link there. > Thanks Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: change hostname
On Mon, 2004-09-13 at 16:40, Afsin Taskiran wrote: > # vi /etc/hosts This might not have quite the effect that you are after. this will only allow you to add an alias for your host. the hostname must be configured separately using the hostname command try #man hostname Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
raid barfs at startup with 2.6 kernel
OK, firstly i will say i know bugger all about the way raid works. however i have managed to set up, both running software raid (raid0). one uses 2 SATA drives and the other has 2 ATA drives When I upgrade to kernel 2.6.* the raid barfs on both machines with the following errors md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: raidstart(pid 619) used deprecated START_ARRAY ioctl. This will not be supported beyond 2.6 md: could not lock unknown-block(8,2). md: could not import unknown-block(8,2)! md: autostart unknown-block(0,2050) failed! md: raidstart(pid 636) used deprecated START_ARRAY ioctl. This will not be supported beyond 2.6 md: could not lock unknown-block(8,3). md: could not import unknown-block(8,3)! md: autostart unknown-block(0,2051) failed! md: raidstart(pid 653) used deprecated START_ARRAY ioctl. This will not be supported beyond 2.6 md: could not lock unknown-block(8,4). md: could not import unknown-block(8,4)! md: autostart unknown-block(0,2052) failed! EXT3-fs: unable to read superblock EXT3-fs: unable to read superblock EXT3-fs: unable to read superblock If i manually start run mdadm and raid2 and then do mount -a on both machines the scripts after logging in then all is fine. mdadm-raid always fails hence the use of raidtools. All packages are up to date. It appears to me that the raid as trying to start before the modules are present. Has anyone seen this? how do i get it to load correctly now. Cheers Blake Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
bash profile does not get loaded?
Howdy folks when i log into X ~/.bash_profile and /etc/profile do not get automagically loaded. however if I log in from the console it load fine. any ideas? I am running unstable with xserver-xfree8 4.3.0.dfsg.1-7 and bash 3.0-6. tia Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: How to have X not start at boot?
On Tue, 2004-09-21 at 11:59, Michael Marsh wrote: > On Mon, 20 Sep 2004 18:36:30 -0700, Stefan O'Rear <[EMAIL PROTECTED]> wrote: > > On Mon, Sep 20, 2004 at 09:13:55PM -0400, JoeHill wrote: > > > Anyhow, stupid question number one: I would like to have the system boot to a > > > text mode login, but I cannot find where to make the change in any of the system > > > administration tools. Assuming it is gdm that is giving you grief ... if you want to keep it installed, but not activate it at startup mv /etc/rc2.d/S99gdm /etc/rc2.d/K01gdm then if you decide you want to fire up a graphical login, as root run telinit 3 then to go back to colsole only telinit 2 uninstalling also works, but then you dont have the graphical option later cheers Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: Setting the environment before Gnome starts up
On Wed, 2004-09-15 at 07:06, B. L. Jilek wrote: > Hi Andrei! > > On Tue, 14 Sep 2004, Andrei Badea wrote: > > > However, what I like about GDM is that during login I can choose the > > window manager with a menu. In this case, GDM ignores the ~/.xsession > > file, so I don't have a chance to setup my environment. So the question > > (though a little bit academic) is if/how I can setup my environment when > > using GDM (if possible, without having to set each window manager > > separately). The trick here is to use make use of /etc/X11/xsession.d as described in the Xsession(5) man page Create a file in this directory which sets up the required environment. the name of the file determines how/when it is run so make sure it follows the format described. Blow is the link i made to my /etc/profile which allows it to run every time i log in regardless of which WM i choose. [EMAIL PROTECTED]:~$ ls -l /etc/X11/Xsession.d/99xfree86-common_profile lrwxrwxrwx 1 root root 12 2004-09-21 21:07 /etc/X11/Xsession.d/99xfree86-common_profile -> /etc/profile HTH Cheers Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: bash profile does not get loaded?
On Thu, 2004-09-23 at 11:56, Arne GÃtje (=?utf-8?q?=E9=AB=98=E7=9B=9B=E8=8F=AF?=) wrote: > On Monday 20 September 2004 10:33, Stefan O'Rear wrote: > > > > If you want to run programs at X login, use .xsession (but be sure to > > add: > > > > . /etc/X11/Xsession > > > > at the end if you don't want to be locked out of your computer.) > > Well, this doesn't work for me... :( > I'm trying exactly this to start my XIM program in the background: > /usr/local/bin/xcin -x xcin & > > It just doesn't start. I have to start it manually for each session in > my konsole window. > So, I suppose the /.xsession does not get executed with the debian > version of X. Also my xmodmap settings in the same file don't get > executed. > > I even tried to make a custom file in /etc/X11/Xsession.d/45_xim, > also no success. > try calling it /etc/X11/Xsession.d/45xfree86-common_xim. It is very picky about the name format as i mentioned previously > Cheers > Arne -- \|||/ ( / \ ) ( O O ) ___oOOo-( )-oOOo_ Blake Swadling [EMAIL PROTECTED] Software Engineer http://www.swadling.com __Oooo___ oooO ( ) ( ) ) / \ ( (_/ \_) signature.asc Description: This is a digitally signed message part
Re: xscreensaver
On Fri, 2004-09-24 at 11:25, Tom Allison wrote: > How can I configure xscreensaver to automatically load for every user of > X window on my workstations? See the thread in the archives titled "bash profile does not get loaded" and substitute xscreensaver for profile. create a file called /etc/X11/Xsession.d/99xfree86-common_xscreensaver and in it put the command line that you want to use for xsreensaver like xscreensaver & the number at the start of the name dictates the order in which the scripts get run (99 will get run after everything else), the xfree86-common bit means it gets run for all WMs (i think) and the bit after the underscore can be whatever you like (hopefully describes what the script does :)). Hope that helps Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: bash profile does not get loaded?
On Fri, 2004-09-24 at 13:08, Arne Götje (=?utf-8?q?=E9=AB=98=E7=9B=9B=E8=8F=AF?=) wrote: > On Thursday 23 September 2004 17:58, Blake Swadling wrote: > > try calling it /etc/X11/Xsession.d/45xfree86-common_xim. It is very > > picky about the name format as i mentioned previously > > Even this doesn't work. I have attached the file, maybe someone can take > a look. :) I had a look and it seems fine. I have attached a modified version of your script with trace inserted (well i hope it is attached as evolution does not show any icons for some stoopid reason). It generates the following output when it is run on my unstable box ... this is expected as is did not create the config files. running xim /etc/X11/Xmodmap does not exist /home/bswadling/.Xmodmap does not exist XMODIFIERS are set to @im=xcin xim complete try running it one your box and see what you get Cheers Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au SYSMODMAP="/etc/X11/Xmodmap" USRMODMAP="$HOME/.Xmodmap" MODMAP="/usr/bin/X11/xmodmap" TRACEFILE="${HOME}/xim.trace" echo "running xim" > ${TRACEFILE} if [ -x $MODMAP ]; then if [ -f "$SYSMODMAP" ]; then #xmodmap "$SYSMODMAP" echo "$SYSMODMAP loaded" >> ${TRACEFILE} else echo "$SYSMODMAP does not exist" >> ${TRACEFILE} fi if [ -f "$USRMODMAP" ]; then #xmodmap "$USRMODMAP" echo "$USRMODMAP loaded" >> ${TRACEFILE} else echo "$USRMODMAP does not exist" >> ${TRACEFILE} fi else echo "$MODMAP does not exist or is not executable" >> ${TRACEFILE} fi export [EMAIL PROTECTED] echo "XMODIFIERS are set to ${XMODIFIERS}" >> ${TRACEFILE} /usr/local/bin/xcin -x xcin & /usr/bin/X11/kinput2 -canna & /usr/bin/chinput & echo "xim complete" >> ${TRACEFILE} signature.asc Description: This is a digitally signed message part
Re: bash profile does not get loaded?
> Thanks. Unfortunately there is no trace file anywhere... means it has > not been executed. > > So, the bug is somewhere else... > Any hint where to look? check that your /etc/X11/Xsession file contains the following # use run-parts to source every file in the session directory; we source # instead of executing so that the variables and functions defined above # are available to the scripts, and so that they can pass variables to each # other SESSIONFILES=$(run_parts $SYSSESSIONDIR) if [ -n "$SESSIONFILES" ]; then for SESSIONFILE in $SESSIONFILES; do . $SESSIONFILE done fi I am running xfree86-common 4.3.0.dfsg.1-7 and it was inserted as a default setting. check that your version of xfree86-common has this. IF it doesnt you can wither add it or run the script directly from the Xsession file Cheers Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part
Re: Any Softwares related to engineering field available for Debian?
On Fri, 2004-09-24 at 18:00, David Goodenough wrote: On Friday 24 September 2004 05:13, Siju George wrote: > Thanks a lot Clifton for the reply! I haven't heard of Octave! i'll > try to find out from net meanwhile if you have helpful links please > post them. octave is very useful and is somewhat compatible with Matlab (i think, or was it mathcad?), but I did use it for doing signal processing stuff at Uni a few years back and it did quite a good job. the interface is a bit rough though another one that might be useful is dia if you are in need of UML, network diagrams, circuit diagrams, logic, etc. Cheers Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au <> signature.asc Description: This is a digitally signed message part
gnome-python-vfs
I've been having a peek at gdesklets and quite a few are non functional due to missing python bindings for gnome-vfs. anyone know where i might find this mythical beast in unstable? Cheers Blake Swadling Senior Software Engineer Newton Pty Ltd Telephone: +61 2 6247 3544 Fax: +61 2 6247 3533 Mobile: +61 407 026277 Web: http://www.newton.com.au signature.asc Description: This is a digitally signed message part