Software :: Making Zsh See Scripts?
Mar 3, 2011
I am using Ubuntu (9.04) and recently installed the Zed shell 'zsh'. I am planning to explore it a bit before setting it as my default shell. I did go through the configuration steps at the start when I first invoked 'zsh'.
In 'bash' I can use a series of customized search scripts which I keep in a subdirectory in my home directory say /home/thisuser/scripts.
This has been added to the $PATH and in 'bash' I can see the utilities contained in there and use them.
When I invoke 'zsh' from 'bash', 'zsh' can't see my '~/scripts' directory and its contents even though you can type
echo $PATH
and you'll see the :~/scripts: components in the path.
I know I'm doing something wrong..but what?
View 2 Replies
ADVERTISEMENT
May 20, 2011
Just wondering if it is possible to make use of the Windows keys on keyboards - the ones with MS logo.In Vista - the action is to invoke the Start Menu.In Linux, there is no action when you press these keys - can this be changed?
View 10 Replies
View Related
Feb 14, 2010
I am trying to install a DB application on my desktop which runs on OpenSuse 11.2 64bit.
Unfortunately the application supports only SUSE Enterprise Linux V10 or V11 or Red Hat Enterprise Linux. Is there a way to add certain packages to 'simulate' an SEL Server? I found some packages name SEL something which I installed, however no changes here, I still can't install the DB.
View 9 Replies
View Related
Jan 18, 2010
I have a local mirror at my server. How I can create mirror on DVD's for people without network connections?
View 1 Replies
View Related
May 2, 2010
I want to make an iso for some friends [and maybe friends of friends] that aren't all that tech savvy, so I want to change a few things to the original Lucid iso. First, I want the option to install Lucid out of the boot menu [but the other options should ideally stay]. Second, I want to include the ubuntu-restricted-extras so they can immediately try it out and see that it also plays video/audio etc.
View 9 Replies
View Related
Sep 26, 2010
I'm running relatively overpowered server right now, that all it really does is host files and download movies/music that I might enjoy. I'm just seeking to expand it's capabilities to make life in the house more simple. The first thing I'd like to do is create a kind of automatic grocery list generator concept. Here's how I envision it working.
We create a list of recipes for meals we enjoy, specifically an ingredient list. From this list, we create bi-monthly meal lists; what do we want to have for the next two weeks. The server chews through the two lists, compiles a list of ingredients and how much of each we'd need.. and emails this off to our smart phones for us to refer to while shopping. What equipment do I have? I have a headless Ubuntu server running 10.04 and administered via a GUI and NX Client. Two blackberries (both 9700 Bolds) as portable smart clients that would need to at least receive the list, tho ability to add in would be great.
Home network is a mix of wired and wireless, so no issues there for connectivity. So why post this here? Because I'm at a loss as to the software/configuration part. Doing an automated email daemon is easy to send the list out. And a list of recipes or such is easy to get (dozens of cookbooks in the house, plus a small army of them available online).. the issue I'm having with is how to create/manage the database. I'm not familiar with SQL or any database programming at all. Is there something akin to this already in the repositories? Or is there someone who could point me in the right direction so I can do this?
View 2 Replies
View Related
May 29, 2011
Is it possible to disable the run/display/cancel dialog just for some selected files and keep it for others? I want to be able to just click on some files which would run them instantly yet still being asked what to do if I click on other files. Say, launching files a, b & c would make them execute but launching files d, e, f and all others would pop-up the dialog asking me what to do. So can it be done?
View 6 Replies
View Related
Sep 29, 2010
Making an awk script. If you tell me to read the documentation.. I know.. you're right.
By the way, here is some input
Code:
My awk program has to work in this way:
until the end of the document if the beginning of the line is "START11" while the beginning of the line is different form "END11" print the whole line (print the "END11" line too)
View 1 Replies
View Related
Jul 12, 2011
I want to make an rpm which when installed as an update causes another rpm to be removed. I'm fairly sure this is possible because I have seen LibreOffice rpms install as updates replacing OpenOffice rpms in the process without any interaction being required. However I'm unable to figure out how to do it, even after having looked at the spec file for such a LibreOffice rpm.
I have package gstreamer-0_10-ffmpeg installed. I have another package called multimedia installed. I've built a new version of multimedia which includes the gstreamer ffmpeg plugin so I don't need the gstreamer-0_10-ffmpeg package installed any more. I've tried using Provides and Obsolete in the spec file of the new multimedia package. E.g.
Code:
Provides: gstreamer-0_10-ffmpeg
Obsoletes: gstreamer-0_10-ffmpeg <= 0.10.10
(I've tried it with and without version numbers.) Whatever I put in the spec file, when I try and install the new multimedia package as an update zypper says
Code:
$ zypper up -y multimedia
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: multimedia-1.1-1.i586 obsoletes gstreamer-0_10-ffmpeg <= 0.10.10 provided by gstreamer-0_10-ffmpeg-0.10.10-0.i686
Solution 1: replacement of gstreamer-0_10-ffmpeg-0.10.10-0.i686 with multimedia-1.1-1.i586
Solution 2: do not ask to install a solvable providing multimedia > 1.0-2
Selecting an option manually is no good, I need the update to happen without user interaction.
View 3 Replies
View Related
Jul 12, 2011
I'm trying to make a huge installation of applications on linux, (Red Hat), but without internet, i mean, i will have to download rpm's one by one and install them, the problem is that i've tried and is terrible, it always shows conflicts within versions, dependencies of dependencies, etc etc...
Is there any kind of tip to get this working? any kind of command that shows me the real dependencies that should be installed (with the right versions, etc) without conflicts? I've tried the following:
Quote:
rpm -qR package
View 3 Replies
View Related
Nov 9, 2010
Do you know a way of making vim not to use colours?
View 1 Replies
View Related
Dec 1, 2010
I am trying to understand how can I make a graph in C. So I wrote some program.
Code:
#include "declarations.h"
graph root = NULL;
int main()
{
[Code]....
View 6 Replies
View Related
Jan 12, 2011
to making the custumized ubuntu what steps doi need to follow 1)i have kernel 2.6.36 what next step do i have to do?
View 2 Replies
View Related
Jul 23, 2009
When I installed Fedora I wasn't paying attention and used my whole hard drive for Linux. Now my Vista is gone, and I don't have an NTFS Partition to reinstall it. Obviously this one is not formatted right... But I want to know how I can add a new NTFS partition to be able to reinstall Vista. I don't care if I have to delete Fedora... I'll just reinstall later using more attention.
View 8 Replies
View Related
Jan 14, 2010
my KDE is making segmentation fault. KDE is not required to restart but this segmentation fault is making every time (after 2 min) when i login to kde/fedora. this is making me annoying.. my linux info is following:
uname -r # 2.6.31.9-174.fc12.x86_64
KDE: 4.3.4 (KDE 4.3.4)
problem:
[code]....
View 5 Replies
View Related
Mar 30, 2011
I'm using Fedora to program Android, and have a directory with all the files I need. But my home directory isn't big enough to store my android directory. Is there any way to make more space to do this?When I have tried to install something using "sudo apt-get install (program name here), it says my name isn't in the sudoers file. What is this and how do I add my name to it to be able to install things from there?
View 6 Replies
View Related
Oct 5, 2010
Last week I installed suse 11.3. Most of the time it runs fine, but sometimes my laptop just hangs. Mostly I'm just browsing the internet using firefox. For example when I just installed opensuse, and I tried to maximize the terminal window it would hang and not recover. I'm not sure what is causing it. When it hangs I also can't move the mouse pointer, or open the system activity window. I'm not sure I have the minimum specs for kde though, but I can run kde without any problems, it's fast, it reacts fast. At first I thought maybe the amount of ram 512 was not enough so I turned off all the kde effects, but it still seems to crash once in while. I tried checking .xsession-errors to see if I could find something, and I found this
Code:
updateapplet(2142): Failed to lock file "/var/tmp/kdecache-donald/kpc/kde-icon-cache.lock" , last result = 1
"/usr/bin/kdeinit4(2127)" Error in thread 3041617680 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kdeinit4(2127)" Error in thread 3041617680 : "QLocalSocket::connectToServer: Invalid name"
"/usr/bin/kdeinit4(2127)" Error in thread 3041617680 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kdeinit4(2127)" Error in thread 3041617680 : "QLocalSocket::connectToServer: Invalid name"
"/usr/bin/kdeinit4(2127)" Error in thread 3041617680 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kdeinit4(2127)" Error in thread 3041617680 : "QLocalSocket::connectToServer: Invalid name"
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
View 4 Replies
View Related
May 23, 2011
I started with a bootable Windows 7 Upgrade DVD. I tested the DVD by booting from DVD in a physical drive. The system put up a "press any key to install from CD/DVD" and it worked. Now, I attempted to make a bootable ISO for VirtualBox... To make the ISO, I used this:
dd if=/dev/sr0 of=windows7.iso bs=2048 conv=sync
which I've read will clone the DVD and its boot ability? Is this correct? When I start VirtualBox, version 4.0.8 r71778, I get the "FATAL: No bootable medium found! System halted." The IDE Primary Master (CD/DVD) is set to see windows7.iso, so I suspect it sees the ISO, only it doesn't appear to be bootable. SATA Port 0 is set to Windows 7.vdi. Am I missing a step somewhere? The system is running openSUSE 11.4.
View 9 Replies
View Related
Jun 18, 2011
i want to add a application launcher in taskbar.but not using quickiaunch. eg:i want to replace the firefox icon with chromium which is in my taskbar.
View 9 Replies
View Related
Mar 29, 2010
I got a hard drive with an image of an older redhat OS that i need to do some work with. The hard drive isnt bootable but i need to get into it somehow. I am not even close to an expert on these kinds of things, but i will provide the information that ive got.
fdisk -ul
Code:
Device Boot Start End Blocks Id System
/dev/sda1 * 63 149838254 74919096 83 Linux
/dev/sda2 149838255 156296384 3229065 5 Extended
[Code]....
The simplest way the occurs to me to do this is to virtualize the OS on it. So i installed hypervisor from yast, but (i think) it requires an image of the OS to virtualize it, not some partitions on a hard drive. Is there an easy way around this?
View 4 Replies
View Related
May 9, 2010
I have an indexer for sphinx, and i want it to run once every hour in linux. How would i do this?
View 8 Replies
View Related
Dec 15, 2010
I wondered if theres a way to do rotational style completion in bash similar to the behavoir on cmd.exe, I've found it speeds me up in regard to entering commands
View 2 Replies
View Related
Jan 27, 2010
I have managed to make ubuntu (9.04) turn itself on from being completely off with the following code:
Code:
sudo sh -c "echo 0 > /sys/class/rtc/rtc0/wakealarm"
sudo sh -c "echo `date '+%s' -d '+ 480 minutes'` > /sys/class/rtc/rtc0/wakealarm"
[code]....
View 5 Replies
View Related
Jan 29, 2010
I'm coming from windows and now I've switched to ubuntu. I find firefox 3.5 (and now 3.6) very hard to read. I'd like to have the same font rendering on my ubuntu than on my windows xp, using internet explorer with cleartype enabled. I've searched A LOT on Internet, tested like 20 different .fonts.conf. However I still can't get what I want. Take a look at my screenshots :[URL]
On the left : ubuntu (Firefox 3.6) - on the right : XP (Internet Explorer I'd like to have the same fonts than on the right.
Picture "enabled.png" is the closest display I can get. But it's still not perfect.
I took the .fonts.conf from this site : [URL]
I've also tried the fonts from the site [URL]Look here : [URL](this one is different : IE8 is on the left)
My fonts config in firefox is the same than on windows (Times new roman, arial, courrier new). And of course I've installed the ttf mscorefonts package.
I don't say that IE is the best thing in the world It's only because I've used it a lot and now it's hard to browse sites with different fonts.
View 9 Replies
View Related
Feb 14, 2010
i recently installed crunchbang to try it out, but it made it the default os on boot. how do i make ubuntu the default again?
View 9 Replies
View Related
Apr 4, 2010
yeah first time ever being on ubuntu os. i got 3 going on one pc but only one partition is making static noises coming the speakers and its kinda loud. any ideas why?? its only happening to one partition so im clueless to whats going here...to be more descriptive its like a constant sssshhhhhhhhhhhhhhhhh or same as a radio being off frequency
View 6 Replies
View Related
May 2, 2010
I just upgraded to the newest ubuntu. Everything worked great before but since I upgraded, it asks me to relogin over and over again when I go into hotmail. I had to use a different computer just to get into my hotmail to verify my new account here so I could ask about this. It will repeat over and over making me log in but i won't even spend anytime in my email.
View 9 Replies
View Related
May 6, 2010
I have an iPod nano (3rd generation), and I'm having issues in 10.04 (not sure if its closed to 10.04 as I cannot test on older vers.): The iPod is detecting fine and all programs recognize the iPod (Banshee, Rhythmbox and the file manager) with all the files. But when I go to delete music, the program will delete the files on the programs manager but not on my iPod. iPod is connecting but not actually making any changes?
View 2 Replies
View Related
Jun 29, 2010
Not strictly being applied to an Ubuntu distro but Linux all the same.Our company run a database server referenced by a number of mail servers; the database server is very soon to be replaced since it's old, decrepit and not as secure as it should be - indeed, when it decides it's had enough, the MySQL process will simply stop.You can restart MySQL if you need to quite easily; using Putty, I'll connect to the box and run the command:/etc/rc.d/ init.d/mysqld restart
Using /etc/rc.d/init.d/mysqld status you can get a response of either mysqld (pid 8354) is running... or mysqld is stopped - how can I use this information in a script so that mysqld is only restarted if every thirty minutes a check comes back to say it's stopped? this current server is replaced by someone who knows what he's doing in a few weeks but this will ensure less disruption to those who rely on the current incarnation...
View 2 Replies
View Related
Jul 8, 2010
I got this Dell Studio and the f keys are kind of odd.. first of all you have to press fn to even use them.. because theyve defaulted them to be things like: fast forward.. mute.. stuff like that.. and what makes it worse is f2 is a button that disables wifi.. so when i do alt-f2 out of habit it cuts my wifi off.. so i have to do fn-alt-f2 which just gets old.. my question is, what is the raw command for the RUN ? I'd like to assign a keyboard shortcut to it.
View 6 Replies
View Related