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.)
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
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?
Re: Getting screenfetch to autorun in terminal(openSUSE 13.2 KDEedition) aka how to edit bashrc file
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!
Re: Getting screenfetch to autorun in terminal(openSUSE 13.2 KDE edition) aka how to edit bashrc fil
Quote:
Originally Posted by
malcolmlewis
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.
Re: Getting screenfetch to autorun in terminal(openSUSE 13.2 KDEedition) aka how to edit bashrc file
Quote:
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;
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!
Re: Getting screenfetch to autorun in terminal(openSUSE 13.2 KDEedition) aka how to edit bashrc file
Quote:
Originally Posted by
malcolmlewis
Hi
Open a terminal;
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.
Re: Getting screenfetch to autorun in terminal(openSUSE 13.2 KDEedition) aka how to edit bashrc file
Quote:
Originally Posted by
Hunson
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...
Re: Getting screenfetch to autorun in terminal(openSUSE 13.2 KDEedition) aka how to edit bashrc file
Quote:
Originally Posted by
malcolmlewis
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.
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