* [gentoo-amd64] firefox vs firefox-bin restored on kde session @ 2007-11-20 21:15 Antoine Martin 2007-11-20 22:46 ` Beso 2007-11-27 18:59 ` [gentoo-amd64] " YoYo Siska 0 siblings, 2 replies; 9+ messages in thread From: Antoine Martin @ 2007-11-20 21:15 UTC (permalink / raw To: gentoo-amd64 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi list, I've got kde 3.5 and I'm using both Firefox 1.5 and Firefox-bin 2.0 Problem is that whenever I restore a kde session it's the wrong Firefox that gets restarted... Any ideas? Cheers Antoine -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHQ06LGK2zHPGK1rsRCsHaAJ9ksAsQXqReY2MjstAsLMkOGJ6JVACeMs9a QaLtj/zyMu2BYL8sPacwk4g= =rzNF -----END PGP SIGNATURE----- -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] firefox vs firefox-bin restored on kde session 2007-11-20 21:15 [gentoo-amd64] firefox vs firefox-bin restored on kde session Antoine Martin @ 2007-11-20 22:46 ` Beso 2007-11-21 18:53 ` Antoine Martin 2007-11-27 18:59 ` [gentoo-amd64] " YoYo Siska 1 sibling, 1 reply; 9+ messages in thread From: Beso @ 2007-11-20 22:46 UTC (permalink / raw To: gentoo-amd64 [-- Attachment #1: Type: text/plain, Size: 959 bytes --] close it before shuting down.... and shut down from the close session of kde and not from konsole with init 0 or shutdown. in that way you'll see that it won't restart again. if you mean that it starts the wrong version when clicking on the firefox link, set the link to firefox from firefox-bin. 2007/11/20, Antoine Martin <antoine@nagafix.co.uk>: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Hi list, > > I've got kde 3.5 and I'm using both Firefox 1.5 and Firefox-bin 2.0 > Problem is that whenever I restore a kde session it's the wrong Firefox > that gets restarted... > Any ideas? > > Cheers > Antoine > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.7 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHQ06LGK2zHPGK1rsRCsHaAJ9ksAsQXqReY2MjstAsLMkOGJ6JVACeMs9a > QaLtj/zyMu2BYL8sPacwk4g= > =rzNF > -----END PGP SIGNATURE----- > -- > gentoo-amd64@gentoo.org mailing list > > -- dott. ing. beso [-- Attachment #2: Type: text/html, Size: 1365 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] firefox vs firefox-bin restored on kde session 2007-11-20 22:46 ` Beso @ 2007-11-21 18:53 ` Antoine Martin 2007-11-21 19:38 ` Beso 0 siblings, 1 reply; 9+ messages in thread From: Antoine Martin @ 2007-11-21 18:53 UTC (permalink / raw To: gentoo-amd64 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Beso wrote: > close it before shuting down.... and shut down from the close session of kde > and not from konsole with init 0 or shutdown. > in that way you'll see that it won't restart again. Thing is, I would like it to restart (so I don't have to shut it down everytime) - just restart the right one! Surely there is an Autostart script or something I could put together to make it do the right thing? > if you mean that it starts the wrong version when clicking on the firefox > link, set the link to firefox from firefox-bin. > > 2007/11/20, Antoine Martin <antoine@nagafix.co.uk>: > Hi list, > > I've got kde 3.5 and I'm using both Firefox 1.5 and Firefox-bin 2.0 > Problem is that whenever I restore a kde session it's the wrong Firefox > that gets restarted... > Any ideas? > > Cheers > Antoine - -- gentoo-amd64@gentoo.org mailing list >> >> -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHRH6OGK2zHPGK1rsRCokNAJ9jFJbJzAGe0PTN0fpyIHjoa4xZBwCdFCzp 8zjwz9+eduGs3GCifuWsqLw= =Geo8 -----END PGP SIGNATURE----- -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] firefox vs firefox-bin restored on kde session 2007-11-21 18:53 ` Antoine Martin @ 2007-11-21 19:38 ` Beso 2007-11-26 21:44 ` Antoine Martin 0 siblings, 1 reply; 9+ messages in thread From: Beso @ 2007-11-21 19:38 UTC (permalink / raw To: gentoo-amd64 [-- Attachment #1: Type: text/plain, Size: 2222 bytes --] hmmm.... maybe you didn't understood.... when you shutdown, restart or whatever kde its last session will continue to load as it was before restart. the problem is that when you do a restart/shutdown ecc from the kde session the next time the session which will load will be the last one to load, but when you do force a restart then the last session would be the one before the forced restart. now, if this is not your case for firefox autostart there are 2 ways: 1. the firefoxstarter app 2. a link in your /home/foo/.kde/Autostart/ directory. for what i know there aren't other methods of autostarting something something on kde. if you want your firefox to load after login then place a symlink to firefox in the autostart directory. you could also use the firefoxstarter, but it has the problem that you have to exit it when flash breaks with nspluginwrapper. 2007/11/21, Antoine Martin <antoine@nagafix.co.uk>: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Beso wrote: > > close it before shuting down.... and shut down from the close session of > kde > > and not from konsole with init 0 or shutdown. > > in that way you'll see that it won't restart again. > Thing is, I would like it to restart (so I don't have to shut it down > everytime) - just restart the right one! > > Surely there is an Autostart script or something I could put together to > make it do the right thing? > > > if you mean that it starts the wrong version when clicking on the > firefox > > link, set the link to firefox from firefox-bin. > > > > 2007/11/20, Antoine Martin <antoine@nagafix.co.uk>: > > Hi list, > > > > I've got kde 3.5 and I'm using both Firefox 1.5 and Firefox-bin 2.0 > > Problem is that whenever I restore a kde session it's the wrong Firefox > > that gets restarted... > > Any ideas? > > > > Cheers > > Antoine > - -- > gentoo-amd64@gentoo.org mailing list > >> > >> > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.7 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHRH6OGK2zHPGK1rsRCokNAJ9jFJbJzAGe0PTN0fpyIHjoa4xZBwCdFCzp > 8zjwz9+eduGs3GCifuWsqLw= > =Geo8 > -----END PGP SIGNATURE----- > -- > gentoo-amd64@gentoo.org mailing list > > -- dott. ing. beso [-- Attachment #2: Type: text/html, Size: 2831 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] firefox vs firefox-bin restored on kde session 2007-11-21 19:38 ` Beso @ 2007-11-26 21:44 ` Antoine Martin 2007-11-27 8:39 ` Beso 2007-11-27 11:09 ` Duncan 0 siblings, 2 replies; 9+ messages in thread From: Antoine Martin @ 2007-11-26 21:44 UTC (permalink / raw To: gentoo-amd64 Beso wrote: > hmmm.... maybe you didn't understood.... > when you shutdown, restart or whatever kde its last session will continue to > load as it was before restart. Well, maybe you misunderstood my question: the session does not resume as it was but with the wrong version of firefox. > the problem is that when you do a > restart/shutdown ecc from the kde session the next time the session which > will load will be the last one to load, but when you do force a restart then > the last session would be the one before the forced restart. That's not the problem here. > now, if this is not your case for firefox autostart there are 2 ways: > 1. the firefoxstarter app > 2. a link in your /home/foo/.kde/Autostart/ directory. > for what i know there aren't other methods of autostarting something > something on kde. > if you want your firefox to load after login then place a symlink to firefox > in the autostart directory. > you could also use the firefoxstarter, but it has the problem that you have > to exit it when flash breaks with nspluginwrapper. I don't want to add an autostart (as shown above, that's easy), just find where the session applications are saved so I can zap the wrong copy of firefox from it (and script this step if necessary). Antoine > 2007/11/21, Antoine Martin <antoine@nagafix.co.uk>: > Beso wrote: >>>> close it before shuting down.... and shut down from the close session of > kde >>>> and not from konsole with init 0 or shutdown. >>>> in that way you'll see that it won't restart again. > Thing is, I would like it to restart (so I don't have to shut it down > everytime) - just restart the right one! > > Surely there is an Autostart script or something I could put together to > make it do the right thing? > >>>> if you mean that it starts the wrong version when clicking on the > firefox >>>> link, set the link to firefox from firefox-bin. >>>> >>>> 2007/11/20, Antoine Martin <antoine@nagafix.co.uk>: >>>> Hi list, >>>> >>>> I've got kde 3.5 and I'm using both Firefox 1.5 and Firefox-bin 2.0 >>>> Problem is that whenever I restore a kde session it's the wrong Firefox >>>> that gets restarted... >>>> Any ideas? >>>> >>>> Cheers >>>> Antoine -- gentoo-amd64@gentoo.org mailing list >> >> -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] firefox vs firefox-bin restored on kde session 2007-11-26 21:44 ` Antoine Martin @ 2007-11-27 8:39 ` Beso 2007-11-27 10:56 ` [gentoo-amd64] " Duncan 2007-11-27 11:09 ` Duncan 1 sibling, 1 reply; 9+ messages in thread From: Beso @ 2007-11-27 8:39 UTC (permalink / raw To: gentoo-amd64 [-- Attachment #1: Type: text/plain, Size: 2407 bytes --] 2007/11/26, Antoine Martin <antoine@nagafix.co.uk>: > > Beso wrote: > > hmmm.... maybe you didn't understood.... > > when you shutdown, restart or whatever kde its last session will > continue to > > load as it was before restart. > Well, maybe you misunderstood my question: the session does not resume > as it was but with the wrong version of firefox. this is due to a wrong shutdown... the only way of this to happen is a forced kill of kde. there's no other way for it to happen. anyway for what i know of kde sessions you just need to remove everything in: /var/tmp/kdecache-<user> /tmp/ksocket-<user> and have these directories writable (but if you login they should already be writable). just in case do a ls -l on them and see if they are at least drwxr--r-- 2 <user> users (this means that the directory is owned by the user, of group users which has full permissions, while the group members have read permission and the other users not in the users group have read permissions). this is the minimum required permissions for kde to run. if they're are lower (for the specific user) kde won't work. > the problem is that when you do a > > restart/shutdown ecc from the kde session the next time the session > which > > will load will be the last one to load, but when you do force a restart > then > > the last session would be the one before the forced restart. > That's not the problem here. as i've said before, it's quite impossible for kde to restart a wrong session on restart if it wasn't killed. > now, if this is not your case for firefox autostart there are 2 ways: > > 1. the firefoxstarter app > > 2. a link in your /home/foo/.kde/Autostart/ directory. > > for what i know there aren't other methods of autostarting something > > something on kde. > > if you want your firefox to load after login then place a symlink to > firefox > > in the autostart directory. > > you could also use the firefoxstarter, but it has the problem that you > have > > to exit it when flash breaks with nspluginwrapper. > I don't want to add an autostart (as shown above, that's easy), just > find where the session applications are saved so I can zap the wrong > copy of firefox from it (and script this step if necessary). > > Antoine hmmm, maybe you've added the autostart item in the Autostart. verify it and remove if necessary. look in the directory specified above. -- dott. ing. beso [-- Attachment #2: Type: text/html, Size: 3146 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-amd64] Re: firefox vs firefox-bin restored on kde session 2007-11-27 8:39 ` Beso @ 2007-11-27 10:56 ` Duncan 0 siblings, 0 replies; 9+ messages in thread From: Duncan @ 2007-11-27 10:56 UTC (permalink / raw To: gentoo-amd64 Beso <givemesugarr@gmail.com> posted d257c3560711270039h58edc4e9iff4ea98c72df0841@mail.gmail.com, excerpted below, on Tue, 27 Nov 2007 09:39:03 +0100: > anyway for what i know of kde sessions you just need to remove > everything in: > > /var/tmp/kdecache-<user> > /tmp/ksocket-<user> > > and have these directories writable (but if you login they should > already be writable). just in case do a ls -l on them and see if they > are at least drwxr--r-- 2 <user> users (this means that the directory > is owned by the user, of group users which has full permissions, while > the group members have read permission and the other users not in the > users group have read permissions). this is the minimum required > permissions for kde to run. if they're are lower (for the specific user) > kde won't work. Hmmm... this isn't entirely correct, as I run KDE as my desktop environment of choice (and am running it now), and have neither of those directories, let alone have them at those permissions. KDE (3.5.8) is working just fine. You may be describing the defaults (which IIRC are at least close to that location, tho your permissions look strange to me), but as it happens, both those locations are indirect. The actual location KDE uses (at least here) is several subdirs deep in the user's homedir, with the default apparently being symlinks to the locations you describe. However, if you point those symlinks elsewhere (as I have)... If I'm not mistaken, you will probably find the symlinks under ~/.kde3.5/. In that subdir here, I have one symlink called tmp-<host> (host being the machine's domain name), which points to /tmp/tmp-<user>/kde/kde-<user>. That's KDE's tmpdir, and the path reflects the manual tweaking I've done to better organize my system tmpdir by user. I simply pointed the symlink at the desired location, and it stays that way. The /var/tmp location you listed is similarly handled, only here, /var/tmp is a symlink to the tmpfs mounted /tmp, so everything that'd go in /var/tmp ends up in /tmp, which being tmpfs, is ensured to be just that, temporary. (I have a script that runs at boot to setup the necessary /tmp subdirs and give them the proper permissions so X and KDE work.) The problem I noticed was that with what would have been /var/tmp recreated entirely clean at each boot, KDE was forgetting some useful things. Most of them it reconstructed as necessary without issue, but the favicons for my various knewsticker subscriptions would be blank for sometime after reboot, and I didn't like that, so I decided I needed to do something about it. Turns out that the location KDE actually uses is again in ~/kde3.5, in this case, cache-<host>, which is normally a symlink to /var/tmp/whatever. Again, by pointing that symlink elsewhere, in this case to ~/config/cache/kdecache-<user>, I avoided the problem of KDE forgetting this sort of cached content. Really, it doesn't belong in /var/tmp anyway, but /var/cache or similar. However, I found it more useful to keep it under my user's homedir, so that's where I pointed the link. OK, so that's where my similar dirs are located, and what pointers I had to re-point to the new location. What about permissions? Well, regardless of the permissions on the individual cache dir, the user's homedir is set unreadable by other users. Therefore, it's obviously NOT necessary for it to be readable by other users -- and I can't see why it would need to be and find it a rather disturbing security issue to even consider it, anyway. Why would I want stuff in my cache readable by other users? Of course, it's really just me using it, so no big deal, but certainly in a general multi-user situation, I'd find it rather privacy invasive if other users, particularly those in other groups (conceivably I may wish it to be readable by those in my group), could browse my cache files at will! That said, the dir itself is 0750, so rwxr-x---. Those in the same group could read it if it weren't under the 700 permed homedir, but any random user, regardless of group membership. As for the tmpdir, /tmp/tmp-<user>/kde/kde-<user> is perms 0700 all the way from the tmp-<user> level, so three nested subdirs deep of 0700 perms. Why on earth would another user need access to it? So anyway, as I said, neither of those dirs have to be the given world- read permissions, nor in fact do they even have to exist at all if the user's ~/kde3.5/* symlinks to them are pointed elsewhere, for KDE to work properly. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-amd64] Re: firefox vs firefox-bin restored on kde session 2007-11-26 21:44 ` Antoine Martin 2007-11-27 8:39 ` Beso @ 2007-11-27 11:09 ` Duncan 1 sibling, 0 replies; 9+ messages in thread From: Duncan @ 2007-11-27 11:09 UTC (permalink / raw To: gentoo-amd64 Antoine Martin <antoine@nagafix.co.uk> posted 474B3E3E.9080004@nagafix.co.uk, excerpted below, on Mon, 26 Nov 2007 21:44:30 +0000: > the session does not resume > as it was but with the wrong version of firefox. I don't personally know a whole lot about it as I tend toward konqueror by default (tho I use swfdec/swfdec-mozilla and firefox for surfing youtube and the like, and for the other occasional site that doesn't work well with konqueror), but from what I've read over in the desktop group/ list, the mozilla family of products, firefox, firefox-bin, seamonkey, and thunderbird, all launch using the same mozilla-launcher front-end. What's more, from what I've read, it's actually not uncommon for users to find the wrong one starting automatically at some point, and have to take steps to reconfigure things so the app they want starts. I don't know the details as I said, but I'd suggest you join the gentoo- desktop list, and ask the question there, because I have indeed seen it covered there, and that's considered an appropriate list for such questions as well. Hopefully that at least steers you in the right direction, even if I couldn't help you more directly. =8^\ -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] firefox vs firefox-bin restored on kde session 2007-11-20 21:15 [gentoo-amd64] firefox vs firefox-bin restored on kde session Antoine Martin 2007-11-20 22:46 ` Beso @ 2007-11-27 18:59 ` YoYo Siska 1 sibling, 0 replies; 9+ messages in thread From: YoYo Siska @ 2007-11-27 18:59 UTC (permalink / raw To: gentoo-amd64 Antoine Martin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Hi list, > > I've got kde 3.5 and I'm using both Firefox 1.5 and Firefox-bin 2.0 > Problem is that whenever I restore a kde session it's the wrong Firefox > that gets restarted... > Any ideas? try .kde3.5/share/config/ksmserverrc when I saved a session with firefox running mine had this: [LegacySession: saved by user] clientMachine1=localhost command1=firefox count=1 it had "firefox" as command whether I started firefox or firefox-bin, so this might be the problem changing the command might work (I didn't try.. don't want to re-login and don't want to turn session restoring on... ;) yoyo -- gentoo-amd64@gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-11-27 19:02 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-11-20 21:15 [gentoo-amd64] firefox vs firefox-bin restored on kde session Antoine Martin 2007-11-20 22:46 ` Beso 2007-11-21 18:53 ` Antoine Martin 2007-11-21 19:38 ` Beso 2007-11-26 21:44 ` Antoine Martin 2007-11-27 8:39 ` Beso 2007-11-27 10:56 ` [gentoo-amd64] " Duncan 2007-11-27 11:09 ` Duncan 2007-11-27 18:59 ` [gentoo-amd64] " YoYo Siska
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox