Re: [SOLVED] pdfarranger and update-alternatives

2025-03-07 Thread Max Nikulin
On 06/03/2025 17:50, Gerard ROBIN wrote: settings -> settings manager -> default applications in xfce4 fixed the problem. (Editing the mimeapps.list file has no effect) But the XFCE settings tool writes selected option to mimeapps.list...

Re: Re: [SOLVED] pdfarranger and update-alternatives

2025-03-06 Thread Gerard ROBIN
settings -> settings manager -> default applications in xfce4 fixed the problem. (Editing the mimeapps.list file has no effect) Thanks to everyone who took the time to answer me. -- Gerard Created with Mutt 2.2.1 under Debian Linux BO

Re: pdfarranger and update-alternatives

2025-03-05 Thread Max Nikulin
On 06/03/2025 07:09, Gerard ROBIN wrote: xdg-mime query default image/png com.github.jeromerobert.pdfarranger.desktop I am currently using Trixie and have uninstalled and reinstalled pdfarranger. So you have several applications installed that may handle PNG files. Which way should other app

Re: Re: pdfarranger and update-alternatives

2025-03-05 Thread Gerard ROBIN
Thanks for your reply. xdg-mime query default image/png com.github.jeromerobert.pdfarranger.desktop I am currently using Trixie and have uninstalled and reinstalled pdfarranger. -- Gerard __ ** Created with Mutt 2.2.13 under Debian Linux TRIXI

Re: pdfarranger and update-alternatives

2025-03-05 Thread Jean-François Bachelet
ger in the display group of update-alternatives with a low priority but it has no effect. If anyone has a solution I am interested. Thanks in advance right click on the pic, choose open with..., choose imagemagik AND tick the 'associate the filetrype with that software' for setting a defa

Re: pdfarranger and update-alternatives

2025-03-05 Thread Max Nikulin
d? xdg-mime query default image/png Perhaps your issue is unrelated to update-alternatives.

pdfarranger and update-alternatives

2025-03-05 Thread Gerard ROBIN
Hello, I use Bookworm and Trixie. With Bookworm no problem when I click on "file:///home/user/file.png" the file file.png opens with display (imagemagick) but with Trixie it is pdfarranger that opens the file. I put pdfarranger in the display group of update-alternatives with a low prior

Re: update-alternatives: install with permanent arguments

2024-08-22 Thread Henning Follmann
ines... > > > > > do it manually, not with update-alternatives > > Why so? Could I not feed the script path to update-alternatives install? > > Well, if it works, then I guess it's OK. > Exactly. And if you want it less "hackish", build a deb where t

Re: update-alternatives: install with permanent arguments

2024-08-22 Thread Greg Wooledge
On Thu, Aug 22, 2024 at 14:33:22 +0300, Dmitrii Odintcov wrote: > Hi Greg, > > > This has occurred to me, but seemed like a bit of a hack and less > convenient to transfer to other machines... > > > do it manually, not with update-alternatives > Why so? Could I

Re: update-alternatives: install with permanent arguments

2024-08-22 Thread Dmitrii Odintcov
Hi Greg, This has occurred to me, but seemed like a bit of a hack and less convenient to transfer to other machines... > do it manually, not with update-alternatives Why so? Could I not feed the script path to update-alternatives install? Thanks On Thu, 22 Aug 2024 at 14:02, Greg Woole

Re: update-alternatives: install with permanent arguments

2024-08-22 Thread Greg Wooledge
the file is saved (like `crontab -e` does, for > example) > > I cannot do `update-alternatives --install /usr/bin/editor editor > "$(which codium) --wait --reuse-window" 0` because the "alternative > path doesn't exist". > > Suggestions? Write a wr

update-alternatives: install with permanent arguments

2024-08-22 Thread Dmitrii Odintcov
Let's say I want to install VS Code / Codium as an alternative for `/usr/bin/editor`, but I want it to always run with `--wait --reuse-window` so that other software can rely on the editor returning after the file is saved (like `crontab -e` does, for example) I cannot do `update-alterna

Re: update-alternatives - was [Re: Installing/launching MATE in a command line environment]

2020-06-30 Thread Richard Owlett
On 06/29/2020 07:38 PM, David wrote: On Mon, 29 Jun 2020 at 22:16, Richard Owlett wrote: I'm looking for something that aims to answer "What can update-alternatives do for me today?". IOW the manpage gives fine details but no sense of perspective. Have a read of this page [1]

Re: update-alternatives - was [Re: Installing/launching MATE in a command line environment]

2020-06-29 Thread David
On Mon, 29 Jun 2020 at 22:16, Richard Owlett wrote: > I'm looking for something that aims to answer "What can > update-alternatives do for me today?". IOW the manpage gives fine > details but no sense of perspective. Have a read of this page [1] about half-way down un

Re: update-alternatives - was [Re: Installing/launching MATE in a command line environment]

2020-06-29 Thread Liam O'Toole
than task-mate-desktop ;{ Whoosh. davidson is reminding you that she has already explained update-alternatives to you.

Re: update-alternatives - was [Re: Installing/launching MATE in a command line environment]

2020-06-29 Thread Brian
On Mon 29 Jun 2020 at 10:21:18 -0500, Richard Owlett wrote: > On 06/29/2020 09:12 AM, davidson wrote: [...] > > Have you reviewed any notes regarding what it did for you yesterday? > > Yesterday's problems stemmed from installing mate-desktop-environment rather > than task-mate-desktop ;{ > >

Re: update-alternatives - was [Re: Installing/launching MATE in a command line environment]

2020-06-29 Thread Richard Owlett
environment to be started automatically check that systemd is configured to run in graphical environment $> systemctl set-default graphical.target If this is already setup, and you can launch your DE with startx, check also that mate is the default DE with update-alternatives(8) or you can add

Re: update-alternatives - was [Re: Installing/launching MATE in a command line environment]

2020-06-29 Thread Richard Owlett
ult graphical.target If this is already setup, and you can launch your DE with startx, check also that mate is the default DE with update-alternatives(8) or you can add the startx command in /etc/profile. That manpage was intriguing, if not educational. I went searching for "update-alternatives t

Re: update-alternatives - was [Re: Installing/launching MATE in a command line environment]

2020-06-29 Thread Brian
gt; > > > If this is already setup, and you can launch your DE with startx, check > > > > also > > > > that mate is the default DE with update-alternatives(8) or you can add > > > > the > > > > startx command in /etc/profile. > > > >

Re: update-alternatives - was [Re: Installing/launching MATE in a command line environment]

2020-06-29 Thread davidson
and you can launch your DE with startx, check also that mate is the default DE with update-alternatives(8) or you can add the startx command in /etc/profile. That manpage was intriguing, if not educational. I went searching for "update-alternatives tutorials". They all referenced Ub

Re: update-alternatives - was [Re: Installing/launching MATE in a command line environment]

2020-06-29 Thread Richard Owlett
$> systemctl set-default graphical.target If this is already setup, and you can launch your DE with startx, check also that mate is the default DE with update-alternatives(8) or you can add the startx command in /etc/profile. That manpage was intriguing, if not educational. I went searching

Re: update-alternatives - was [Re: Installing/launching MATE in a command line environment]

2020-06-29 Thread tomas
gt; > > $> systemctl set-default graphical.target > > > >If this is already setup, and you can launch your DE with startx, check also > >that mate is the default DE with update-alternatives(8) or you can add the > >startx command in /etc/profile. > > > > T

update-alternatives - was [Re: Installing/launching MATE in a command line environment]

2020-06-29 Thread Richard Owlett
eck also that mate is the default DE with update-alternatives(8) or you can add the startx command in /etc/profile. That manpage was intriguing, if not educational. I went searching for "update-alternatives tutorials". They all referenced Ubuntu and each covered only one instance. I&

Re: x-www-browser doesn't change even after package delete, update-alternatives

2020-04-06 Thread Nicolas George
Andrei POPESCU (12020-04-06): > Probably a case of competing standards. That, and a case of gambit pileup when software try to be smart, to out-smart the other software implementing the other standards to make them interact with their own, while the other software do exactly the same, and end up b

Re: x-www-browser doesn't change even after package delete, update-alternatives

2020-04-06 Thread Andrei POPESCU
On Lu, 06 apr 20, 09:46:50, Curt wrote: > On 2020-04-06, Andrei POPESCU wrote: > > > >> This is getting well beyond Debian, but why would GNU/Linux in general have > >> so many overlapping ways to register default applications? > > > > Probably a case of competing standards. > > Seems more like t

Re: x-www-browser doesn't change even after package delete, update-alternatives

2020-04-06 Thread Curt
On 2020-04-06, Andrei POPESCU wrote: > >> This is getting well beyond Debian, but why would GNU/Linux in general have >> so many overlapping ways to register default applications? > > Probably a case of competing standards. Seems more like the distinction between a user-defined preference (*Prefe

Re: x-www-browser doesn't change even after package delete, update-alternatives

2020-04-06 Thread Andrei POPESCU
On Du, 05 apr 20, 16:20:42, Carl Fink wrote: > On Sun, Apr 05, 2020 at 11:03:07PM +0500, Alexander V. Makartsev wrote: > > > If I'm getting it right, you are using Xfce, so first place you should > > look at is "exo-preferred-applications" [1] applet. > > And that was it. Thank you. Now if only r

Re: x-www-browser doesn't change even after package delete, update-alternatives

2020-04-05 Thread Carl Fink
On Sun, Apr 05, 2020 at 10:52:23AM -0500, David Wright wrote: > Is it worth running rclone config with -vv, and --log-file pointing > somewhere? The documentation suggests this will show what rclone is > trying to do. Not any more, since my ln -s trick worked. Thanks for the suggestions, though.

Re: x-www-browser doesn't change even after package delete, update-alternatives

2020-04-05 Thread Carl Fink
On Sun, Apr 05, 2020 at 11:03:07PM +0500, Alexander V. Makartsev wrote: > If I'm getting it right, you are using Xfce, so first place you should > look at is "exo-preferred-applications" [1] applet. And that was it. Thank you. Now if only rclone actually did what I needed This is getting we

Re: x-www-browser doesn't change even after package delete, update-alternatives

2020-04-05 Thread Alexander V. Makartsev
wser" script uses to find your default browser. Probably because of installation of a "unsupported" firefox package "alternatives" for a browser were not changed, so you will have to create additional options for "alternatives" configs, so links would point to a

Re: x-www-browser doesn't change even after package delete, update-alternatives

2020-04-05 Thread David Wright
On Sun 05 Apr 2020 at 09:53:13 (-0400), Carl Fink wrote: > On 4/5/20 8:37 AM, Andrei POPESCU wrote: > > The output above shows epiphany-browser as being the current > > selection. > True. But not relevant. > > Maybe rclone is not using x-www-browser, but some other mechanism (or > > just hardcodes

Re: x-www-browser doesn't change even after package delete, update-alternatives

2020-04-05 Thread Carl Fink
On 4/5/20 8:37 AM, Andrei POPESCU wrote: The output above shows epiphany-browser as being the current selection. True. But not relevant. Maybe rclone is not using x-www-browser, but some other mechanism (or just hardcodes firefox). I asked what other mechanism could be used in the original, a

Re: x-www-browser doesn't change even after package delete, update-alternatives

2020-04-05 Thread Andrei POPESCU
On Du, 05 apr 20, 07:35:00, Carl Fink wrote: > On Sun, Apr 05, 2020 at 09:12:54AM +0300, Andrei POPESCU wrote: > > > > Please post the output of > > > > update-alternatives --config x-www-browser > > carlf@debian-NUCi5:~$ update-alternatives --config x-www-

Re: x-www-browser doesn't change even after package delete, update-alternatives

2020-04-05 Thread Carl Fink
On Sun, Apr 05, 2020 at 09:12:54AM +0300, Andrei POPESCU wrote: > On Sb, 04 apr 20, 12:32:06, Carl Fink wrote: > > So, I removed firefox-esr and replaced it with stable firefox. I ran > > update-alternatives to point to firefox-esr. The current listing doesn't > >

Re: x-www-browser doesn't change even after package delete, update-alternatives

2020-04-04 Thread Andrei POPESCU
On Sb, 04 apr 20, 12:32:06, Carl Fink wrote: > So, I removed firefox-esr and replaced it with stable firefox. I ran > update-alternatives to point to firefox-esr. The current listing doesn't > even include firefox-esr: This makes no sense to me, could you please rephrase? What b

x-www-browser doesn't change even after package delete, update-alternatives

2020-04-04 Thread Carl Fink
So, I removed firefox-esr and replaced it with stable firefox. I ran update-alternatives to point to firefox-esr. The current listing doesn't even include firefox-esr: root@debian-NUCi5:~# update-alternatives --list x-www-browser /usr/bin/chromium /usr/bin/epiphany-browser /usr/bin/firefox

Re: update-alternatives, list alternatives?

2016-09-16 Thread Ric Moore
On 09/16/2016 06:54 PM, Tony Baldwin wrote: On 09/16/2016 06:20 PM, Ric Moore wrote: On 09/16/2016 10:56 AM, Tony Baldwin wrote: But in my old age, I can't remember for the life of me how I did it. I don't believe it was with update-alternatives. I think I edited some config file

Re: update-alternatives, list alternatives?

2016-09-16 Thread Anthony Baldwin
On 09/16/2016 06:54 PM, Tony Baldwin wrote: On 09/16/2016 06:20 PM, Ric Moore wrote: On 09/16/2016 10:56 AM, Tony Baldwin wrote: But in my old age, I can't remember for the life of me how I did it. I don't believe it was with update-alternatives. I think I edited some config file

Re: update-alternatives, list alternatives?

2016-09-16 Thread Dutch Ingraham
On Fri, Sep 16, 2016 at 06:55:58PM -0400, Tony Baldwin wrote: > On 09/16/2016 06:19 PM, Liam O'Toole wrote: > > openbox doesn't have a GUI for setting up the association you want. > > Instead, go to the file ~/.config/mimeapps.list (creating it if > > necessary) and add the following: > > > > [Add

Re: update-alternatives, list alternatives?

2016-09-16 Thread Tony Baldwin
x27;t remember for the life of me how I did it. I don't believe it was with update-alternatives. I think I edited some config file somewhere, but for the life of me, I can't recall where. A quick bit of Googling finds a discussion of a similar subject from a few years back: http://for

Re: update-alternatives, list alternatives?

2016-09-16 Thread Tony Baldwin
On 09/16/2016 06:20 PM, Ric Moore wrote: On 09/16/2016 10:56 AM, Tony Baldwin wrote: But in my old age, I can't remember for the life of me how I did it. I don't believe it was with update-alternatives. I think I edited some config file somewhere, but for the life of me, I can'

Re: update-alternatives, list alternatives?

2016-09-16 Thread Liam O'Toole
x27;m using now.) But in my old age, >>> I can't remember for the life of me how I did it. I don't believe it >>> was with update-alternatives. I think I edited some config file >>> somewhere, but for the life of me, I can't recall where. >> >> A

Re: update-alternatives, list alternatives?

2016-09-16 Thread Ric Moore
On 09/16/2016 10:56 AM, Tony Baldwin wrote: But in my old age, I can't remember for the life of me how I did it. I don't believe it was with update-alternatives. I think I edited some config file somewhere, but for the life of me, I can't recall where. Crank up Settings Manage

Re: update-alternatives, list alternatives?

2016-09-16 Thread Dutch Ingraham
On Fri, Sep 16, 2016 at 04:50:49PM -0400, Anthony Baldwin wrote: > I just want icedove to be the default mua, and to work with chromium when I > click on a mailto:// link. I don't have Icedove handy, but on Thunderbird, I just go to edit -> preferences -> advanced, then click "check now" under "S

Re: update-alternatives, list alternatives?

2016-09-16 Thread Anthony Baldwin
rking on the Jessie on an hdd that just died on me (thankfully not until I'd downloaded and made an install disk to install on the other hdd, which I'm using now.) But in my old age, I can't remember for the life of me how I did it. I don't believe it was with update-alternatives

Re: update-alternatives, list alternatives?

2016-09-16 Thread Tony Baldwin
. I had it working on the Jessie on an hdd that just died on me (thankfully not until I'd downloaded and made an install disk to install on the other hdd, which I'm using now.) But in my old age, I can't remember for the life of me how I did it. I don't believe it was with

Re: update-alternatives, list alternatives?

2016-09-16 Thread Greg Wooledge
On Fri, Sep 16, 2016 at 10:56:44AM -0400, Tony Baldwin wrote: > Indeed: > # update-alternatives --get-selections | grep mail > mailx auto /usr/bin/bsd-mailx > > but also: > # update-alternatives --config mailx > There is only one alternativ

Re: update-alternatives, list alternatives?

2016-09-16 Thread The Wanderer
; I had this done on the last Jessie system I had (on a now defunct hdd). >>> But I can't recall how I did it, if it was with update-alternative or >>> some other means.. >>> And something that's been bothering me for a while is: >>> I can't seem to fi

Re: update-alternatives, list alternatives?

2016-09-16 Thread Tony Baldwin
ith update-alternative or some other means.. And something that's been bothering me for a while is: I can't seem to find or figure out how to list all the alternatives I can manage with update-alternatives. I mean, I can get a list for a particular item, like x-www-browser or editor, but

Re: update-alternatives, list alternatives?

2016-09-16 Thread The Wanderer
ve or > some other means.. > And something that's been bothering me for a while is: > I can't seem to find or figure out how to list all the alternatives I > can manage with update-alternatives. > I mean, I can get a list for a particular item, like x-www-browser or > e

Re: update-alternatives, list alternatives?

2016-09-16 Thread Greg Wooledge
On Fri, Sep 16, 2016 at 10:10:44AM -0400, Tony Baldwin wrote: > I can't seem to find or figure out how to list all the alternatives I > can manage with update-alternatives. > I mean, I can get a list for a particular item, like x-www-browser or > editor, but I want a list of a

update-alternatives, list alternatives?

2016-09-16 Thread Tony Baldwin
for a while is: I can't seem to find or figure out how to list all the alternatives I can manage with update-alternatives. I mean, I can get a list for a particular item, like x-www-browser or editor, but I want a list of all those possible things to update (x-www-browser, editor, etc.)

Resolved: update-alternatives failure to set/config x-www-browser

2016-09-05 Thread Tony Baldwin
On 09/05/2016 08:39 AM, Christian Seiler wrote: Hi, Am 5. September 2016 14:31:45 MESZ, schrieb Tony Baldwin : I have done sudo update-alternatives --config x-www-browser about 50 times in this past week, and chosen chromium-browser as my goto/default, but links >from icedove keep opening

Re: update-alternatives failure to set/config x-www-browser

2016-09-05 Thread Christian Seiler
Hi, Am 5. September 2016 14:31:45 MESZ, schrieb Tony Baldwin : >I have done >sudo update-alternatives --config x-www-browser about 50 times in this >past week, and chosen chromium-browser as my goto/default, but links >from icedove keep opening in iceweasel, no matter what. &g

update-alternatives failure to set/config x-www-browser

2016-09-05 Thread Tony Baldwin
I have done sudo update-alternatives --config x-www-browser about 50 times in this past week, and chosen chromium-browser as my goto/default, but links from icedove keep opening in iceweasel, no matter what. ??? Thanks, Tony -- http://tonybaldwin.me all tony, all the time

Update-alternatives: error: alternative path doesn't exist

2015-10-06 Thread ThanhVu (Vu) Nguyen
I am using Debian Jessie 8 and got some problems below when using update-alteranatives. I suspect something is wrong with my update-alternatives setting but not sure how to check or fix. Any suggestion ? Installing clang $ sudo apt-get install clang Reading package lists... Done Building

Update-alternatives errors when installing clang or ghc

2015-10-05 Thread ThanhVu (Vu) Nguyen
When doing apt-get install clang (or ghc) on Debian Jessie 8 , I got the following errors with update-alternatives. Is there something wrong with my update-alternatives installation ? ... Setting up ghc (7.6.3-21) ... update-alternatives: error: alternative path /usr/bin/runghc doesn't

Re: Cannot make update-alternatives do what I want

2014-11-07 Thread Ken Heard
e "auto" selection, >> and the Iceweasel browser is listed as a "manual" alternative. >> >> Command "update-alternatives --config x-www-browser" ostensibly >> allows me to change to the preferred "manual" browser by >> selecti

Re: Cannot make update-alternatives do what I want

2014-11-07 Thread Christian Seiler
includes a browser. So both browsers are mentioned in the x-www-browser section of /etc/alternatives. The Iceape browser is the "auto" selection, and the Iceweasel browser is listed as a "manual" alternative. Command "update-alternatives --config x-www-browser" ost

Re: Cannot make update-alternatives do what I want -- workaround

2014-11-07 Thread Ken Heard
I got around the problem described above -- perhaps the long way around -- first by purging that old version of Iceape. Doing so made Iceweasel the sole browser mentioned in the x-www-browser section of /etc/alternatives. To provide a simple composer that I am used to I installed the latest

Cannot make update-alternatives do what I want

2014-11-07 Thread Ken Heard
mentioned in the x-www-browser section of /etc/alternatives. The Iceape browser is the "auto" selection, and the Iceweasel browser is listed as a "manual" alternative. Command "update-alternatives --config x-www-browser" ostensibly allows me to change to the

update-alternatives warnings (post upgrade to wheezy)

2013-11-03 Thread Itay
Hi, During upgrade squeeze --> wheezy I got multiple warnings from update-alternatives like this: alternative /usr/lib/nvidia/diversions/libGL.so.1 (part of link group libGL.so.1) doesn't exist; removing from list of alternatives And quite a few others. Is it something to wor

Re: a question concerning rxvt-unicode and update-alternatives

2013-09-18 Thread Dan Ritter
On Wed, Sep 18, 2013 at 02:34:13AM +1200, Chris Bannister wrote: > > The rxvt-unicode program is now already installed, but when it does not > > seemed to be offered in: > > > > update-alternatives --list x-terminal-emulator > > > > None of the existing

Re: a question concerning rxvt-unicode and update-alternatives

2013-09-17 Thread Chris Bannister
On Mon, Sep 16, 2013 at 01:46:22PM +0100, Matej Kosik wrote: > Hi, > > I would like to set > > rxvt-unicode > > program as x-terminal-enulator. Is this supposed to be possible? Oops, disregard my mail about reporting a bug. I was a bit too quick reading the thread. :( -- "If you're not

Re: a question concerning rxvt-unicode and update-alternatives

2013-09-17 Thread Chris Bannister
code program is now already installed, but when it does not > seemed to be offered in: > > update-alternatives --list x-terminal-emulator > > None of the existing options: > > /usr/bin/aterm-xterm > /usr/bin/koi8rxterm > /usr/bin/lxterm > /

Re: a question concerning rxvt-unicode and update-alternatives

2013-09-16 Thread Jaime Tarrant
pposed to be possible? > > The rxvt-unicode program is now already installed, but when it does not > seemed to be offered in: > > update-alternatives --list x-terminal-emulator > [snip] The one you are after is: urxvt /usr/bin/urxvt You can confirm this by:

Re: a question concerning rxvt-unicode and update-alternatives

2013-09-16 Thread recovery...@gmail.com
Hi Unless they changed in jessie, /usr/bin/urxvt is the binary you need. It definitely supports Unicode in wheezy, at least. Reco -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://list

a question concerning rxvt-unicode and update-alternatives

2013-09-16 Thread Matej Kosik
Hi, I would like to set rxvt-unicode program as x-terminal-enulator. Is this supposed to be possible? The rxvt-unicode program is now already installed, but when it does not seemed to be offered in: update

Re: update-alternatives

2012-05-21 Thread Johann Spies
On Fri, May 18, 2012 at 05:06:51PM +0200, Camaleón wrote: > > "Priorities" is a package (and also a repository) concept. > > What "update-alternatives" allows is setting the default aplication when > several programs provide the same funcionality (e.g., brow

Re: update-alternatives

2012-05-18 Thread Camaleón
ity installed alternatives. > > What I did not understand previously from the manpage is what determines > 'highest priority'. I was under the impression that one can change that > with update-alternatives and I did not realise that it was a by-product > of the packaged alte

Re: update-alternatives

2012-05-16 Thread Alberto Fuentes
On 05/16/2012 09:28 AM, Johann Spies wrote: Even though technically correct, it did not help me on the first (and second read) to understand it correctly although I am an experienced Debian user and was system administrator for 10 years. patch for the man page? :) -- To UNSUBSCRIBE, email to

Re: update-alternatives

2012-05-16 Thread Johann Spies
hest priority'. I was under the impression that one can change that with update-alternatives and I did not realise that it was a by-product of the packaged alternatives' installation. After the explanation on the list and reading the man page again, this became clear to me. Even though te

Re: update-alternatives

2012-05-15 Thread Camaleón
On Tue, 15 May 2012 09:17:25 +0200, Johann Spies wrote: > I have checked the man page and the Debian Handbook but I am not sure > how to influence the 'auto' setting for update-alnatives. (...) > I cannot figure out from this how to get to 'auto' mode. (...) And what's what you want to get e

Re: update-alternatives

2012-05-15 Thread Andrei POPESCU
On Ma, 15 mai 12, 09:17:25, Johann Spies wrote: > I have checked the man page and the Debian Handbook but I am not sure > how to influence the 'auto' setting for update-alternatives. I think you are misunderstanding the meaning of 'auto' in the context of update-alterna

update-alternatives

2012-05-15 Thread Johann Spies
I have checked the man page and the Debian Handbook but I am not sure how to influence the 'auto' setting for update-alternatives. eg. % update-alternatives --config x-www-browser update-alternatives --config x-www-browser There are 6 choices for the alternative x-www-browser (provi

Re: update-alternatives vs. dpkg-divert [was: Re: rt kernel and nouveau]

2012-03-29 Thread Tom H
On Wed, Mar 28, 2012 at 11:35 AM, Andrei POPESCU wrote: > On Mi, 28 mar 12, 11:08:13, Tom H wrote: >> On Wed, Mar 28, 2012 at 8:32 AM, Andrei POPESCU >> wrote: >> > On Ma, 27 mar 12, 16:45:39, Tom H wrote: >> >> On Mon, Mar 26, 2012 at 10:44 AM, Andrei POPESCU >> >> wrote: >> >>> On Jo, 22 mar 1

Re: update-alternatives vs. dpkg-divert [was: Re: rt kernel and nouveau]

2012-03-28 Thread Brian
On Wed 28 Mar 2012 at 18:35:49 +0300, Andrei POPESCU wrote: > By "locally diverting" Sven meant using dpkg-divert(8) which is the > correct tool for what he ended up doing. I have a machine for which I want to manually manage grub.cfg and I agree totally with you (and Sven, of course). It's a br

update-alternatives vs. dpkg-divert [was: Re: rt kernel and nouveau]

2012-03-28 Thread Andrei POPESCU
On Mi, 28 mar 12, 11:08:13, Tom H wrote: > On Wed, Mar 28, 2012 at 8:32 AM, Andrei POPESCU > wrote: > > On Ma, 27 mar 12, 16:45:39, Tom H wrote: > >> On Mon, Mar 26, 2012 at 10:44 AM, Andrei POPESCU > >> wrote: > >>> On Jo, 22 mar 12, 17:28:26, Sven Joachim wrote: > > > > Getting grub2 to

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-15 Thread Merciadri Luca
folder, whose bin/ was containing >> java. I managed to make it default: >> > > (...) > > Glad you finally got it working :-) > > (...) > > >> and now Eclipse works like a charm. The Sun's version is actually >> incompatible in some way wi

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-15 Thread Camaleón
patible in some way with Debian (Lenny, at least). The > java-6-sun-1.6.0.20 was already installed, and comes from the non-free > depos. That is what I have, yes. > But it was not recognized (and interpreted) by > update-alternatives. Why? Dunno, I have no problems at all with

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-15 Thread Merciadri Luca
a package from Debian "non-free" > repo :-) > # apt-get install sun-java6-plugin sun-java6-jre sun-java6-jdk sun-java6-bin Reading package lists... Done Building dependency tree Reading state information... Done sun-java6-jre is already the newest version. sun-java6-j

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-15 Thread Camaleón
On Sun, 15 Aug 2010 10:13:27 +0200, Merciadri Luca wrote: > Camaleón wrote: (...) >> Try by manually forcing the full path to java bin: >> >> *** >> ./eclipse -debug -vm >> /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/jre/bin/java *** >> > Thanks for the trick. It first gives a box `No

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-15 Thread Merciadri Luca
Camaleón wrote: > On Sat, 14 Aug 2010 21:00:10 +0200, Merciadri Luca wrote: > > > > > > (...) > > > > (...) > > > > The above path... not sure if it's right. > > Try by manually forcing the full path to java bin: > > *** > ./eclipse -debug -vm > /usr/lib/jvm/java-6-sun/sun-java6-6-12/j

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-14 Thread Camaleón
On Sat, 14 Aug 2010 21:00:10 +0200, Merciadri Luca wrote: > Camaleón wrote: >> Can you launch "eclipse" with some "-debug" option? Maybe you'll get >> additonal information. >> > Sure. > > == > $ ./eclipse -debug (...) > -vm > /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/bin/../jre/li

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-14 Thread Merciadri Luca
Camaleón wrote: > Can you launch "eclipse" with some "-debug" option? Maybe you'll get > additonal information. > Sure. == $ ./eclipse -debug Start VM: -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx384m -Djava.class.path=/home/merciadriluca/eclipse/plugins/org.eclipse.equinox

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-14 Thread Camaleón
On Sat, 14 Aug 2010 15:53:02 +0200, Merciadri Luca wrote: > Camaleón wrote: (...) >>> == >>> $ eclipse/eclipse >>> Error occurred during initialization of VM >>> java/lang/NoClassDefFoundError: java/lang/Object == >>> >>> Why? >>> >>> >> He, he... you can also Google a bit, it won't hu

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-14 Thread Merciadri Luca
Camaleón wrote: > On Sat, 14 Aug 2010 15:17:14 +0200, Merciadri Luca wrote: > > >> Camaleón wrote: >> > > (...) > > >>> Two ideas on how to by-pass this: >>> >>> 1/ If Eclipse has an option to edit the path to the avilable JRE, just >>> change it from there, or just by manually editing "

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-14 Thread Camaleón
On Sat, 14 Aug 2010 15:17:14 +0200, Merciadri Luca wrote: > Camaleón wrote: (...) >> Two ideas on how to by-pass this: >> >> 1/ If Eclipse has an option to edit the path to the avilable JRE, just >> change it from there, or just by manually editing "/etc/eclipse/ >> java_home". >> >> 2/ Make a s

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-14 Thread Merciadri Luca
Camaleón wrote: > On Sat, 14 Aug 2010 13:45:31 +0200, Merciadri Luca wrote: > > (...) > > >> Really nice, but Eclipse seems not to like it that much: >> >> == >> A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be >> available in order to run Eclipse. No Java virtual machine w

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-14 Thread Camaleón
On Sat, 14 Aug 2010 13:45:31 +0200, Merciadri Luca wrote: (...) > Really nice, but Eclipse seems not to like it that much: > > == > A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be > available in order to run Eclipse. No Java virtual machine was found > after searching the

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-14 Thread Merciadri Luca
Camaleón wrote: > On Fri, 13 Aug 2010 22:57:11 +0200, Merciadri Luca wrote: > > >> Camaleón wrote: >> > > (...) > > >>> *** >>> update-alternatives --install /usr/bin/java java >>> /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-13 Thread Camaleón
On Fri, 13 Aug 2010 22:57:11 +0200, Merciadri Luca wrote: > Camaleón wrote: (...) >> *** >> update-alternatives --install /usr/bin/java java >> /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12/jre/bin/java 1 *** >> > Thanks for this. And about java-up

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-13 Thread Merciadri Luca
itself as a window manager for some reason > (file a bug if it's in error), or if you use a window manager from /usr/ > local directory, the selections on screen won't contain your preferred > entry. You can update the link through command line options, like this: > > up

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-13 Thread Merciadri Luca
Merciadri Luca wrote: > 1) My question was about the difference between > > == > # update-alternatives --config java > There are 2 alternatives which provide `java'. > > Selection Alternative > --- > 1 /usr/bin/gij-4.3

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-13 Thread Camaleón
update-java-alternatives and update-alternatives. One must be more > prioritary than another, and the most prioritary one needs to be set to > Sun's one. By reading this manual: *** http://www.debian.org/doc/FAQ/ch-customizing.en.html (section 11.10) If a package doesn't regist

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-13 Thread Merciadri Luca
- >> > > (...) > > Sure, Sun's java "bin" is in your system and you can launch any java > application by calling the full path ("/usr/lib/jvm/java-6-sun/sun- > java6-6-12/jdk1.6.0_12/jre/bin/java -jar ...") , is just that "update- >

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-13 Thread Camaleón
an launch any java application by calling the full path ("/usr/lib/jvm/java-6-sun/sun- java6-6-12/jdk1.6.0_12/jre/bin/java -jar ...") , is just that "update- alternatives" cannot auto-link for "java -jar ..." to your current Sun binary, which was installed from "

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-13 Thread Jordan Metzmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 08/13/2010 02:42 PM, Merciadri Luca wrote: > Jordan Metzmeier wrote: >> Java has a separate alternatives command. It is >> "update-java-alternatives". >> > # update-java-alternatives -l > java-6-sun 63 /usr/lib/jvm/java-6-sun > java-gcj 1042 /usr/

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-13 Thread Merciadri Luca
Jordan Metzmeier wrote: > Java has a separate alternatives command. It is > "update-java-alternatives". > # update-java-alternatives -l java-6-sun 63 /usr/lib/jvm/java-6-sun java-gcj 1042 /usr/lib/jvm/java-gcj Normal? -- Merciadri Luca See http://www.student.montefiore.ulg.ac.be/~merciadri/ I u

Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?

2010-08-13 Thread Merciadri Luca
"java-6-sun" >>> *** >>> >>> If it's not there, I guess it won't be detected/managed by "update- >>> alternatives" :-? >>> >>> >>> >>> Hmmm, by creating a symbolic link in the above dir? But maybe

  1   2   >