General :: How To Create Custom Commands

Apr 29, 2011

So I'm here thinking how to create custom commands on my Linux Debian? I mean so i could open up terminal and just type the script name (and possibly some arguments) and it would refer to the script in my home directory. Otherwise I've write the whole path to the script each time and it gets annoying.

View 2 Replies


ADVERTISEMENT

General :: Custom Keyboard Commands?

Apr 18, 2011

I found that Linux Ubuntu has custom keyboard commands.his is awesome.What I'm trying to do, is make a command that will shut down the computer with a single button with no dialog windows.For you know, being grounded nd stuff.I found the command for it is "shutdown" with a few options.But when I tested it, being bound to pause/break, it did nothingAm I writing the wrong code, as I'm not using any options, or is this not possible?

View 7 Replies View Related

General :: Bash - Where And How Are Custom Startup Commands Configured

Jan 11, 2011

I'd like to add custom startup commands (for example starting a process, registering to a registration server, downloading a configuration file) to the Linux startup process. Those commands should be triggered on startup only. What is the standard/appropriate way to do this?

EDIT: Is /etc/profile the right place to trigger such things?

EDIT2: I'm using Ubuntu.

View 4 Replies View Related

General :: RHEL - Create Custom RPM ?

Dec 25, 2010

Create a rpm that installs a script like hello.sh into /root/bin with the permissions 755? I've tried a few ways with rpmbuild but no luck.

View 3 Replies View Related

General :: Create Custom Keyboard Shortcuts In Vim?

Sep 18, 2010

For example - when coding in Perl, I need to sometimes comment out a bunch of lines.What I do is something like

:80,96 s/^(.*)$/#1/

I want to create a custom shortcut for this so that I can do something like

:80,96 cm

for commenting and

:80,96 uc

for uncommenting.What should I put in my ~/.vimrc?

View 1 Replies View Related

General :: While Pungi Can Create Custom Spins?

Feb 26, 2010

I have fedora 10. My question is: while pungi can create custom spins of fedora can it also create live cd's

View 2 Replies View Related

General :: Possible To Create A Custom Font.conf File ?

Jun 4, 2011

If it is possible, what are parts that should be included in it?

View 1 Replies View Related

General :: Create Custom Terminal Boot Mode Under Ubuntu?

Aug 5, 2011

I wonder if it would be possible to create a custom boot menu entry in grub under Ubuntu (11.04), that boots the system into terminal instead of the login screen.

The effect should be something like the root shell in (rescue mode) boot menu entry, one that gives me access to a root shell or a less privileged shell, without the need to select "root shell" explicitly.

If possible, I also would like to customize the shell started by, most preferably by specifying a shell script to run so that I can start something other than bash, like vim.

My intention is to create a "fast" boot mode to give me a usable system within seconds (to take notes, for instance) without needing to start GUI. Therefore, it is preferred that the silent option is turned on.

Note: There is a requirement: that no existing feature of the system is removed. That is to say, the gnome desktop (and Unity) should remain intact, and is only disabled when I choose this mode.

View 2 Replies View Related

General :: Possible To Create A Symbolic Link That Include Commands For Program?

Feb 11, 2010

Is it possible to create a symbolic link that include commands for the program?

For instance, I do the following to start the program:

./script -somecommannd

I would like to create a symbolic like that includes "-somecommand"

Is this possible? or would I need to create a second script that executes that command, and link to that script?

View 4 Replies View Related

Ubuntu :: Defining Custom Commands In .bashrc?

Apr 26, 2011

I'd like to know if there is a way to define commands in the .bashrc or .bash_profile. For instance, I want to be able to type 'work' in a terminal and set up an interactive work environment on my universities cluster. (This is done with the command 'qsub -I -X'.) I tried the following in my .bashrc file:

alias work ='qsub -I -X'

But, of course this failed, as I don't have a command work already defined. How do I go about doing this? Also, I can't assign 'qsub' an alias, since it's used with different options quite extensively.

View 5 Replies View Related

Ubuntu :: Custom Commands Before Login Time In Lucid?

Jul 24, 2010

I would like to run a few custom commands when booting: "xinput" to calibrate the touchscreen and a couple of "setkeycodes" to make special buttons responsive.

From within a session I need to do "sudo setkeycodes [etc]" - without root access there's a "couldn't get a file descriptor referring to the console" error message.

Ideally these commands would already be operational at the login screen, and without requiring entering a root password every time.

I've put the commands in an otherwise empty /etc/rc.local but this does nothing. Other posts mention bootscript.sh but I don't get how this is used; and the best way to do this seems to have changed between versions - so what's the proper Lucid way?

View 3 Replies View Related

General ::Create Custom Name Server \ Create Own Name Server?

Nov 4, 2009

I bought a web hosting account(cPanel) and I want to create my own name server(ns1 and ns2.mydomain.com). So when I want to host addon domain, I can point them to my name server instead of hosting company name server.

View 10 Replies View Related

Debian Installation :: Creating Boot Script For Custom Commands In Jessie

May 11, 2015

I didn't change anything; it just stopped working on boot. I've changed permissions according to messages from log files. No good.I now get messages saying "unable to open display ' '." If I set the display (I've done this several ways, the messages say "unable to open display ':0'."

Systemd is taking control of everything basic, with almost no documentation and no configuration tools at all: rationalization by lunatics.You can make a script to run commands on boot using systemd on Jessie by creating two files: the script, in any location a file in /etc/systemd/system that runs that script..My script is called james-boot.service, placed in my /home/james/.bin directory.

#! /bin/sh
# this is run by /etc/systemd/system/james-boot.service
# Enable with sudo systemctl enable james-boot.service
# Check with sudo systemctl status james-boot.service
# If it says the service is loaded, it's OK -- inactive only means it's done running.

[code]....

This file must have ownership root.root, with (apparently) permissions 664 (rw-rw-r--).After creating, enable with sudo systemctl enable james-boot. service.Check with sudo systemctl status james-boot.service. If it says the service is loaded, it's OK -- "inactive" only means it's done running.

View 4 Replies View Related

Ubuntu :: How To Create A Custom ISO

May 21, 2010

I want to create a custom ubuntu ISO (This ISO will contain all the packages with the latest updates released till date).

View 9 Replies View Related

Red Hat / Fedora :: Create A Custom ISO ?

Apr 15, 2011

Just started a new job where I test installation scripts and then wipe the system with a fresh install of Redhat each time before testing updated versions. I'm wondering is there a way to create an image of the system I want with the customized packages required rather than having to manually select and deselect a huge amount of packages every time. This would really help make my work much more efficient.

View 9 Replies View Related

Red Hat :: Create Custom RHEL5.4 ISO ?

Apr 19, 2010

I am in the process of creating a RHEL5.4 custom iso image with minimal functionality. Have gone through a lot of articles over the net and it seems that there are no proper documentation of this process as most of the utilities earlier are not supported.

Following steps were performed :

1. Mount the RHEL5.4 DVD ISO and copied all contents including .discinfo[very important] to a temporary folder [/iso/MODIFIED_ISO/].

2. Edited comps-rhel5-server-core.xml [earlier comps.xml] under /iso/MODIFIED_ISO/Server/repodata under the root directory to only include necessary packages.

3. Removed the unnecessary rpm's from Server directory

4. Created metadata of modified packages, goto root directory of copied folder [in my case /iso/MODIFIED_ISO] and execute :

5. Create the iso :

After performing the above steps, I tested the iso on a virtual box, but checking the error console seems that there are some errors related to dependencies.

Have written a short script to check for the dependencies for the remaining rpm's, executing "rpm -qpR <RPMNAME>" for all rpm's on an already installed box. This would list all dependency packages.

View 2 Replies View Related

Ubuntu :: How To Create A Custom Live Cd

Jun 11, 2010

I'm sure this is possible to do, but how do I create a Ubuntu install cd that uses my current config. Ideally I would like to be able to install exactly what I have on my system now, without user files. Wine, Ccsm, amarok, audacity, themes the whole nine yards. I tried using a program called Ubuntu Customization Kit, but it wouldnt let me mount the normal ubuntu install .iso file. This would avoid the hour and a half post-install config every time I screw Ubuntu up as well as stripping off many of the programs I don't need...

View 3 Replies View Related

Ubuntu :: Create Own Custom Live Cd?

Aug 31, 2010

I want to create a custom live cd of off peppermint os one. I want to add specific software, and delete some packages i don't really need. How can I do this Reconstructor is not what i want, because i am forced to use Ubuntu or Debian,
remastersys doesnt work for me since I see no option in using peppermint one as a live cd.

View 6 Replies View Related

Ubuntu :: Create A Custom Installer?

Sep 10, 2010

I want to create a LiveCD that you can boot and where instead of the normal Ubuntu installer (ubiquity) my own installer is starting.

I tried to do that with FAI, but I have many problems with it. Do you know a good way to do it? Is there an Interface for the Ubuntu installer/Source Code? Any other tools, ideas or thoughts?

View 1 Replies View Related

Ubuntu :: Create A Custom Live USB?

Jul 4, 2011

I'm working to setup an small PC as a kiosk, I was able to create an USB pen drive with ubuntu 10.10 with a persistent area and I made all the changes I need, everything works but if the PC loss power in most of the cases the file system is corrupted. Now I'm trying to generate a non persistent USB drive, but I'm having some problems. I was able to install remastersys and create an ISO image of my system (dist) but when I tried to create the USB drive using different Programs, in all cases I get the boot menu but it never complete the login, it just try to keep booting. The only messages I saw when I create the iso image is a bunch on chown operation fail from remastsys, I'm not sure if it is part of the problem. how to create an USB read only from a persistent one ?

View 2 Replies View Related

Ubuntu :: How To Create Custom Live CD / DVD That Uses Less RAM

Nov 22, 2008

Is it possible to create custom Live Linux cd that consumes less RAM by limiting its functionalities?My laptop has 448 mb RAM and I want to run the LIVE CD along side windows xp pro(using VMware Player). I have tried a few Linux live cds but all of them are very slow when I run them inside xp!! I want to create this custom live cd so it only have firefox browser (latest version) pre-installed along with flash player (Latest version) and ability to hear voice when playing ..... videos. (I want omit the rest of programs in order that Linux runs faster). Is it possible to gain speed by omitting un wanted programs? How I can create such LIVE cd with limited functionality and fast performance.

View 7 Replies View Related

Ubuntu :: Create Custom Cursors?

Feb 11, 2010

How do you create custom cursors? I found an xcursor tutorial but no installation instructions - it just left me with the cursor files.

View 2 Replies View Related

Fedora :: Create Custom Keyboard Shortcuts?

Sep 13, 2009

Does anyone know how to make custom keyboard shortcuts? The commands don't seem to cross over to the system>preferences>keyboard shortcuts utility. For example, I added the file browser to my desktop. I right click, select properties, and the command is:

However, when I add a custom shortcut with that same command it doesn't work.

View 5 Replies View Related

Fedora :: Create Custom Sound Themes?

Dec 15, 2010

I have some sounds I'll like to use for events. Fedora comes with built-in sound themes. Can one create his? How?

View 1 Replies View Related

OpenSUSE :: Possible To Create Custom Patch / Software CD?

Sep 15, 2010

I've a friend who would like to install openSUSE 11.3. But due to a bad Internet connectivity he cannot download the updates and the extra softwares. So I was thinking if it was possible to create a patch and a software cd for him which could then be used as a repository in YaST ?

View 4 Replies View Related

Ubuntu :: Create Custom Boot Disk?

Feb 2, 2010

We have a project we are working on and wanted to know if it is possible using the ubuntu(or any linux) boot disk.

We need the disk to first wipe the hard disk in the notebook, then perform a hardware test(testing processor/hdd/ram/display) then it should reimage the machine and reboot from the HDD.

I am thinking of using grub4dos to boot(and timeout to the HDD)

and partition image to image the HDD... but i do not know any cli software for the others...

For note the disk has to be completely automated as we don't have the headcount to recheck every machine every few minutes.

View 7 Replies View Related

Ubuntu :: Create Custom Themes In Lucid?

May 21, 2010

I was wondering if theres a way to make custom themes in lucid. when i had windows Xp i used High Contrast 2, is there a way to make it similar in ubuntu?

View 2 Replies View Related

Ubuntu :: Can I Create An ISO Of My Own Custom System Install

Jul 14, 2010

After much playing around and with help from various forums including this one, I finally created a very fast simple minimal (to me at least) linux OS.

I started with the the ubuntu command line system install, then proceeded to install the rest of the goodies that I needed and nothing more.

I can honestly say it was a great learning experience and also very gratifying to create an OS that only has what one wants and looks the way one wants.

With all that nice stuff being said, my next goal, and I don't know if it's possible, is to take my newly created OS and create an ISO of it from my HD so I can put in my wifes computer as well without having to go through all the steps it took to get to the final product?

I tried to do some research on the topic but I think I was wording it wrong or not correct as i couldn't find anything concrete on the subject.

If not, such is life and I will just have to do it all over again and hopefully remember all the steps and customizing I did.

View 7 Replies View Related

Ubuntu :: Create A Custom Keyboard Layout?

Feb 23, 2011

I need to create a custom keyboard layout for Canadian Aboriginal syllabics. How do I do this? Keyboards exist for Windows and Mac.

I can't find any current documentation for this.

View 4 Replies View Related

Ubuntu :: Create Custom Launcher For Flatout 2?

May 10, 2011

im trying to create a launcher for flatout 2 and i dont know how. I have tried every thing and it ether comes up with a error or doesn't start or do any thing at all. My problem is that flatout 2 needs to load files from its whole folder. Other wise i would have simply made a launcher of the .EXE but it comes up with a error saying its missing files.

View 2 Replies View Related







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