Thread: [Thinstation-general] Issue with GTK theme and background
Brought to you by:
doncuppjr
From: Eric T. <eri...@un...> - 2023-10-27 13:27:11
|
Hi, Still moving from 6.1 to 6.2. Everything important is working. I just got two features not working (it's "just" look and fell, but it's important for users) : First : my thinstation.conf.buildtime and build.conf are exactly the same in each version 1 - Theme : In ts-6.1, I managed to get beautiful windows, with rounded corners,... I think I made this with GTK_THEME=Xfce option. It doesn't work no more, I get pure vintage gtk look... I don't know where I could find a way to solve that. 2 - Backgrounds : I use a lot of profiles for different departments, and I used to use a different background for each. I use profile files (thinstation.conf.group-... on tftp server), and I made a little customization to enable this feature : background files are on tftp, and download during ts boot. I just add a little piece of code in build/packages/base/etc/thinstation.functions, just after the lines : ### use_wallpaper () { if is_enabled $USE_WALLPAPER && [ -e /bin/wmsetbg ] && [ "$WMNAME" != "xfwm4" ]; then ### I add this code, that simply downloads the right picture from tftp server and copy it as /etc/background.jpg : ### if [ ${TS_BACKGROUND_FILE} ]; then if [ -n ${TFTP_BG_REP} ]; then remotebg=${TFTP_BG_REP}/${TS_BACKGROUND_FILE} else remotebg=${TS_BACKGROUND_FILE} fi tftp -g ${SERVER_IP} -l /etc/background.jpg -r ${remotebg} fi ### TS_BACKGROUND_FILE and TFTP_BG_REP are declared in profiles files. It worked in ts 6.1 (and older versions I used before), but now, when ts boots, I can see the picture as desktop launches (download of picture is OK), but as soon as icons appear, the picture is replaced by a grey background (though I can see little pieces of the pictures in transparent parts of icons). It seems the background is still present, but hidden behind a grey screen. It sometimes did the same on previous versions, but only from time to times (most of the time, picture was OK). Nothing really important, some would say, but offer something clean and not too ugly to users is important for me ;-) Regards E.T. -- Eric Trezel ----------- Technicien de maintenance informatique Direction du Système d'Information Université de Limoges 123 Av. Albert Thomas, 87060 Limoges Cedex Tél : 05 87 08 08 41 Num de poste : 38 41 Accueil : 05 87 08 08 00 Web : http://www.unilim.fr/ |