-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans  . 

bespin SVN script

   0.4  

Other KDE Stuff

Score 60%
Num83rGuyNum83rGuy
-
Paul Clark 2

United States of America, Violet Hill
Last visit Apr 24 2014
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--
Downloads:  582
Submitted:  Mar 28 2009

Description:

This is a bash script that grabs the latest SVN of bespin, compiles, then installs it system wide.

You should run the script from your home folder.

The script calls sudo so if your distro uses something else you may need to modify the script. ( Leave a comment with the changes you made and perhaps I can make the script more intelligent. )

TODO:
I would like to make the script more universal.
Also, I would like the script to install the presets, the KDM theme, bootsplash, and the pictures included with the bootsplash and KDM theme as wallpapers.

Here is the contents of the script.

#!/bin/bash

# This script will get, then build and install the Bespin style, window decoration, and xbar plasmoid for KDE.
# You should have all of the build dependencies installed already. Consult your distribution's documentation for instructions on how to do this.

svn co https://cloudcity.svn.sourceforge.net/svnroot/cloudcity

if [ ! -d ~/cloudcity/build ]; then
mkdir ~/cloudcity/build
cd ~/cloudcity/build
else
cd ~/cloudcity/build
fi

cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make
sudo make install




Changelog:

0.4 First public release.




LicenseGPL
other(( bash script ))
Send to a friend
Subscribe
Other  Artwork  from Num83rGuy
Report inappropriate content



-
.

 presets...

 
 by thomas12777 on: Mar 28 2009
 
Score 50%

you can make use of the bespin command line interface to import them
bespin import <some_preset.bespin> will install one, but also create a new entry (using a counter -> Default#2)
i could add "bespin update <some_preset.bespin>"

as for the kdm theme (and bash)

kdm_path="$(kde4-config --path data)"
kdm_path="${kdm_path##*:}kdm/themes/"
-> there goes the bespin folder

kdm_rc="$(kde4-config --path config)"
kdm_rc="${kdm_path##*:}kdm/kdmrc"
-> this is where kdm stores it's settings

sed -i -e "s%^Theme=.*%Theme=${kdm_path}bespin%g" "$kdm_rc"

!!!
use e.g. '%' as delimiter for sed's swiss army knife, not '/' (as it appears in the paths)

the above will only catch entries with "Theme" at the very beginning of the line, reason:
at least "UseTheme=true" is in use as well (you could catch this by appending a substitution that sed's "UseTheme=true", but you need to prevent overriding other entries)
-> you could catch blanks before "Theme" as your homework ;-)

last on the bootsplash theme:
i strongly suggest to KEEP AWAY FROM THAT
it's not like it's broken, evil or ugly, but this usually includes updating the initrd.
as there's afaik no std. way to do this, it should be entirely up to the distros and on their responsibility to do that.
i strongly suggest to /NOT/ do that by a generic theme (while it could work e.g. on Ubuntu, maybe your opensuse won't boot next time, and not exactly everyone is capable of running a lifesystem and fixing his grub - OR LILO from there...)


Reply to this

-
.

 Re: presets...

 
 by Num83rGuy on: Mar 29 2009
 
Score 50%
Num83rGuyNum83rGuy
-
Paul Clark 2

United States of America, Violet Hill
Last visit Apr 24 2014
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Thanks for the tips and for all of your work on Bespin.

This is my first bash script that goes beyond just calling external programs in sequence.

And yes, I did read the readme, really.
I was hoping to make things like the bootsplash install on a command line switch added after the script name on the command line with a strong warning.

As for the preset thing, I didn't know that the bespin external config dialog had commandline options. ( Though I never really looked. ) But, yes I knew that if you import the same preset twice they go in numbered sequence.
So, I was trying to think of a way to only add changed or new presets. Perhaps create a new presets group file then dif and merge and/or string compare?

But if you make ( or have made if I read that wrong ) an update commandline option it would make my life easier. ;)

Anyway, I will try to incorporate your suggestions into the script sometime in the next few days, I still have a lot of trees to plant and a garden to till by hand.


Reply to this

Add commentBack






-

-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.