Re: GNOME3 and Modifying command-line arguments

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

 



On Thu, May 31, 2012 at 10:37:05PM +0700, Khemara Lyn wrote:
> On 05/31/2012 07:57 PM, Paul W. Frields wrote:
> >On Thu, May 31, 2012 at 12:24:42PM +0700, Khemara Lyn wrote:
> >>Dear All,
> >>
> >>Normally, I could go "Applications ->  System Tools ->  Terminal" and
> >>the app "gnome-terminal" would start and po up a new terminal window
> >>with a command prompt.
> >>
> >>The default terminal size is not optimal for me and i would like to
> >>adjust it a bit. With previous version (GNOME2), I could just do a
> >>right-click on the icon and edit "terminal command" to something
> >>like this:
> >>
> >>"gnome-terminal -geometry 100x35"
> >>
> >>But now in GNOME3, I can't find out how to do it any more?
> >>
> >>When we browse the program/app menu, we see their icons. When we
> >>click an icon, the corresponding app will run (with default command
> >>set by GNOME). How can we modify the command or its arguments from
> >>the default (as in the example above for gnome-terminal)?
> >>
> >>Any help please?
> >You don't need gconf-editor or any other special functions.
> >
> >Open Terminal.  Right click in the terminal screen and choose
> >Profiles, Preferences.  Then you can switch a number of options such
> >as the default size, font, etc., and you can either use these as the
> >default profile, or you can make additional profiles for different
> >kinds of terminals.
> >
> 
> Thanks a lot for your solution,
> 
> I actually would like to create a new icon on the GNOME3 desktop or
> the "Favorites" bar so that a click on the icon will run a command
> (for example, "sudo gns3").
> 
> How could I do that wit GNOME3?
> 
> Thanks in advance for any help.
> 
> Regards,
> Khem

Please respect the list norms by posting your replies beneath the
rest of the message, when the thread already does that.  It helps to
make email easier to read, thanks!

But to answer your question, you can make an application icon for
yourself through a *.desktop file in ~/.local/share/applications/ --
this is an example of the content:


[Desktop Entry]
Name=foo
Icon=terminal
Type=Application
Categories=GNOME;GTK
StartupNotify=true
Exec=gnome-terminal


For icons, it's safe to choose anything under
/usr/share/icons/hicolor/scalable/ for instance.  Once you create the
file, assuming you've typed correctly you'll see the new application
in your Applications list, and you can right-click it and then choose
Add to Favorites.  (This is how you add any existing app to the
favorites bar -- you can also add running apps this way, I believe.)

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
    The open source story continues to grow: http://opensource.com
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux