can't change sddm display manager theme - debian-buster

I am using Debian 10 with Xfce desktop environment. I recently changed to sddm display manager. However no matter what I do, I can't change the display manager theme (only the debian-maui theme appears).
I want to change the theme to a custom one which I have downloaded from git hub (I tested it using sddm-greeter --test-mode --theme [theme location] command and it works fine). Can anyone explain me clearly how to do it? (There were no sddm config files to be found and even when I manually created them, they seem to have no effect on the theme of the display manager despite whatever necessary changes made to the config file)
[Please keep in mind I use Xfce desktop environment]

In Ubuntu 20.04.3 LTS new sddm themes you can find by:
apt search sddm-theme
and instll it by e.g.:
sudo apt install sddm-theme-lubuntu
After instalation new theme will be placed in /usr/share/sddm/themes/
In the same dir there is a link:
ubuntu-theme -> /etc/alternatives/sddm-ubuntu-theme/
pointing to /etc/alternatives/sddm-ubuntu-theme
In /etc/alternatives there is a link you can change to point to theme you like, e.g.:
/etc/alternatives/sddm-ubuntu-theme -> /usr/share/sddm/themes/maldives/
and this link specifies default config
To check where and which is the system default config file placed in you can run:
sddm --example-config
and analyze [Theme] section.

Related

Change wkhtmltopdf.command.exec property in ICXT after installation

Having the latest version 4.1.5 of ICXT for HCL Connections installed on WAS 8.5, I need to change some properties. The installation instructions said that we have a icxt-install.properties for installation, where we can set them. But it seems only possible during installation, not to change values which were already set.
How can I see what values are currently set and how to change them?
Backgrund
It's an ICXT installation without PDF export functionality, because this wasn't needed yet. But this has changed, so I want to enable it and develop some templates for our users. The selftest on https://cnxhost.internal/ic360/ui/selftest.html says
Is wkhtmltopdf installed? no
According to the documentation, I unpacked the binaries to ${CNX_SHARED_DIR}/icxt/pdfexport and restarted the WAS Appserver where ICXT is installed. But it's still not working. I assume that a predecessor admin or dev of mine changed this location, so I'd like to make sure that it points to my desired ${CNX_SHARED_DIR}/icxt/pdfexport path.
The script ${ICXT_INSTALL_DIR}/icxt-prepare.sh creates WebSphere Resource Entries. But just once during the installation. So we couldn't change the properties and re-run the script, as I assumed. To change it, open WebSpheres ISC web console and navigate through Resources > Resource Environment > Resource Environment entries
Now click in ic360
and Custom properties
Now you see a list of all the properties which were set by the installer. If some values were wrong (in my case wkhtmltopdf.command.exec), click on the entry and change the value field.
After conforming with OK and save, we need to restart the Appserver where ICXT is hosted in. If you don't know, look at the WebSphere enterprise applications, open any IC360 app and look in Manage Modules. In my case its CustomApps, which we can restart in Server > WebSphere Applicationserver.
Now reload the self test page and we see the wiki module check working fine:

Clonezilla customisation for unattended mode

I am trying to custom syslinux.cfg to make clonezilla working in unattended mode. I've followed this example modifying syslinux.cfg to reflect my images.
I don't understand what else need to be changed as replaced original syslinux.cfg with my custom one does not work and clonezilla is starting with default one. I am using USB version. Here is my custom syslinux.cfg:
label Clonezilla live
MENU DEFAULT
#Menu HIDE
MENU LABEL Clonezilla live (Default setting, VGA 800x600)
#MENU PASSWD
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live config noswap nolocales edd=on nomodeset noprompt ocs_prerun="mount /dev/sdb2 /mnt" ocs_prerun1="mount --bind /mnt/ImageCloneZilla /home/partimag/" ocs_live_run="ocs-sr -g auto -e1 auto -e2 -c -r -j2 -k -p reboot restoredisk 2017-04-28-10-img_ReaderSN-98 mmcblk1" ocs_live_extra_param="" keyboard-layouts=NONE ocs_live_batch="no" locales=en_US.UTF-8 vga=788 ip= nosplash
TEXT HELP
* Clonezilla live version: 2.2.2-37-i686-pae. (C) 2003-2014, NCHC, Taiwan
* Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY
ENDTEXT
Any suggestions?
You need to edit /EFI/boot/grub.cnf instead.
There are multiple files that may be read depending on your boot type. Most new PC's are EFI and as such most people choose the EFI compatible version of clonezilla based on ubuntu.
Hope this helps!

Create local debian repository

My goal is to demonstrate creating a local debian repository with controlled versions of tools used (e.g. compiler versions) to make a build system more predictable.
I've tried to follow this example: http://linuxconfig.org/easy-way-to-create-a-debian-package-and-local-package-repository
but when I get to the apt-get update stage, I always get a 404 not found on the repository I've added.
The apache2 server is running, I can view the default page installed at http://localhost/html/index.html.
I am trying this with the file fortune-mod_1%3a1.99.1-7_amd64.deb installed to /var/www/debs. I create the Packages.gz file as the tutorial suggests:
dpkg-scanpackages debs /dev/null | gzip -9c > debs/Packages.gz
I also add a new file: /etc/apt/sources.list.d/myppa.list with this line:
deb http://localhost debs/
I restart the apache2 service just in case:
sudo service apache2 restart
but running:
sudo apt-get update
still produces this error:
W: Failed to fetch http://localhost/debs/Packages 404 Not Found
Is there something basic I'm missing? Ultimately, I'd like to get this working over a LAN, but first have to get it working on a single machine.
EDIT: I'm doing this on Ubuntu 14.04.
EDIT: Show contents of file /etc/apt/sources.list.d/myppa.list
tldr; use aptly
It's the easiest apt repository management tool I've found and it comes with neat tutorial showing how to create, populate, and publish your own apt repository.
References:
https://www.aptly.info/
https://www.aptly.info/tutorial/repo/
I ended up solving the problem. It was an issue with the default document root being different for the tutorial than on my system. All I did was move my debs folder to html (document root turns out to be /var/www/html, not just /var/www on my install). That did the trick.

Change the default sort order in KDE's file dialog (working with Kate)

Recently, my Kate text editor is showing files and folders "By Date" in the file dialogs, and I would like to get back to alphabetical order. I am running Ubuntu 12.04 with Unity, KDE Platform Version 4.8.5 (4.8.5), Kate Version 3.8.5. I can't figure out how to change it.
Ok, I've figured it out. On Ubuntu 13.04 (at least), edit the file:
~/.kde/share/config/kdeglobals
It is a configuration file in the Windows INI style format. Locate the section called
[KFileDialog Settings]
Change the settings:
Sort by=Date
Sort reversed=true
into:
Sort by=Name
Sort reversed=false
Furthermore, changing
View Style=Simple
into
View Style=Detail
will make it easy to change the sort order on the fly.
The changes will not be immediately picked up by Kate. I did not need to restart the computer or even logout from my Ubuntu Unity session, but logout is probably the way to go if the changes do not take effect after a while.

How do I install uncrustify?

How do I install uncrustify? I followed the instruction to install uncrustify but when I run it, it does not work. Can anyone give me some help installing this tool? I want to run it on objective-c code in xcode 4. Thanks in adavance
On OS X Mavericks 10.9.1 :
1- to install brew, open a terminal windows and type :
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
It will ask you to download some other files, answer OK for all (for more information see : http://brew.sh/index_fr.html).
2 - to install uncrusify, open a terminal windows an type :
brew install uncrustify
3 - to make your code beautiful, download BBUncrustifyPlugin-Xcode available at https://github.com/benoitsan/BBUncrustifyPlugin-Xcode
You will just have to :
compile the project
copy the file uncrusify.cfg in your home directory
restart Xcode.
NB : With BBUncrustifyPlugin, you don't need to use Automator.
4 - After restarting Xcode, use the menu Edit > Uncrustify Selected Files to uncrustify the selected items in the project navigator.
Your code is now beautiful! That's magic!
post-scriptum : You can easily change your uncrusify configuration file by using :
https://github.com/ryanmaxwell/UncrustifyX
http://universalindent.sourceforge.net (better in my case)
I hope that this will help!
I setup Uncrustify with Xcode 4 like so: http://blog.carbonfive.com/2011/03/10/code-formatting-in-xcode-4/
Can you explain what you tried to do, what you expected to happen, and how it didn't work?
Download zip
On Windows, download the latest version of Uncrustify here: https://sourceforge.net/projects/uncrustify/files/latest/download
Extract zip
The program is a standalone exe, so just extract the downloaded uncrustify-...-win32.zip file anywhere. For this example, I'll use C:\Uncrustify. So, the uncrustify.exe would be in that directory.
Add directory to PATH System Environment Variable
In Windows 7+: Type Winkey + env - Select "Edit the system environment variables"
On the Advanced tab, click the Environment Variables button at the bottom.
In the System variables section at the bottom, click the Path variable, then click the Edit... button.
Click the New button, and type C:\Uncrustify, or the directory that you extracted uncrustify.exe to.
Important: Click OK to close the dialog boxes or your change will not save.
Verify
In a CMD window, typing where uncrustify should return the path to the uncrustify.exe.
In my case it shows C:\Uncrustify\uncrustify.exe
Close Atom and reopen it. Now you should be able to atom-beautify and it will use Uncrustify to format your selection