Re: How to set alias in gnome?

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

 



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

> Mihamina Rakotomandimby wrote:
> >> Miao Jiang <jiangfriend@xxxxxxxxx> :
> >> 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

_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux