unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21215: icecat can't be started by basename only
@ 2015-08-07 22:28 Danny Milosavljevic
  2015-08-08  9:44 ` Taylan Ulrich Bayırlı/Kammer
  2015-09-07 13:48 ` Ludovic Courtès
  0 siblings, 2 replies; 7+ messages in thread
From: Danny Milosavljevic @ 2015-08-07 22:28 UTC (permalink / raw)
  To: 21215

Hello,

right now on the GuixSD from the website I have about 12 copies of
icecat installed in /gnu/store but I can start none of them by typing

  $ icecat

Why not?

Also, it isn't in Xfce4's Application Finder either (while for example
HexChat is).

With kind regards,
   Danny

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21215: icecat can't be started by basename only
  2015-08-07 22:28 bug#21215: icecat can't be started by basename only Danny Milosavljevic
@ 2015-08-08  9:44 ` Taylan Ulrich Bayırlı/Kammer
  2015-08-09 14:34   ` Taylan Ulrich Bayırlı/Kammer
  2015-09-07 13:48 ` Ludovic Courtès
  1 sibling, 1 reply; 7+ messages in thread
From: Taylan Ulrich Bayırlı/Kammer @ 2015-08-08  9:44 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 21215

Danny Milosavljevic <dannym@scratchpost.org> writes:

> Hello,
>
> right now on the GuixSD from the website I have about 12 copies of
> icecat installed in /gnu/store but I can start none of them by typing
>
>   $ icecat
>
> Why not?

In Unix-like systems, an executable needs to be in any of the
colon-separated directories in the PATH environment variable, otherwise
it won't appear as a shell command.  (E.g. a typical value for PATH
might be "/bin:/sbin:/usr/bin:/usr/sbin".)

In Guix, we typically install a package into our "profile" by running
"guix package -i the-package", and add the 'bin' and 'sbin'
sub-directories in the profile to PATH.

A user's profile is typically under:

/var/guix/profiles/per-user/<username>

so you can add the following lines to your ~/.bash_login or ~/.profile
file:

export PATH=/var/guix/profiles/per-user/<username>/sbin:$PATH
export PATH=/var/guix/profiles/per-user/<username>/bin:$PATH

By the way, every time you use a "guix package" command to edit your
profile, a new "generation" of your profile is created, and you can
roll-back to previous generations when you want, for example in case
updated packages in the new generation happen to have a bug.  The 12
copies of IceCat in your /gnu/store might belong to old generations of
your profile, which you can delete with the "guix package -d" command
(read the documentation please!), and then run the garbage collector
"guix gc" to delete the stale IceCat copies in the store.

> Also, it isn't in Xfce4's Application Finder either (while for example
> HexChat is).

I don't know anything about Xfce, but possibly the problem will be
solved when you install IceCat into your profile with "guix package -i".

Hope that helps,
Taylan

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21215: icecat can't be started by basename only
  2015-08-08  9:44 ` Taylan Ulrich Bayırlı/Kammer
@ 2015-08-09 14:34   ` Taylan Ulrich Bayırlı/Kammer
  0 siblings, 0 replies; 7+ messages in thread
From: Taylan Ulrich Bayırlı/Kammer @ 2015-08-09 14:34 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 21215

taylanbayirli@gmail.com (Taylan Ulrich "Bayırlı/Kammer") writes:

> A user's profile is typically under:
>
> /var/guix/profiles/per-user/<username>

Correction: this should have been:

/var/guix/profiles/per-user/<username>/guix-profile

Taylan

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21215: icecat can't be started by basename only
  2015-08-07 22:28 bug#21215: icecat can't be started by basename only Danny Milosavljevic
  2015-08-08  9:44 ` Taylan Ulrich Bayırlı/Kammer
@ 2015-09-07 13:48 ` Ludovic Courtès
  2016-02-10 21:03   ` Ludovic Courtès
  1 sibling, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2015-09-07 13:48 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 21215

Hi,

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> right now on the GuixSD from the website I have about 12 copies of
> icecat installed in /gnu/store but I can start none of them by typing
>
>   $ icecat
>
> Why not?

See Taylan’s explanation from last month.

> Also, it isn't in Xfce4's Application Finder either (while for example
> HexChat is).

Is IceCat installed in the global profile, i.e., specified in the
‘packages’ field of the ‘operating-system’ declaration, or is it
installed in your user profile?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21215: icecat can't be started by basename only
  2015-09-07 13:48 ` Ludovic Courtès
@ 2016-02-10 21:03   ` Ludovic Courtès
  2016-02-16 18:21     ` Danny Milosavljevic
  0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2016-02-10 21:03 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 21215

ludo@gnu.org (Ludovic Courtès) skribis:

> Danny Milosavljevic <dannym@scratchpost.org> skribis:
>
>> right now on the GuixSD from the website I have about 12 copies of
>> icecat installed in /gnu/store but I can start none of them by typing
>>
>>   $ icecat
>>
>> Why not?
>
> See Taylan’s explanation from last month.
>
>> Also, it isn't in Xfce4's Application Finder either (while for example
>> HexChat is).
>
> Is IceCat installed in the global profile, i.e., specified in the
> ‘packages’ field of the ‘operating-system’ declaration, or is it
> installed in your user profile?

Ping!  :-)

Any update on this issue?  (<http://bugs.gnu.org/21215>)

Ludo’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21215: icecat can't be started by basename only
  2016-02-10 21:03   ` Ludovic Courtès
@ 2016-02-16 18:21     ` Danny Milosavljevic
  2016-02-17 18:17       ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Danny Milosavljevic @ 2016-02-16 18:21 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 21215

Hi,

On Wed, 10 Feb 2016 22:03:21 +0100
ludo@gnu.org (Ludovic Courtès) wrote:

> ludo@gnu.org (Ludovic Courtès) skribis:
> 
> > Danny Milosavljevic <dannym@scratchpost.org> skribis:
> >  
> >> right now on the GuixSD from the website I have about 12 copies of
> >> icecat installed in /gnu/store but I can start none of them by typing
> >>
> >>   $ icecat
> >>
> >> Why not?  
> >
> > See Taylan’s explanation from last month.
> >  
> >> Also, it isn't in Xfce4's Application Finder either (while for example
> >> HexChat is).  
> >
> > Is IceCat installed in the global profile, i.e., specified in the
> > ‘packages’ field of the ‘operating-system’ declaration, or is it
> > installed in your user profile?  
> 
> Ping!  :-)
> 
> Any update on this issue?  (<http://bugs.gnu.org/21215>)

I have a backup HDD with a copy of the installation from back then. 
I can connect it via USB enclosure. What should I check?

For the record, on the new GuixSD installation (including guix pull) which I'm using now, I can start icecat by typing "icecat". However, there's still no entry in the start menu - which is pretty annoying.

Also, icecat is in "gnu/packages/gnuzilla.scm". Weird. But ok...

Regards,
  Danny

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21215: icecat can't be started by basename only
  2016-02-16 18:21     ` Danny Milosavljevic
@ 2016-02-17 18:17       ` Ludovic Courtès
  0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2016-02-17 18:17 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 21215-done

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> On Wed, 10 Feb 2016 22:03:21 +0100
> ludo@gnu.org (Ludovic Courtès) wrote:
>
>> ludo@gnu.org (Ludovic Courtès) skribis:
>> 
>> > Danny Milosavljevic <dannym@scratchpost.org> skribis:
>> >  
>> >> right now on the GuixSD from the website I have about 12 copies of
>> >> icecat installed in /gnu/store but I can start none of them by typing
>> >>
>> >>   $ icecat
>> >>
>> >> Why not?  
>> >
>> > See Taylan’s explanation from last month.
>> >  
>> >> Also, it isn't in Xfce4's Application Finder either (while for example
>> >> HexChat is).  
>> >
>> > Is IceCat installed in the global profile, i.e., specified in the
>> > ‘packages’ field of the ‘operating-system’ declaration, or is it
>> > installed in your user profile?  
>> 
>> Ping!  :-)
>> 
>> Any update on this issue?  (<http://bugs.gnu.org/21215>)
>
> I have a backup HDD with a copy of the installation from back then. 
> I can connect it via USB enclosure. What should I check?

You could answer the question I asked you above, but since you mention
the problem is gone, we’ll assume there was no real problem after all.
;-)

> For the record, on the new GuixSD installation (including guix pull) which I'm using now, I can start icecat by typing "icecat". However, there's still no entry in the start menu - which is pretty annoying.

Please open a different bug for the missing icon in the start menu.

> Also, icecat is in "gnu/packages/gnuzilla.scm". Weird. But ok...

‘guix edit’ FTW!  :-)

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-02-17 18:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-07 22:28 bug#21215: icecat can't be started by basename only Danny Milosavljevic
2015-08-08  9:44 ` Taylan Ulrich Bayırlı/Kammer
2015-08-09 14:34   ` Taylan Ulrich Bayırlı/Kammer
2015-09-07 13:48 ` Ludovic Courtès
2016-02-10 21:03   ` Ludovic Courtès
2016-02-16 18:21     ` Danny Milosavljevic
2016-02-17 18:17       ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).