Theme installation from https://www.opendesktop.org/s/XFCE

Post Reply
Message
Author
User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Theme installation from https://www.opendesktop.org/s/XFCE

#1 Post by Stevo »

vamsi wrote:
3) I try different themes while copying themes from internet we have to paste it into themes folder which takes some time and instead of that is there any possibility to design an option within MX Tweak tool so that the zip file can be selected and the theme can be installed from there itself (I don;t think this option doesn't exist in any distro)
From the site in the thread title, I can install themes by just clicking the 'OCS-Install "install" button. I believe you need to have the ocs-url package installed for this to work. It can't get much easier than this, folks.

User avatar
k_sz
Posts: 122
Joined: Mon Jan 29, 2018 7:11 am

Re: Theme installation from https://www.opendesktop.org/s/XFCE

#2 Post by k_sz »

(unnecessary comment deleted)
Last edited by k_sz on Fri Mar 09, 2018 12:54 pm, edited 1 time in total.
> Desktop : AMD 64 bits (unknowned monocore model :P looking for an AM2+ 4cores Phenom) | RAM 4Go DDR2 | MX@daily updates, sudo apt dist-upgrade
> Laptop x2 : WIP obsolescence and "old" batteries prices have killed my project

skidoo
Posts: 753
Joined: Tue Sep 22, 2015 6:56 pm

Re: Theme installation from https://www.opendesktop.org/s/XFCE

#3 Post by skidoo »

it's been on my radar since back before the project was rebranded from xdgurl to ocs-url. Reading Stevo's post prompted me to audit the code.

caveats:
1) We have no assurance (and opendesktop.org offers no such claim) that apps listed on the site have been vetted.
2) Any pseudonymous person, using a disposable (e.g YahooMail) email, can register and upload an ocs -packaged item.
3) The source code associated with any ocs-url -packaged binary/executable is not required (and is often NOT easily accessible)
4) The installer does not perform a precautionary chmod -x for any "expected to be non-executable" files (e.g. when a pkg reputedly contains only "wallpaper")
5) Installed packages are not "sandboxed" and, once installed, nothing prevents an app from presenting a popup (inducing a naive user to "sudo auth")

With the above in mind, on a system configured for "passwordless sudo" (e.g. LinuxMint, Ubuntu),
the ocs-url mechanism, along with apt-url, arguably represents a exploitable vector ~~ a trainwreck waiting to happen
From a sysadmin perspective, I would install (and pin) a dummy package toward precluding use of ocs-url on any machines I'm responsible for managing.

Installation of ocs-url packages does not require elevated permissions. Items are installed to subdirectories of the user performing an install.
In order to be accessible by various users, an item (e.g. "theme", "plasmoid", "wallpaper", "yakuake skin", etc.) must be redundantly installed by each user.

Currently, the ocs-url install mechanism provides no facility for an author/packager to request or otherwise trigger an install-time "autorun".
Therefore, a cautious user has opportunity to setup a firejail (or other) sandboxing rule prior to first run.

Upon discovering any incorrect/outdated detail in the above, please send me a PM so that I can update this post.

ref: https://github.com/opendesktop/ocs-url/ ... types.json
ref: https://github.com/opendesktop/ocs-url/ ... cification
ref: https://github.com/opendesktop/ocs-url/ ... r.cpp#L153

User avatar
asqwerth
Developer
Posts: 7211
Joined: Sun May 27, 2007 5:37 am

Re: Theme installation from https://www.opendesktop.org/s/XFCE

#4 Post by asqwerth »

It's always good to be cautious.

I never understood the need in opendesktop for the one click install facility for wallpapers, icons and themes, to be honest. I find it easy to download the archive or picture files, and I can choose which of my data folders the files should be downloaded to. That way I can store them nicely in my customisation collection and use them in any other distro.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
vamsi
Posts: 151
Joined: Thu Apr 13, 2017 2:50 am

Re: Theme installation from https://www.opendesktop.org/s/XFCE

#5 Post by vamsi »

First of all when i clicked on OCS installation it asks something like XDG open or something How can i install this.

Not only from this site in GITHUB pages also some icons and themes are available

I have got an idea if all the icons and themes which support with MX linux (gtk 3...) themes how about adding them to Mx package installer ? (so that it will reduce our work

Thanks..

User avatar
k_sz
Posts: 122
Joined: Mon Jan 29, 2018 7:11 am

Re: Theme installation from https://www.opendesktop.org/s/XFCE

#6 Post by k_sz »

I definitally agree with skidoo's analyse and asqwerth's reflexion : it's always better to know what you're installing and where it's stored - especially if you wan't to uninstall it easily, with all the components fully removed.

As for adding the full GTK3+iconsets collection provided by Opendesktop to the MX repos, erm... maybe if you, vamsi, could buy and give a bunch of servers (and the supplementary bandwith) to the MX team then you could manage to maintain the said repositories after having tested every (often bloated and miscoded themes) part of it... ;D Good luck !

Having becomed an avid customizer, I currently have stored - and tried and, well, messed with ^^) like 1GB icons and a full bible of wallpapers, reduced my collection from 30 themes to a dozen, and it's the result of downloading -manually- and testing hundreds of themes and iconsets and i swear i take my time to choose it.
> Desktop : AMD 64 bits (unknowned monocore model :P looking for an AM2+ 4cores Phenom) | RAM 4Go DDR2 | MX@daily updates, sudo apt dist-upgrade
> Laptop x2 : WIP obsolescence and "old" batteries prices have killed my project

User avatar
vamsi
Posts: 151
Joined: Thu Apr 13, 2017 2:50 am

Re: Theme installation from https://www.opendesktop.org/s/XFCE

#7 Post by vamsi »

Hello @k_sz what are good themes that i can try do you have a list of good themes or you edit the themes on your own ?

User avatar
k_sz
Posts: 122
Joined: Mon Jan 29, 2018 7:11 am

Re: Theme installation from https://www.opendesktop.org/s/XFCE

#8 Post by k_sz »

vamsi wrote:Hello @k_sz what are good themes that i can try do you have a list of good themes or you edit the themes on your own ?
It all depends on your taste, if you like it glassy, glowy, flat, large, thin, monocolored, rainbowy, shiny, grayed, light, dark, etc. So the best i can do for you is to convince you to keep browsing Opendesktop and other specialized websites, and to keep testing themes ! Regarding your 2nd question : yes, I'm trying to edit a theme and you'll find it (still unfinished and beta) on this thread :
viewtopic.php?f=95&t=44339
> Desktop : AMD 64 bits (unknowned monocore model :P looking for an AM2+ 4cores Phenom) | RAM 4Go DDR2 | MX@daily updates, sudo apt dist-upgrade
> Laptop x2 : WIP obsolescence and "old" batteries prices have killed my project

Post Reply

Return to “XFCE Desktop Environment”