New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Tiny little hack... 0.30.3

How are you using your Bubba? Got ideas for a cool modification? Share!
bubbalibre
Posts: 117
Joined: 01 Feb 2007, 09:33
Location: Paris, France

Post by bubbalibre »

Johnny wrote:Is this the correct command for making a backup of the files:

Code: Select all

cp /usr/share/web-admin /usr/share/web-admin.backup
Quite. First of all, you shouldn't make the backup in this directory, for it's shared with all users. Instead make it in your home folder... and another one on your own computer.

Let's say you're just connected via ssh. You're in your home directory. Switch to root:

Code: Select all

su root
Create the backup directory:

Code: Select all

mkdir web-admin.backup
Then copy all the files in it:

Code: Select all

cp -r /usr/share/web-admin/* web-admin.backup
The "-r" stands for recursively.

But if you're connected with sftp or ssh in graphic mode, you can also drag'n drop the directory on your desktop :wink:
Johnny
Posts: 50
Joined: 20 Feb 2007, 14:42
Location: Sweden

Post by Johnny »

Thanks, that worked like a charm....

Now my bubba looks even cooler! :D
Johnny
Posts: 50
Joined: 20 Feb 2007, 14:42
Location: Sweden

Post by Johnny »

Just updated my Bubba to version 0.31.1-1 and now I'm back to the rather dull blue-ish UI (sorry Tor and you other Bubba guys) :(

1. Will this hack still work on the new version?

2. Tor - Isn't it possible to incorporate some kind of chooseable skin function in the admin settings window? That way users could install different skins (like this hack) and be able to choose how their Bubba UI should look like in the settings window.

Anyway thanks for a great product!

/Johnny
bubbalibre
Posts: 117
Joined: 01 Feb 2007, 09:33
Location: Paris, France

Post by bubbalibre »

Johnny wrote:Will this hack still work on the new version?
Hi Johnny,

Since the changes of the new version concern mainly the downloader, you shouldn't use this hack after updating. I will release a new version later this night.

Thanks for your interest.
Johnny
Posts: 50
Joined: 20 Feb 2007, 14:42
Location: Sweden

Post by Johnny »

bubbalibre wrote: Hi Johnny,

Since the changes of the new version concern mainly the downloader, you shouldn't use this hack after updating. I will release a new version later this night.

Thanks for your interest.

Great bubbalibre....looking forward to that! :D
lelle
Posts: 69
Joined: 02 Jan 2007, 20:25
Location: Stockholm, Sweden

Post by lelle »

Johnny wrote:
bubbalibre wrote: Hi Johnny,

Since the changes of the new version concern mainly the downloader, you shouldn't use this hack after updating. I will release a new version later this night.

Thanks for your interest.

Great bubbalibre....looking forward to that! :D
Me too :D
tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post by tor »

Hi,

A comment on skin or themes.

We have thought about it. But unfortunately that is a feature that would take to much time at the moment to implement. But get us right, we are deeply impressed by the work you have done with these alterations of the UI and if we had the resources we would love to implement theming.

What we perhaps could do is to change the stylesheet file we use be a configuration file in our package. That would mean that if a user would modify it, it shouldnt be overwritten when the other files are being updated.

That would at least give you some freedom in customizing the UI and not having it destroyed by updates.

/Tor
Co-founder OpenProducts and Ex Excito Developer
bubbalibre
Posts: 117
Joined: 01 Feb 2007, 09:33
Location: Paris, France

Post by bubbalibre »

Here it is: Regards,
Johnny
Posts: 50
Joined: 20 Feb 2007, 14:42
Location: Sweden

Post by Johnny »

bubbalibre wrote:Here it is: Regards,
Thanks bubbalibre....I see you have had a long night, posting it 2:49 am! :wink:

I'm grateful for your work :D
Johnny
Posts: 50
Joined: 20 Feb 2007, 14:42
Location: Sweden

Post by Johnny »

tor wrote: That would at least give you some freedom in customizing the UI and not having it destroyed by updates.
/Tor
That would be great!
Johnny
Posts: 50
Joined: 20 Feb 2007, 14:42
Location: Sweden

Post by Johnny »

Bubbalibre - Please help me!

I'm trying to install your theme on my bubba but I can't. I did this before updating the firmware to 0.31.1-1 and therefore I already has made a backup of the web-admin folder inside my user folder. This folder I now want to delete so that I can make a new backup, before I can install your theme ones again, but I can't because it won't allow me - I don't have the permission!

What's the code to delete the "web-admin.backup" folder in my user folder?

/Johnny
bubbalibre
Posts: 117
Joined: 01 Feb 2007, 09:33
Location: Paris, France

Post by bubbalibre »

Hi Johnny,

There a command to delete a folder: rmdir, but the folder have to be empty.

There is also a command to delete files: rm, but it doesn't work with folders.

Finaly, you can use rm with an argument: -r (recursively again).

Code: Select all

rm -r web-admin.backup
More informations: rm --help
Complete manual page: man rm

Regards,
Johnny
Posts: 50
Joined: 20 Feb 2007, 14:42
Location: Sweden

Post by Johnny »

bubbalibre wrote:Hi Johnny,

There a command to delete a folder: rmdir, but the folder have to be empty.

There is also a command to delete files: rm, but it doesn't work with folders.

Finaly, you can use rm with an argument: -r (recursively again).

Code: Select all

rm -r web-admin.backup
More informations: rm --help
Complete manual page: man rm

Regards,
Thanks for your quick response....that worked!
Locked