News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Web bookmarks

Started by ccoudsi, September 13, 2009, 04:23:05 AM

Previous topic - Next topic

ccoudsi

In 810 R2.34, I just tried to add some bookmarks to the Computing Menu, no luck, I used the instructions in http://wiki.linuxmce.org/index.php/Adding_new_web_links
Cheers |[BEER]
Charlie,

pigdog

Hi,

Yes, I can verify it doesn't work the way described in the link. 

Also you can't edit /home/public/bookmarks.html because it is autogenerated, says "do not edit" in the header text and doesn't do anything if you do edit. ;)

I wanted to change some links for weather, news, etc. but was unable to.

ccoudsi

Thanks pigdog for the confirmation.
Cheers |[BEER]
Charlie,

tschak909

Yes, it's a long standing bug...

It has to do with the fact that Firefox changed the way it stores bookmarks. Bookmarks.html is no longer used.

There is a compatibility layer, but it hasn't worked properly when i tried to set the appropriate settings into the firefox profile that's generated when it starts.... What needs to happen is we need someone to write code that can read/write the bookmarks store in the sqlite form, and to integrate this into the General_Info_PlugIn.

Please, help here would be much appreciated, as I am swamped.

-Thom

Techstyle

Has this been resolved or has anybody found a work around for the time being?

Techstyle UK Ltd
[url=http://www.techstyleuk.co.uk]http://www.techstyleuk.co.uk[/url]

Techstyle US Inc.
[url=http://www.techstyleus.com]http://www.techstyleus.com[/url]

B34N

Quote from: Techstyle on December 11, 2009, 08:56:56 PM
Has this been resolved or has anybody found a work around for the time being?

Yes. I just found an answer by chatting with people on the IRC. Thanks to possy, Tschack and demnvt.

The bookmarks.html file is copied from /home/public to /home/user_# when you create a user. While you could edit that file, the changes will only appear for new users. You need to edit the bookmarks.html file in the user_# directory for your users. To see who the owner is do "ls -al /home" and it will show you. I tried to change my user to the owner of the /home/user_1 directory but it still wouldn't let me in so I resorted to sudo su to be able to go into the directory and edit the file (after backing the file up of course).

My understanding that this problem came about when firefox changed how it handled bookmarks. A fix is not planned since firefox is going to be replaced with a microbrowser. Should this be put on the Wiki? If so, is there a more appropriate way to get into the user_# directory and edit the bookmarks.html file than using sudo su?




Techstyle

Thanks for the Info I will look at that this evening
Techstyle UK Ltd
[url=http://www.techstyleuk.co.uk]http://www.techstyleuk.co.uk[/url]

Techstyle US Inc.
[url=http://www.techstyleus.com]http://www.techstyleus.com[/url]

Techstyle

I tried this the other day and it worked well, however, I tried to use it tonight and the file was blank.  Could it have been overwritten by something?

On a related subject, I changed the Weather link to http://www.weather.com/weather/today/<My_Zip_Code>.  As this info is available in webadmin, I wonder if this could be generated when Sara asks for your location and then automatically synchronized if the location is changed in webadmin? 
Techstyle UK Ltd
[url=http://www.techstyleuk.co.uk]http://www.techstyleuk.co.uk[/url]

Techstyle US Inc.
[url=http://www.techstyleus.com]http://www.techstyleus.com[/url]

tschak909

yes, it could be.

-Thom