Linux.com

Community Blogs



Making My own Desktop Manager: Managing Windows

Up-until now, the Window Manager doesn't actually manage windows!

When I say manage windows; I mean switching between windows and being able to minimize/restore them. 

As the Window Manager will be a tiling one: for now, I am happy to make all windows span the entire size of the screen and switch between them using Mod+Tab.

To toggle hiding/showing all windows Mod+F11 should be pressed.

So I added in keyboard shortcuts for toggling "Hide All Windows" and "Focus on Next Window" in config.h.

Note: I also added in a struct which handles application state into state.h. An instance is created in main.c and is passed whenever needed. This allows the app to keep track of states such as "Are All Windows Hidden?" etc... 

Read more... Comment (0)
 

NEWB's adventure's in Linux From Scratch

Well,

I got a bit lucky for a change the /tmp file was as suspected and once I rebooted the program installed fine. I was told in a chat that I could have also went into the /tmp directory and just deleted files as well. I just wanted to be sure.

I had another problem with glibc something to do with unable to determine file suffix??? http://www.linuxfromscratch.org/hints/downloads/files/stages-stop-and-resume.txt

I followed that step by step and low and behold , glibc installed fine.

 yeah, itstalled fine but I forgot to mount the proc file system and got error 1

error 2 and a fd/63 error.. went back and fixed it and found out that ccache will not work because  it doesn't support "ccache gcc" when running on glibc  probably won't be able to use on any package

I will try and let you know 

 

eXo Platform Merges Portal Software Development into JBoss Community

 

 

eXo joins JBoss Community to collaborate on robust, easy-to-use portal project

 

GARTNER PORTALS, CONTENT & COLLABORATION SUMMIT, Orlando, Fla. (June 10, 2009) - eXo Platform SAS, one of Europe\'s leading open source companies, today announced the merger of its eXo Portal project with Red Hat\'s JBoss Community Portal to create a comprehensive, standards-compliant, open source portal platform that will serve as the underlying technology for eXo\'s portfolio of content, collaboration, and social networking enterprise solutions.

 

The goal of the new project is to forge a strong portal solution by bringing together the technical strengths of the two projects through the open source community. To further bolster this new effort, eXo Platform has contributed a new project to the JBoss Community, eXo JCR, which is a robust, cluster-ready Java Content Repository that is standards based and a key component for the project.

 

\"Open source software has delivered substantial returns on investment for organizations and we have the opportunity to deliver that same value within the portals space,\" said Benjamin Mestrallet, CEO of eXo Platform. \"What has always been a challenge for any portal community or vendor is providing the right balance of robust infrastructure and engaging usability features. This collaborative project will strive to strike that balance and will work to create an enterprise-grade, open source alternative to expensive, bloated closed source portals.\"

 

eXo Portal is the foundational technology for all of eXo\'s products. In development for over six years, eXo Portal is known for its intuitive administrative capabilities, advanced user interface features, and a robust community presence. The JBoss Community Portal project will be the overall portal engine for the new project and is a standards-based portal framework known for its lightweight installation, performance, security, and scalability. It has been downloaded by tens of thousands of users over the last four years, and leverages JBoss Community technologies such as JBoss Application Server and Hibernate.

 

\"The eXo portal has some impressive functionality in terms of ease of use, UI flexibility and straightforward management administration; JBoss.org\'s current portal project has a robust engine, performance and security features, combined this collaboration project will help drive portal capabiliites forward,\" said Dr. Mark Little, Sr. Director of Engineering, Middleware at Red Hat. \"We are pleased that eXo is joining the JBoss Community to collaborate on this newly formed project.\"

 

Under the terms of the partnership, eXo Platform will migrate the code base for its portal project to JBoss.org, where it will be integrated with the JBoss Portal code base. The new JBoss eXo Portal project will be licensed under the Gnu Lesser General Public License (LGPL). Visit the new projects at http://jboss.org/.

 

About eXo Platform SAS

eXo Platform is a provider of integrated, standards-based open source portal, content management, and collaboration software that hundreds of customers use to share, access, and publish information across their organization. These customers include Generali, Belgium\'s Ministry of Finance, and the U.S. Department of Defense. Founded in 2003, eXo Platform SAS is headquartered in Paris with offices in Ukraine, Vietnam, and Tunisia. Visit http://exoplatform.com/.

 

Contact:

Chantal Yang

Page One PR for eXo Platform

415-875-7494

This e-mail address is being protected from spambots. You need JavaScript enabled to view it

 

NEWB's adventure's in Linux From Scratch

 At it again this morning,

   Well, I finally got to the finish of the temporary system, I think the strip is what got me though, didn't totally understand what went on there. I'm chrooted to root and making file systems got as far as reinstalling the linux headers and wham !!! ERROR 1 ,ERROR 2   there's a script problem... My first instinct is that the strip command killed my scripts as there was a comment about being careful.

   NEWB goofs up again... 

Actually after finding out that some of the errors I was getting during the installs of glibc, tcl, expect were to be expected, the rest of the temp system install went rather easy.

 I also located a new ccache system which works faster with gcc it's specifically built for use with gcc "cachecc1" I'll install it and see what I shall see. 

 

Synchronising Nokia phone contacts to Google via SyncML

Production shot of a Nokia N81I found some instructions a few months back on how to sync my Nokia N81 to Goolge Contacts. The reason you would do this is because Nokia don't produce software to backup your phone in Linux, so bar a few third party options you're kind of stuck.

Luckily, Nokia supports SyncML as well as Google Contacts, so it's a fairly trivial process to get them working with each other, without Exchange or any other 3rd party software. It's just that I can no longer find the link, so the following is some tidied up instructions I sent over IRC, so I don't have to do it again.

First you need to access the Sync app on your phone. This is located within Tools on the main menu for me.

  • Options > New Sync Profile
  • name it whatever
  • Applications > contacts > include > yes
  • Applications > contacts > remote db > 'conacts'
  • Applications > contacts > synchronoisation > both ways
  • I only wanted it one way, but it didnt work then. You have to take it both ways.
  • Back to connection settings
    • server version > 1.1
    • data bearer > internet
    • access point > whatever you like
    • host address > https://m.google.com/syncml
    • port > 443
    • username > This e-mail address is being protected from spambots. You need JavaScript enabled to view it
    • password > example
    • allow sync requests > yes
    • accept all sync requests > no
    • network authentication > no

And there you have it. No more worries about losing all your contacts because you dunked your phone in a cup of tea. As an added bonus you can also sync it with virtually all new phones that use Google Contacts or SyncML.

 

NEWB's adventure's in Linux From Scratch

 Hi,

 Took the morning off a bit put off by my most recent foul-up. I've got an issue dealing with permissions installing Perl.... I've had a night to think about it and I believe my first step is to Check my command line entries thoroughly... ??? 

   Since I've turned the computer off for the night, I must get back into the LFS build environment. (stages stop/resume.txt) searched on the LFS site. 

 

Maybe Roy Rodger's could teach us all something?

 

I believe that we all lose our cool at one time or another. Myself included, I get aggravated too. If linux is truely to gain a strong foothold on the Desktop then IRC support channels must learn from ROY RODGERS! If you have nothing good to say then don't say don't say anything at all, and I've never met a person I didn't like. Quit with the nastiness~~~!!! for heavens sake. If youre annoyed at someone and you're in a support channel giving support, then just leave and come back when your in better frame of mind or don't bother with those channels if they annoy you that much.

I don't even consider myself in the Windows lay person framework anymore because I'm willing to get my proverbial hands dirty and try to figure out what makes Linux tick. Most Windows users just want click through and it works no more tinkering. It just works.

 

the need for speed ? maybe ?

 

 After messing around with gnome 2.26 and gnome shell, I am very torn between gnome and lxde. Gnome seems to be getting very heavy in the dependecies. Creates quite a large setup. Not sure if this is really required for most of what people do nowadays and it was also pretty slow on both ubuntu and Fedora. Think I might just go back to the lightweight style DE/WM's. I do like the speed.

 

NEWB's adventure's in Linux From Scratch

 I'm still at it,

    This morning I continued with my install, eventually I got back to "expect build" and guess what? down near the bottom of the page, there's a comment about test suite failures are not considered critical at this point!!!. I just spent the better part of 2 days trying to track down the error only to give up and , then rebuild up to expect with no errors and I didn't need too :(( 

5.8 adujusting the toolchain:  Also they ask you to visually "check" the "specs" file and don't tell you where to look???. I was able to Google it, as I got only (just type what's in the box) in the IRC support channel. Google: to locate the specs file {gcc -print-libgcc-file-name} . Everything was fine after I looked.

Some of us are newb's and don't know our way around the system that well yet, we are primarily installing LFS for the learning experience.  

  What's being reinforced on a daily basis:

1 . Always, check the command line before pressing , "enter"

2.  Don't forget the "PATCH" as I have done several times already.

3. Check the Makefile, to be sure ./configure properly set it up.

4.  Read the whole section before starting work on that section. (I've removed the source and build directories as soon as I installed only to find that they needed the header files or weren't done with those quite yet.) 

 

LazyMan

Creating a program for a lazy people as me (it could be YOU :) ).
 
Details>
A program that moves and categories your favourite flv clips from Firefox using the cache from /tmp/
 
Features>
  • List of flv files where one can choose the file that wants to be saved/played or both.
  • Starts the selected flv in a video player choosen in the main configuration.
    The player can start with selected proportions, fullscreen and every options which can be simular i.e standard in few video players as VLC, MPlayer. Totem Player, Xine etc.
  • After the video ends a dialog pops out asking to save the clip.
    The save dialog has an Entry for the name of the file, a combo for choosing the video category (categories can be managed, they represent a folders).
    Afterwards the video  is moved from /tmp/, a progress bar is shown while the task is working, than a message pops or a notification using libnotification on Gnome, telling job is complete.
Currently I made a Bash version using Zenity as a GUI interface, it's planned to be rebuild with Python and GTK as GUI interface.
 
Parts list>
FLV Clips List Window
  • FLV preview
  • Copy full path
  • Safe after play Checkbox 
  • Move all
  • Move all (and play)
Play Video Window
  • Fullscreen Checkbox (on/off)
  • Advanced controls
Move Window
  • A list of all the selected videos in a two column table, column 1 the video name, column 2 the category (combo). Option to name the files the same with a variable at the end #.
  • Message that tells the current moving file
  • Progress bar shows it's completion status
  • a list queue that removes each completed file and focus on the current file.
  • Notification using gnome libnotification after move process is complete.
That's it for LazyMan 1,
in LazyMan 2:
  • convert options
  • tv shows manager
  • backup system
If anybody wants the current program send me  an email :).
 

NEWB's adventure's in Linux From Scratch

  Just call me a glutton for punishment,

        :) I've been working hard all day, finally I got past the issues with gcc and glibc and and got a little bit cocky, and was blowing through the additional files when reality came crashing down. I was almost to the end of the utilities when I realized that I was not checking the patches in the source directory against the ones listed in the manual, there were extra patches that were not mentioned !!!!!!!!!!!!!!!!!!!! holy moley. :(

          I backed up and since I'd already removed source and build directories I figured that the new installs would just stomp on the first installs . Well I've gotten as far as Perl 5.28.1 and I'm running into file permission issues. Well I've been at this all day time to quit for now.  Seems like I'm an accident waiting to happen.............. 

 
Page 111 of 146

Upcoming Linux Foundation Courses

  1. LFS201 Essentials of System Administration
    12 Jan » 30 Mar - Online Self-Paced
    Details
  2. LFD320 Linux Kernel Internals and Debugging
    13 Jul » 17 Jul - North Reading - MA + Virtual (GUARANTEED TO RUN)
    Details
  3. LFS426 Linux Performance Tuning
    13 Jul » 16 Jul - Virtual (Guaranteed to Run)
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board