Ubuntu :: File Completion Not Working - How To Make It Work

Nov 27, 2010

I am slowly rebuilding my network after a HDD crash that took out my primary development box. I installed Lucid Lynx and have things (mostly) working. The issue I am having has to do with file completion and history. I could set filec in my .cshrc file and it would work as it usually does (hit <TAB? key after typing in a couple of letters of a file name and BOOM the file auto-completes). For some reason, when I do the same thing, I get a literal TAB entered on the line. Also, if I attmept to utilize history (either the up-arrow from the keyboard I see ^[ instead of the last executed command(s).

View 2 Replies


ADVERTISEMENT

General :: Make Zsh Completion Behave Like Bash Completion?

Jun 2, 2010

I switched to zsh, but I dislike the completion. If I have 20 files, each with a shared prefix, on pressing tab, zsh will fully complete the first file, then continue going through the list with each press of tab. If I want one near the end, I would have to press tab many times.

In bash, this was simple - press tab and I would get the prefix. If I continued typing (and pressing tab), bash would complete as far as it could be certain of. I find this behavior to be much more intuitive but prefer the other features of zsh to bash.

Is there a way to get this style of completion? Google suggested setopt bash_autolist, but this had no effect for me (and no error message was printed upon starting my shell).

View 1 Replies View Related

Ubuntu Servers :: New User Shell - Tab Completion Does Not Work

Nov 30, 2010

When I add a new user and SSH to my server as that new user, my command prompt is just a '$'. Tab completion doesn't work either. What I notice is that I get this:
Could not chdir to home directory /home/scaldwell: No such file or directory
$
Echo PS1 yields nothing. There is also nothing in /etc/skel. I didn't have to do anything special to get my initial user setup with the right prompt, and the second user has been added to the admin group as well. I have noticed that if I issue the command sudo chsh -s /bin/bash the account gets the correct prompt.

View 1 Replies View Related

Debian :: Squeeze Upgrade - Tab Completion Does Not Work

Mar 15, 2010

Since upgrading my laptop to Squeeze, terminals (tested Gnome terminal and xterm) show simply a "$" prompt; machine, path and username are missing. What's really annoying though is that tab completion doesn't work, it inserts a tab character instead. Fooling around showed me that typing in the command "bash" brings everything back to what I'm used to. So in my dire newbiness do I ask, how do I reenable bash as the default shell for these programs?

View 5 Replies View Related

Software :: Bash Hostname Completion Not Working?

Nov 25, 2009

According to the Bash man pages, Quote: HOSTFILE Contains the name of a file in the same format as /etc/hosts that should be read when the shell needs to complete a hostname. The list of possible hostname completions may be changed while the shell is running; the next time hostname completion is attempted after the value is changed, bash adds the contents of the new file to the existing list. If HOSTFILE is set, but has no value, bash attempts to read /etc/hosts to obtain the list of possible hostname completions. When HOSTFILE is unset, the hostname list is cleared.

Here's the line in my .bashrc where HOSTFILE is set:

Code:

export HOSTFILE="~/.hosts"

I opened a new bash session, created ~/.hosts, filled it with the names of servers that I wanted to expand using tab completion. then typed

Code:

ssh p<tab><tab>

expecting to get a lists of all of the hosts in ~/.hosts starting with 'p'. Bash simply beeped at me twice.

I tried

Code:

$ shopt hostcomplete
hostcomplete on

Code:

ssh bchittenden@p<tab><tab>

same results.

[code].....

View 2 Replies View Related

Ubuntu :: Dvd Playback Not Working - How To Make It Work

Feb 27, 2011

dvd playback not working - how to make it work

View 2 Replies View Related

Ubuntu Servers :: PHP Mail() Not Working - How To Make It Work

Feb 9, 2010

I am using ubuntu since Intrepid Ibex. Since then I have learnt a lot and just recently setup my own home/web server. I am running my LAMP server on Karmic. I have been slowly transferring my website from my current hosting company to my server. Got everything working except the PHP mail() function is not working. I do not get any error messages but the mail does not reach. /etc/log/mail.log is blank.

I basically clueless about where to start. I did not install a mail server. Is this the reason? Should I check something in phpinfo() or the php.conf? I do not have sendmail/postfix installed.

View 2 Replies View Related

Ubuntu :: Lucid - Ibus Still Not Working - How To Make It Work

May 5, 2010

I installed Kubuntu 10.04 and wanted to try if, finally, ibus works. I installed ibus and ibus-anthy from repository (I need the japanese input), then I launched Ibus preferences from the menu, set it, and the icon appears in the kickbar.But nothing happens if I press ctrl-space. Same problem there was on 9.10.I also added the lines to the home/.bashrc as the popup says.

export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus

View 9 Replies View Related

Ubuntu Networking :: 10.10 Wireless Not Working - How To Make It Work

Jan 8, 2011

I've downloaded all the drivers and have an ethernet connection working however as I have an INSPIRON 1545, the network card is shoddy for LInux and I can't get the wireless working AT ALL.

lshw -C network
*-network
description: Network controller
product: BCM4312 802.11b/g LP-PHY
vendor: Broadcom Corporation

[code]...

View 3 Replies View Related

Ubuntu :: Auto Mount Not Working - How To Make It Work

Jan 26, 2011

I've installed Lubuntu on a Packard Bell EasyNote W3344 D. lsusb displays the usb pen, however it's not automounted. All three options under pcmanfm --> Preferences -- Volume Managment is ticked. I've tried two different usb pens, both formatted fat32 and confirmed working on ordinary Ubuntu. I should add that I previously installed Mint Fluxbox, but eventually reinstalled (choosing Lubuntu) because I wasn't able to enable auto mount of usb pen. Both /mnt and /media remains empty after insertion of the usb pen. Auto mount of optical drive is working properly.

View 3 Replies View Related

Ubuntu :: Program Central Stopped Working - How To Make It Work

Apr 13, 2010

This morning my program central stopped working and i don't know what might have caused it or how to fix it.

the problem is the download button, it doesnt seem to appear anymore as shown below:

[URL]

I got Ubuntu 9.10 64bit running GNOME

View 1 Replies View Related

Ubuntu Networking :: Wired Network Not Working - How To Make It Work

May 30, 2010

My wired network is not working! This is the result of ifconfig -a:

Code:

eth0 Link encap:Ethernet HWaddr 00:1c:25:3e:fe:50
inet6 addr: fe80::21c:25ff:fe3e:fe50/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

[code]....

View 8 Replies View Related

Ubuntu :: Internal Speakers Stopped Working - How To Make It Work

Apr 26, 2011

I've been running Ubuntu on my Dell Studio 1749 laptop since I got it, around 8 months ago.I recently upgraded to Maverick 10.10 64-bit, reformatting and partitioning my hard drive in the process (got rid of windows since I never use it) and it was working perfectly until last Wednesday (22.4.2011). On Wednesday I unplugged my usb headset while in a Skype call to switch to the internal speakers and my computer freaked out, black-screened, and froze. When I rebooted, the internal speakers had stopped working completely, even though the sound works perfectly on both sets of headphones I have.

I've tried most of the fixes that have been presented in other threads and none of them are working, including rebooting the laptop with the headset in. I've tried that with both of my usb headsets, even though I don�t like using the one that it froze on for the exact reason that any time I have audio playing with that headset and it gets unplugged, it black-screens and freezes my laptop. Actually audio doesn�t even have to be playing, sometimes unplugging it even with nothing playing still freezes my laptop. It does it once in a while with my other usb headset, as well, but not every time or anything close to that often.One thread suggested that modifying /etc/modprobe.d/alsa-base.conf by appending the following line to the file would work:

Code:

options snd-hda-intel model=dell-m6

But that did nothing at all. Someone else said that they saved a copy of alsa-base.conf and replaced the whole thing with that line, so I did that, with no change. Then I purged alsamixer using

Code:

sudo apt-get purge alsa-base

and

Code:

sudo apt-get purge alsa-utils

Then I rebooted, and reinstalled them, which did not fix the issue. However, it did replace the alsa-base.conf file that I modified which shows me that it actually did purge it. (I was an idiot the first time I tried to purge it and only purged and reinstalled alsa-utils..xD So the file did not get replaced, which was when I realised my mistake) I have NOT modified the new file, although I did copy the contents to a text file in case I need to try that fix again.I should also mention that the speakers do work when first booting up Ubuntu to the log-in screen, both with and without headphones I ran the alsamixer diagnostic at the beginning of all this, here's the link: [URL] And then ran it again after purging and reinstalling alsamixer, here's the new link: [URL] I have tried messing with the settings, disabling the headset, setting the input and output manually to internal speakers while the headset is still plugged in, making sure with GNOME alsa-mixer that the speakers are not muted, rebooting with the headsets in and then unplugging them.

View 1 Replies View Related

Server :: Tomcat Is Not Working - How To Make It Work

Mar 9, 2010

Whenever I am starting Tomcat5 service in RHEL5 it is showing that it is starting but after some time (after 5 sec.) the status it is showing that lock file found but there is no such process for PID * (where * = different PID no.) and tomcat is not working.

View 2 Replies View Related

Ubuntu Networking :: Wireless Connection Stopped Working - How To Make It Work

Apr 8, 2010

I have ubuntu 9.10 and my wireless connection has been working perfectly until a few weeks ago when I updated my laptop. I can connect to the internet using my wired cable but not by wireless. There is nothing listed under my wireless list. I am new to this and have been unsuccessful in getting my wireless connection going again. I don't even know were to begin. I have a 2wire modem also.

View 2 Replies View Related

Debian Multimedia :: Kde4: X Stopped Working - How To Make It To Work

Mar 10, 2011

There seems to be something that has changed in the newest stable Debian - I chose kde4 as my default desktop at installation, and it worked fine. Then I went and changed some options in both /var/run/kdm/kdmrc and /etc/kde4/kdm/kdmrc, something I have done many times before without problems.

However, when I tried to restart kdm with /etc/init.d/kdm, things didn't come up - no X, no kdm. When I rebooted the machine everything seemed fine, so I thought the problem was solved; but this morning I wanted to change something else - I don't want kdm to remember the last user, and I don't want to see a list of users either. Now dkm and X fail even when I reboot; I also find that /var/run/kdm/kdmrc has disappeared - I am certain I didn't remove it.

The strange thing, when I try /etc/init.d/kdm, I can kdm hanging around all alone in the process list, but no X or greeter. So what is going on - what should I have done instead? And can I repair it? I can of course reinstall the system, but I hate to think that we can't manage better in Linux.

View 4 Replies View Related

Fedora Networking :: WUSB54g Stopped Working - How To Make It Work

Feb 17, 2010

My wireless adapter stopped working randomly the other day. I think the last time it was working was right before I put the computer into hibernate for the first time. it stopped working even after restarting.modinfo p54usb shows (I'm leaving out information that seems irrelevant because I can't copy and paste without the internet, so I'm typing what I see from another computer)

firmware: isl3887usb
firmware: isl3886usb

dmesg | grep firmware doesn't seem to show any requests for firmware related to it. lsusb shows something like

bus 002 device 001: ID... linux foundation 1.1 root hub
bus 001 device 003: id... linksys wusb54g wireless adapter

[code]....

When I start up, in boot messages I get something like this

WARNING deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
WARNING all config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release
Device wlan0 does not seem to be present, delaying initializtion [FAILED]

View 14 Replies View Related

Programming :: Bash Checking For File Write Completion Before Acting?

Jan 20, 2011

I have a bash script that checks for contents in a folder every 15 seconds and then acts on it's contents. This works great for the average size file however on very large files it starts acting on the file before it's completely written. Is there a facility in bash shell to get a file complete signal or such? here is trigger to launch a larger script.

Code:

#!/bin/sh
while true
do
$HOME/bin/hpgl.sh >/dev/null 2>&1 &

[code].....

View 10 Replies View Related

Ubuntu :: Mkisofs - Cannot Make Working ISO File

Mar 4, 2011

I have an iso file that I want to mount. It turned out to contain only data so I need to make it into a working iso file using mkisofs. For some reason it was done in a couple of seconds while the file is more then 7Gb. The output is....nothing. I looked inside /media/isodrive and there is nothing there. The original img is suddenly only 363Mb :s.

This is the commandline I used:
sven@sven-XPS-L501X:~/Desktop$ sudo mkisofs -o shaun.white.iso /media/isodrive/
[sudo] password for sven:
I: -input-charset not specified, using utf-8 (detected in locale settings)
2.69% done, estimate finish Fri Mar 4 19:04:42 2011
5.38% done, estimate finish Fri Mar 4 19:04:23 2011
8.06% done, estimate finish Fri Mar 4 19:04:17 2011
10.76% done, estimate finish Fri Mar 4 19:04:14 2011
13.44% done, estimate finish Fri Mar 4 19:04:12 2011
16.13% done, estimate finish Fri Mar 4 19:04:11 2011
18.82% done, estimate finish Fri Mar 4 19:04:15 2011
21.51% done, estimate finish Fri Mar 4 19:04:14 2011
24.19% done, estimate finish Fri Mar 4 19:04:13 2011
26.88% done, estimate finish Fri Mar 4 19:04:12 2011
29.57% done, estimate finish Fri Mar 4 19:04:11 2011
32.26% done, estimate finish Fri Mar 4 19:04:11 2011
34.94% done, estimate finish Fri Mar 4 19:04:13 2011
37.63% done, estimate finish Fri Mar 4 19:04:12 2011
40.32% done, estimate finish Fri Mar 4 19:04:12 2011
43.01% done, estimate finish Fri Mar 4 19:04:11 2011
45.69% done, estimate finish Fri Mar 4 19:04:11 2011
48.39% done, estimate finish Fri Mar 4 19:04:13 2011
51.07% done, estimate finish Fri Mar 4 19:04:12 2011
53.76% done, estimate finish Fri Mar 4 19:04:12 2011
56.45% done, estimate finish Fri Mar 4 19:04:12 2011
59.14% done, estimate finish Fri Mar 4 19:04:11 2011
61.82% done, estimate finish Fri Mar 4 19:04:11 2011
64.51% done, estimate finish Fri Mar 4 19:04:12 2011
67.20% done, estimate finish Fri Mar 4 19:04:12 2011
69.89% done, estimate finish Fri Mar 4 19:04:12 2011
72.57% done, estimate finish Fri Mar 4 19:04:11 2011
75.26% done, estimate finish Fri Mar 4 19:04:11 2011
77.95% done, estimate finish Fri Mar 4 19:04:12 2011
80.64% done, estimate finish Fri Mar 4 19:04:12 2011
83.32% done, estimate finish Fri Mar 4 19:04:12 2011
86.02% done, estimate finish Fri Mar 4 19:04:11 2011
88.70% done, estimate finish Fri Mar 4 19:04:11 2011
91.39% done, estimate finish Fri Mar 4 19:04:11 2011
94.08% done, estimate finish Fri Mar 4 19:04:12 2011
96.77% done, estimate finish Fri Mar 4 19:04:12 2011
99.45% done, estimate finish Fri Mar 4 19:04:12 2011
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
186021 extents written (363 MB)

View 3 Replies View Related

Fedora :: Gnome Applications Menu Right Click Not Working / Make It To Work?

Jan 27, 2010

I cannot right click with my mouse on the gnome applications menu to get the properties/edit menu option. This is on F12 on 64bit.
Instead I get: "help, remove from panel, lock panel". I dont have this problem with anything else on the top bar.

---------- Post added at 12:33 PM CST ---------- Previous post was at 12:21 PM CST ----------

Turns out I have to install package alacarte and then go to System > Preferences > Main Menu

View 1 Replies View Related

CentOS 5 Server :: Dovecot/apache Not Working Properly - How To Make It Work Correctly

Mar 20, 2010

I am running a quad core centos 5.4 box that is having a strange problem with dovecot. The administration panel is able to send emails through dovecot but not any of the user accounts (ie with webmail). I've done a bit of research with what could be wrong but haven't had any luck so far I am also having a weird problem with apache: on a c++/php bittorrent application I was going to be running on a subdomain of my main site I get a 500 error every time I try to log in. The only way to get rid of the 500 error is to clear the chache (so its horribly broken somehow). The error generated in the log whenever I try to log in is that "ffmpeg is already loaded" (which I am running on the main site and is critical). Is there a way of either repairing my apache install or excluding ffmpeg on the subdomain in the conf or something?

View 2 Replies View Related

Ubuntu Installation :: Downloaded Conky But Cant Make It Work - Create The Rc File ?

Apr 8, 2011

I have downloaded conky but cant make it work. I have so far installed from terminal. But I do not see it in my desktop. Where do I create the rc file?

View 1 Replies View Related

General :: Mention List Of Services In The Same File And Still Make The Script Work?

Jan 26, 2010

I have a script from which i want to disable unwanted services. I wanted to have the list of unwanted services in the same script file. I tried the following, but it is not working...How do I mention list of services in the same file and still make the script work ?

Code:
#/bin/bash
#List of services, modify list between SERVICES tag
service_list=$(cat <<SERVICES
acpid
apmd
avahi-daemon

[Code]...

View 1 Replies View Related

Ubuntu :: Make With Make File Yields Error - /usr/bin/javac: Cannot Execute Binary File

Nov 17, 2010

When I try to compile some Java code on Ubuntu 10.10 (kernel 2.6+) using make and a Makefile.

I get an error indicating that the make utility cannot execute the java compile command (javac).

The error reads: /bin/bash: line 6: .: /usr/local/jdk1.5.0_18/bin/javac: cannot execute binary file

I am executing make as root. I have enabled permissions on all directories in the path /usr/local/jdk1.5.0_18/bin/javac and on javac itself.

I get this error whether using a jdk installed via ubuntu apt-get, or whether I install the jdk myself. And I get it using either Java 1.5 or 1.6

My machine has an 80386 processor. I notice the make utility is built for i686-pc-linux-gnu

However, I can manually compile using javac.

I can compile calling javac from within a bash script.

I can compile using the java compiler gcj from the command line: gcj --main=HelloWorld HelloWorld.java -o HelloWorld.exe

But I cannot compile java code from the makefile. Any reasons why I might be getting this error?

View 4 Replies View Related

Fedora Installation :: FC12 4 Monitor Video - Edit The Config File And Make To Other Two Work

Feb 9, 2010

I recently upgraded from fc8. I am running two nvidia NVS 285 cards with four monitors and using nvidia driver 190.53-pkg1. I have one card up and running and can edit the config file and make to other two work I just can't get all four to work together.

View 3 Replies View Related

General :: Make And Sh Commands - Make A File Called File Roller For Ubuntu 9.10

Apr 6, 2010

I want to make a file called file roller for Ubuntu 9.10. The folder has a file called install.sh and some others that are make.

I figure first I need to make a file and then run install.sh to install. But I don't know how to do this.

View 2 Replies View Related

Ubuntu Multimedia :: Creative Webcam Doesn't Work - How To Make It Work

Feb 17, 2011

how to make creative web cam working with ubuntu

View 1 Replies View Related

Ubuntu Multimedia :: Flash Controls Don't Work - How To Make Them Work

Apr 8, 2011

I can't get flash controls to work. If the video auto-plays, it starts just fine, if not, I'm out of luck. I've tried reinstalling flash through the software center. Even if it autoplays, I can't control volume or pause or anything. I'm at the mercy of whatever is already there.

Ubuntu Karmic 9.10 - all updated as of 1/2/2009
Firefox 3.5.6
On a Lenovo Thinkpad R400

View 3 Replies View Related

Ubuntu :: Compiz Doesn't Work - How To Make It Work

Jul 29, 2010

I'm having trouble getting compiz to work on my Laptop. It worked for a while and then I turned on Shift Switcher and a message popped up saying..."The new value for the button binding for the action Terminate in plugin Shift Switcher conflicts with the action Zoom Window of the Scale Addons plugin. Do you wish to disable Zoom Window in the Scale Addons plugin?" I was given the option of Set Terminate anyway, Don't set Terminate, and Disable Zoom Window. I clicked Don't set Terminate and ever since the only thing that works in compiz are the bindings in the general options. I've used synaptic to completely remove and then reinstall compiz but the problem persist. Something else weird, all of the changes I made are still there, even after complete removal, but they don't work?

View 2 Replies View Related

Ubuntu :: Hibernate Doesn't Work - How To Make It Work

Oct 29, 2010

When I try to hibernate, the computer just goes to a blank, black screen and doesn't turn off. I have to hold the power button to get it to shut down, and when I turn it back on none of the programs running before hibernation have been saved.

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved