Page 1 of 5 123 ... LastLast
Results 1 to 10 of 43

Thread: a cmg in a .desktop file(alpha release)!

  1. #1
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    29

    a cmg in a .desktop file(alpha release)!

    i made few script that are able to take a cmg(a directory with a cmg and zAppRun script) and make it to a .desktop(just like every icon on kde).

    so the made .desktop file is all the cmg+.desktop info and it can work by dobule click the icon(the icon is the program and it`s a .desktop file).

    so for the end-user he can drag the icon(like every .desktop file it has a icon which can be set at creation of the .desktop(when you run my script it let you choose a icon) to his hard drive from the internet and then run it just like cmg but it has a icon and it doesn`t need zAppRun(coz it`s included in the .desktop file,but the fstab is needed to be with klik paths).

    the problem is that i don`t have any web space to host the scripts? does some one have space for it?(i will place a .desktop example of vlc and the scripts).

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Sure, you can do that. But this approach violates klik's idea of "1 application = 1 file" (which is useful, e.g., for e-mailing.

    You can post your scripts here in this thread if you want.

    Greetings,
    probono

  3. #3
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    29
    you didn`t understood my.
    it`s just one file,just one that have all the icon+the cmg and the .desktop info.
    the script are a bit long so i preffer to get some webspace to post them and i want to put an example app or maybe a short video that show how is it.
    do you know where can i get a free webspace to put files(any files)?

  4. #4
    Senior Member registered user
    Join Date
    Aug 2003
    Location
    Dublin, Ireland
    Posts
    164
    Quote Originally Posted by urielka
    you didn`t understood my.
    it`s just one file,just one that have all the icon+the cmg and the .desktop info.
    Another possible problem, does this make your new file depend even more on kde/gnome/some .desktop compatible software? At the moment you can use command line programs like qemu (for example) with klik, would your method handle this?

    Are the scripts really to long to post in here (I've posted some long scripts in forums before myself)?

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Quote Originally Posted by urielka
    it`s just one file,just one that have all the icon+the cmg and the .desktop info.
    All in one single file? Cool!

    I'm really curious, perhaps you can upload a zip file with the scripts on
    a free hosting site like http://www.savefile.com/filehost/ (no signup required)

    Greetings
    probono

  6. #6
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    29
    i will upload it soon.

  7. #7
    Member registered user
    Join Date
    Oct 2004
    Location
    waterloo
    Posts
    32
    iam looking forward to this release

  8. #8
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    me too

  9. #9
    Senior Member registered user
    Join Date
    Aug 2003
    Location
    Dublin, Ireland
    Posts
    164
    You didn't like the idea too much when I suggested just putting the AppRun into the cmg (to make it self contained, you need klik to create/get them but nothing to use them) ... add a .desktop and all of a sudden your happy

    I have my guesses as to what's going on here, the .desktop file knows to use an offset for both the AppRun and image to mount? My question is, could it also embed menu information in the cmg, so the first time it is run it adds a menu entry (could be one program, could be a whole menu system depending what's in the cmg), and if you attempt to run a non-present menu item it should prompt to delete it, find it or download it again. Basic idea being klik effectively maintains a second copy of the debian menu which just has the klik'd apps in it (the user can of course edit the menus to arrange at will).

    A final thought (as I'm rabbitting on about ideas I've had) is that instead of any programs using the real etc and var, should they not create a ~/klik/data/$MD5 , where $MD5 is the MD% of the content, filesize and modification time of the cmg being run, and within this folder the app can have it's own etc and var. End result is that a nw cmg will get a new area (so no cross contamination) and if it also holds a text file of the cmg name/path -> MD5, it would be quite easy for someone to copy their setups across if they wanted (or to create a script to delete unneeded data). Or they can even wipe the whole ~/klik folder and start again! Alternatives would include embedding a second loopback filesystem within the cmg but using it to write to (downsides include sending your data with the app if you copy it and space limitations), storing a second loopback file in parrallel to the app which stores it's data (still space problems and both also would use extra loopback devices), the current method (downside of losing files into your system or not having full control) or some other trick like using unionfs to overlay a directory for each running cmg over the required directories (possible problems and confusion if multiple packages are running which include some of the same packages that require this).

    Just floating the ideas more then anything (but as I've done before I'm happy to help coding/testing).

  10. #10
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    29
    yes it can!!!
    because when the "magic" .desktop untar itself(it`s an uncompressed tar+script) and then run the zAppRun script that the tar contains(plus the cmg of course!).
    now i manage to make a .desktop of firefox cmg(the one that probono post few days ago) and more impotant, i manage to find a place to host it so here is it:
    http://us.f2.yahoofs.com/bc/4297c203...Ft8lCBRLbeTDlz
    http://us.f2.yahoofs.com/bc/4297c203...Ft8lCBZJgpeDF5

    it`s one zipped file splited into two files using split command.
    just wget the two files,join them ,uncommpress them to the Desktop(or any other place on */home),Move Run.sh to /usr/bin and chmod +x him.
    and then you need to click the .desktop file and firefox should appear!!!

    the script need some work so they can be useful so i will release them later

    *Note: the path where the .desktop file can be is set in Run.sh script(for example / include /usr /bin /home ..., /home include /home/user1 /home/user2 ...).
    Note2:don`t select properties of the "magic" .desktop file coz it will make the file corrupted(it will resize the file to 4.4MB).
    EDIT: there is a problem with the hosting.
    so if someone know a good place to host a 9MB file please post here(savefile.com doesn`t work!).

Page 1 of 5 123 ... LastLast

Similar Threads

  1. Desktop File Folders don't work
    By Keithj in forum Hdd Install / Debian / Apt
    Replies: 10
    Last Post: 09-10-2005, 05:55 AM
  2. How to have the remote smb file share on desktop
    By vi2004 in forum General Support
    Replies: 0
    Last Post: 02-13-2004, 11:04 AM
  3. Configuration file -- corrupt desktop, unusable network.
    By talyrath in forum General Support
    Replies: 0
    Last Post: 01-26-2004, 01:57 AM
  4. Help with Alpha Blending
    By Aslyum in forum General Support
    Replies: 1
    Last Post: 11-20-2003, 12:39 PM
  5. [SCRIPT] Install RealONE Player (alpha)
    By probono in forum Ideas
    Replies: 1
    Last Post: 04-23-2003, 01:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


R281-3C2 2U 12 Bay GPU Server 2.3Ghz 36-C 256GB 2x10G SFP+ 2x1200W TrueNAS ZFS picture

R281-3C2 2U 12 Bay GPU Server 2.3Ghz 36-C 256GB 2x10G SFP+ 2x1200W TrueNAS ZFS

$1662.24



R281-3C2 2U 12 Bay GPU Server 3.2Ghz 24-C 64GB 2x10G SFP+ 2x1200W TrueNAS ZFS picture

R281-3C2 2U 12 Bay GPU Server 3.2Ghz 24-C 64GB 2x10G SFP+ 2x1200W TrueNAS ZFS

$1940.24



Dell PowerEdge R630 8SFF 1.8Ghz 20-Core 128GB Mem 4x1G RJ-45 NIC 2x750W PSU picture

Dell PowerEdge R630 8SFF 1.8Ghz 20-Core 128GB Mem 4x1G RJ-45 NIC 2x750W PSU

$450.04



R281-3C2 2U 12 Bay GPU Server 2.2Ghz 20-C 64GB 2x10G SFP+ 2x1200W TrueNAS ZFS picture

R281-3C2 2U 12 Bay GPU Server 2.2Ghz 20-C 64GB 2x10G SFP+ 2x1200W TrueNAS ZFS

$1180.24



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$179.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



Dell PowerEdge R620 Server 2x Xeon  E5-2620 @ 2.0GHz 64GB RAM NO HDDs picture

Dell PowerEdge R620 Server 2x Xeon E5-2620 @ 2.0GHz 64GB RAM NO HDDs

$108.96



DELL PowerEdge R630 8SFF Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$263.00



DELL PowerEdge R430 8SFF 2x E5-2620v4 2.1GHz =16 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R430 8SFF 2x E5-2620v4 2.1GHz =16 Cores 32GB H730 4xRJ45

$205.00