Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Getting screenfetch to autorun in terminal(openSUSE 13.2 KDE edition) aka how to edit bashrc file

  1. #1

    Question Getting screenfetch to autorun in terminal(openSUSE 13.2 KDE edition) aka how to edit bashrc file

    Hi!

    Screenfetch runs upon typing the command, and I've gotten it working several times before, but that was a few months ago, and I've looked through my bookmarks to see if I could find the info that way and failed. How do I configure it to run automatically when I open a new terminal? It's fine otherwise. Thanks!

    (I guess I should stress that I do know I need to edit bashrc, and am having a hard time finding it. On other distros I seem to locate it in the same way, more or less.)

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,822
    Blog Entries
    15

    Default Re: Getting screenfetch to autorun in terminal(openSUSE 13.2 KDE edition) aka how to edit bashrc fil

    Hi
    You mean something like;
    Code:
    vi ~/.bashrc
    
    [Then add..]
    
    if [ -f ~/bin/screenfetch ]; then screenfetch; fi
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: Getting screenfetch to autorun in terminal(openSUSE 13.2 KDE edition) aka how to edit bashrc fil

    Related: Did you know screenfetch comes up in two different places in the openSUSE search, at two different URLs?

    http://software.opensuse.org/search?...upported=false

    Gives:

    http://software.opensuse.org/package/screenfetch

    and

    http://software.opensuse.org/package/screenFetch

    Only difference in path are uppercase F and lowercase f, results are different.

    Who to notify for consolidation? Or, are there differences (I think not), and then which is the better choice?
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,822
    Blog Entries
    15

    Default Re: Getting screenfetch to autorun in terminal(openSUSE 13.2 KDEedition) aka how to edit bashrc file

    On Mon 08 Dec 2014 05:06:03 AM CST, Fraser Bell wrote:


    Related: Did you know screenfetch comes up in two different places in
    the openSUSE search, -*at two different URLs*-?

    http://tinyurl.com/lv6rgs5

    Gives:

    http://software.opensuse.org/package/screenfetch

    and

    http://software.opensuse.org/package/screenFetch

    Only difference in path are uppercase F and lowercase f, results are
    different.

    Who to notify for consolidation? Or, are there differences (I think
    not), and then which is the better choice?


    Hi
    On searched always check which is the development repository for
    Tumbleweed (aka Factory) a second choice would be a non home repo.

    In this case it would be the utilities repository, the others are
    'home'.

    So maybe query the utilities maintainer of screenFetch?


    --
    Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  5. #5

    Default Re: Getting screenfetch to autorun in terminal(openSUSE 13.2 KDE edition) aka how to edit bashrc fil

    Quote Originally Posted by malcolmlewis View Post
    Hi
    You mean something like;
    Code:
    vi ~/.bashrc
    
    [Then add..]
    
    if [ -f ~/bin/screenfetch ]; then screenfetch; fi
    Well, in Mint, for example, I type "gedit ~/.bashrc or something similar to that, and can edit the file in a text editor. I always add the following to the bottom to get Screenfetch to run automatically:

    # Screenfetch
    screenfetch

    I'm trying to figure out how to do that same thing in the text editor in openSUSE, and half my problem is that I don't seem able to locate .bashrc in the first place on version 13.2. I know I had it working before in 13.1.

    Thanks for the reply.

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,822
    Blog Entries
    15

    Default Re: Getting screenfetch to autorun in terminal(openSUSE 13.2 KDEedition) aka how to edit bashrc file

    On Fri 12 Dec 2014 04:06:02 AM CST, Hunson wrote:


    malcolmlewis;2681487 Wrote:
    > Hi
    > You mean something like;
    > >

    Code:
    --------------------
    > >

    > vi ~/.bashrc
    >
    > [Then add..]
    >
    > if [ -f ~/bin/screenfetch ]; then screenfetch; fi
    >

    --------------------
    > >


    Well, in Mint, for example, I type "gedit ~/.bashrc or something similar
    to that, and can edit the file in a text editor. I always add the
    following to the bottom to get Screenfetch to run automatically:

    # Screenfetch
    screenfetch

    I'm trying to figure out how to do that same thing in the text editor in
    openSUSE, and half my problem is that I don't seem able to locate
    ..bashrc in the first place on version 13.2. I know I had it working
    before in 13.1.

    Thanks for the reply.


    Hi
    Open a terminal;

    Code:
    cd
    ls -la .bashrc
    Does it exist?

    Since your using KDE, gedit doesn't exist, use AFAIK kate instead...

    --
    Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  7. #7

    Default Re: Getting screenfetch to autorun in terminal(openSUSE 13.2 KDEedition) aka how to edit bashrc file

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Open a terminal;

    Code:
    cd
    ls -la .bashrc
    Does it exist?

    Since your using KDE, gedit doesn't exist, use AFAIK kate instead...
    Here's what it says when I enter that command:

    -rw-r--r-- 1 [username] users 1177 Nov 21 00:01 .bashrc

    When I tried typing "kate," it gave me that "if kate is not a typo" message.

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,822
    Blog Entries
    15

    Default Re: Getting screenfetch to autorun in terminal(openSUSE 13.2 KDEedition) aka how to edit bashrc file

    Quote Originally Posted by Hunson View Post
    Here's what it says when I enter that command:

    -rw-r--r-- 1 [username] users 1177 Nov 21 00:01 .bashrc

    When I tried typing "kate," it gave me that "if kate is not a typo" message.
    Hi
    Well at least it exists, I'm a GNOME user, have no idea what KDE uses for a gui text editor...you might have to install it...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  9. #9

    Default Re: Getting screenfetch to autorun in terminal(openSUSE 13.2 KDEedition) aka how to edit bashrc file

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Well at least it exists, I'm a GNOME user, have no idea what KDE uses for a gui text editor...you might have to install it...
    Yeah? I do use GNOME on Fedora, but haven't had issues on the KDE version of openSUSE before. There must be something I'm not doing that could be done in the terminal. Manjaro and all Ubuntu flavors work fine with it. I'm not against a GUI program that would allow me to fix this, but it's strange that I'm having the issue now.

  10. #10
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,743

    Default Re: Getting screenfetch to autorun in terminal(openSUSE 13.2 KDE edition) aka how to edit bashrc fil

    I think you have to install kate. kedit should be available by default

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •