Re: How to set alias in gnome?



On Tue, 27 Apr 2010 22:03:14 +0800
Miao Jiang <jiangfriend gmail com> wrote:

> Mihamina Rakotomandimby wrote:
> >> Miao Jiang <jiangfriend gmail com> :
> >> The alias doesn't work for running through 'Alt+F2' or Launcher
> > 
> > Why dont you just modify the launcher's "command"?
> > 
> 
> I try modify thunderbird's 'network.protocol-handler.app.http' to 
> '/usr/bin/chromium-browser --disk-cache-dir=/dev/shm/chromium 
> --disk-cache-size=512000000' but doesn't work.
> So I want to create an alias.

I imagine a wrapper script would be easier.

mkdir .bin

cat <<EOF>> ~/.bin/chromium-wrapper
#!/bin/sh
/usr/bin/chromium-browser --disk-cache-dir=/dev/shm/chromium \
 --disk-cache-size=512000000
EOF

then call $HOME/.bin/chromium-wrapper (where $HOME may have to be the
full path to your home)
kk

-- 
Karl Goetz, (Kamping_Kaiser / VK5FOSS)
Debian contributor / gNewSense Maintainer
http://www.kgoetz.id.au
No, I won't join your social networking group

Attachment: signature.asc
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]