McGivrer's Home

life of french web solution architect

  • Plymouth: the Theme manager at Ubuntu Boot

    • 24 Mar 2011
    • 0 Responses
    •  views
    • alternatives install plymouth theme ubuntu
    • Edit
    • Delete
    • Tags
    • Autopost

    During ubuntu boot phase, a beatiful Logo appear on screen, indicate you are soon starting your desktop. What about changing this default screen ? Yes all is possible on Ubuntu and mainly on Linux ;)

    OK, first, try to install a new plymouth theme in the proposed list.

    frederic@nostromo64:~$ aptitude search plymouth-theme
    v   plymouth-theme                    -
    i   plymouth-theme-fade-in            - graphical boot animation and logger - fade-in theme
    i   plymouth-theme-glow               - graphical boot animation and logger - glow theme
    p   plymouth-theme-kubuntu-logo       - graphical boot animation and logger - kubuntu-logo theme
    p   plymouth-theme-kubuntu-text       - graphical boot animation and logger - kubuntu-text theme
    p   plymouth-theme-lubuntu-logo       - plymouth theme for Lubuntu
    p   plymouth-theme-sabily             - plymouth theme for Sabily
    p   plymouth-theme-script             - graphical boot animation and logger - script theme
    i   plymouth-theme-solar              - graphical boot animation and logger - solar theme
    p   plymouth-theme-spinfinity         - graphical boot animation and logger - spinfinity theme
    p   plymouth-theme-text               - graphical boot animation and logger - text theme
    i   plymouth-theme-ubuntu-logo        - graphical boot animation and logger - ubuntu-logo theme
    i   plymouth-theme-ubuntu-text        - graphical boot animation and logger - ubuntu-logo theme
    p   plymouth-theme-ubuntustudio       - Ubuntu Studio Plymouth theme
    p   plymouth-theme-xubuntu-logo       - graphical boot animation and logger - xubuntu-logo theme
    p   xubuntu-plymouth-theme            - Plymouth theme for Xubuntu

    Then, select the one you want and execute the following command lines:

    frederic@nostromo64:~$ sudo update-alternatives --config default.plymouth

    Select in proposed list one of the theme installed :

    frederic@nostromo64:~$ sudo update-alternatives --config default.plymouth
    
    There are 4 choices for the alternative default.plymouth (providing/lib/plymouth/themes/default.plymouth).
    
    Sélection   Chemin                                                 Priorité  État
    ------------------------------------------------------------
    * 0            /lib/plymouth/themes/ubuntu-logo/ubuntu-logo.plymouth   100       mode automatique
      1            /lib/plymouth/themes/fade-in/fade-in.plymouth           10        mode manuel
      2            /lib/plymouth/themes/glow/glow.plymouth                 10        mode manuel
      3            /lib/plymouth/themes/solar/solar.plymouth               10        mode manuel
      4            /lib/plymouth/themes/ubuntu-logo/ubuntu-logo.plymouth   100       mode manuel
    Appuyez sur  pour conserver la valeur par défaut[*] ou choisissez le numéro sélectionné :

    And install this theme on boot sequence

    frederic@nostromo64:~$ sudo sudo update-initramfs -u

    You can verify it with the command line

    sudo plymouthd ; sudo plymouth --show-splash ; sleep 10 ; sudo plymouth --quit

    And then, reboot and enjoy !

    (sorry for french screenshot... I run a french installation of Ubuntu ;)

    • Tweet
  • Tomcat6 and the Play!framework on Ubuntu (for newbie!)

    • 3 Jan 2011
    • 1 Response
    •  views
    • deploy install newbie playframework tomcat6 ubuntu war
    • Edit
    • Delete
    • Tags
    • Autopost

    Playframework-logo

    I have just installed a brand new Ubuntu 10.10 on my laptop, and one of my first need was to deploy a Playframework java application.

    So I need a Tomcat 6 instance for "Java Runable" purpose.

    Tomcat installation
    So, just read this guide: ubuntu-fr tomcat installation and click this "click-to-install" link: tomcat6,tomcat6-admin,tomcat6-example. If the APT protocol is not installed on your ubuntu linux, just try :

    frederic@nostromo6:~$ sudo apt-get install tomcat6,\
                          tomcat6-admin,tomcat6-examples

    if you try to access the http://localhost:8080/

    you will must obtain the following page :
    Capture-apache_tomcat_-_chromium-1
    figure 1 -Tomcat 6 is now installe dand ready to use.
    User Tomcat path
    To be able to isolate your own work from the Tomcat server instance, you have to install with the following link apt://tomcat6-user  the  "by-user-instance" oriented package for Apache Tomcat server.

    If not PAT protocole is installed, just use  the good old command line:

    frederic@nostromo6:~$ sudo apt-get install tomcat6-user

    Then in your prefered shell command terminal, execute the following command:

    frederic@nostromo6:~$ tomcat6-instance-create ~/tools/tomcat6 \
                          -p 8088 -w 8008

    Then you are able to start  this Tomcat 6 instance with a 

    ~/tools/tomcat6/bin/startup.sh

    To start your own tomcat on port 8088. (note: the control port will be 8008).

    To ask tomcat server to stop, send a "SHUTDOWN" ASCII string to port 8008.

    Conclusion
    Yes, Tomcat 6 is now installed on your computer. you are ready to deploy your Play! Framework based application:

    play war myplayapp -o myplayapp.war

    Just copy the produced myplayapp.war to the [tomcat_server_path]/webapps/ directory, Tomcat cat will auto deploy the war and you will just have to open your stared browser to http://localhost:8080/myplayapp/.
     
    Capture-your_application_is_ready__-_chromium
    figure 2 - Your first empty Play!framework application deployed on Tomcat

    Job done !
    Have good time with the fabulous Play!framework.
    to be continued...
    • Tweet
  • About

    Java/J2EE Expert
    Technical Manager
    Web Standard evangelizer

    120786 Views
  • Archive

    • 2012 (12)
      • May (1)
      • April (7)
      • January (4)
    • 2011 (53)
      • December (5)
      • November (1)
      • September (4)
      • August (4)
      • July (5)
      • June (2)
      • May (11)
      • April (11)
      • March (5)
      • February (3)
      • January (2)
    • 2010 (51)
      • December (2)
      • November (2)
      • October (1)
      • September (3)
      • August (8)
      • July (4)
      • June (15)
      • May (3)
      • April (2)
      • March (5)
      • February (5)
      • January (1)
    • 2009 (29)
      • December (1)
      • November (5)
      • October (6)
      • August (1)
      • July (4)
      • June (2)
      • May (1)
      • April (4)
      • March (2)
      • February (1)
      • January (2)
    • 2008 (39)
      • December (1)
      • November (5)
      • October (8)
      • September (8)
      • August (8)
      • July (9)

    Get Updates

    Follow this Space »
    You're following this Space (Edit)
    You're a contributor here (Edit)
    This is your Space (Edit)
    Follow by email »
    Get the latest updates in your email box automatically.
    Loading...
    Subscribe via RSS
    FlickrPicasametaweblog