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
  •  


Samsung Galaxy Tab A8 10.5

Samsung Galaxy Tab A8 10.5" SM-X200 128GB Wifi Only Tablet Open Box

$149.99



Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New) picture

Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New)

$129.99



SAMSUNG AM-P613NZBMXAR Galaxy S6 Lite 2022 10.4

SAMSUNG AM-P613NZBMXAR Galaxy S6 Lite 2022 10.4" 64GB Wi-Fi Tablet With S Pen,

$134.00



Samsung Galaxy 12.4 Inch EF-DT730 Slim Keyboard For  S7+ | S7 FE | S8+ | S8+ 5G picture

Samsung Galaxy 12.4 Inch EF-DT730 Slim Keyboard For S7+ | S7 FE | S8+ | S8+ 5G

$39.99



Samsung - S Pen Creator Edition - White picture

Samsung - S Pen Creator Edition - White

$40.00



Samsung Galaxy Chromebook Go, 14-inch, 32GB, Unlocked All Carriers - Silver picture

Samsung Galaxy Chromebook Go, 14-inch, 32GB, Unlocked All Carriers - Silver

$99.95



Genuine OEM Samsung Galaxy Tab S6 Lite Book Cover -NEW EF-BP610PJEGUJ- #E4 picture

Genuine OEM Samsung Galaxy Tab S6 Lite Book Cover -NEW EF-BP610PJEGUJ- #E4

$14.99



Samsung 27

Samsung 27" FHD Monitor 75 hz, IPS LED, LF27T350FHNXZA *READ DISCRIPTION*

$74.99



Tempered Glass Screen Protector For Samsung Galaxy Tab S9/S9 FE/S9 Plus/S9 Ultra picture

Tempered Glass Screen Protector For Samsung Galaxy Tab S9/S9 FE/S9 Plus/S9 Ultra

$10.95



Samsung 16GB 2Rx4 PC3-12800R M393B2G70BH0-CK0 DDR3 RDIMM - SERVER RAM picture

Samsung 16GB 2Rx4 PC3-12800R M393B2G70BH0-CK0 DDR3 RDIMM - SERVER RAM

$8.90