rozniak / xfce-winxp-tc

Windows XP stuff for XFCE
Other
1.11k stars 37 forks source link

My question dump #234

Open MrMegarich opened 1 year ago

MrMegarich commented 1 year ago

I got everything working fine, I just want to know how to compile the other themes (zune, metallic etc.)

rozniak commented 1 year ago

At the moment mate, Windows Classic, Professional/Watercolor, and Windows XP Style (Blue) are the only ones that get packaged. :open_mouth:

The other themes atm only have XFWM4 borders done, I haven't gotten around to doing their GTK themes yet (been busy working on #205 lately).

MrMegarich commented 1 year ago

ok, but i have some more questions, how do i change the icons in the start menu? how do I rename stuff. Why does my winver have these ugly borders at the side? ![Uploading Screenshot_2023-11-18_17-19-58.png…]()

rozniak commented 1 year ago

Change the icons, or do you mean the programs that are listed?

Also your image doesn't seem to have uploaded!

MrMegarich commented 1 year ago

Screenshot_2023-11-18_18-56-09

MrMegarich commented 1 year ago

Notice the ugly borders at the sides of the windows logo

MrMegarich commented 1 year ago

I'm at a family gathering sorry I couldn't get back to you sooner

MrMegarich commented 1 year ago

Screenshot_2023-11-18_19-04-44

MrMegarich commented 1 year ago

the my computer icon still has the linux mint logo !!!!!

rozniak commented 1 year ago

Screenshot_2023-11-18_18-56-09

I figured this might be what you meant - it's a bug I need to sort out with winver when you have fonts larger than the original. I need to redo the whole dialog really because I made it when I knew far less about GTK.

the my computer icon still has the linux mint logo !!!!!

This made me laugh, I've not seen that before. Perhaps somehow the vendor icon gets priority? I'll have to fire up Linux Mint again to investigate. :laughing:

MrMegarich commented 1 year ago

cheers

MrMegarich commented 1 year ago

also what is wintc-desktop?

rozniak commented 1 year ago

It is the program the spawns the desktop window. Though at the moment it simply paints with the default blue colour and has no functionality. The plan is to have it replace xfdesktop4 eventually (so the desktop behaves the same as Windows XP).

MrMegarich commented 1 year ago

Are there any plans to add the windows xp shutdown menu?

MrMegarich commented 1 year ago

image

rozniak commented 1 year ago

178

MrMegarich commented 1 year ago

Thank you!

MrMegarich commented 1 year ago

Did you work out the my computer icon?

rozniak commented 1 year ago

No since I've been busy on #205 , I'll have to create a Linux Mint VM to investigate

MrMegarich commented 1 year ago

Ok thank you

rozniak commented 12 months ago

Sorry about the wait mate, I'm just setting up a Linux Mint VM to investigate atm

rozniak commented 12 months ago

@MrMegarich Seems okay on mine, perhaps you have something under ~/.icons that could cause it? If you had any other icon themes maybe? It should just use the computer icon, so it has to be being overridden somewhere.

image

MrMegarich commented 12 months ago

All good, I actually worked it out between now and the last time we chatted, so pretty much, the computer.png icon somehow got replaced in icons/luna/devices with the mint logo and I had to manually go in and change it.

MrMegarich commented 12 months ago

strangest part is that I install the theme on 2 different Linux Mint themes and it did the same thing twice!

MrMegarich commented 12 months ago

I hate to bug you so much, but how do I install "liblightdm-gobject-dev" and "libwintc-msgina" ?

rozniak commented 12 months ago

I don't mind answering questions! :grin:

The package names ./chkdeps.sh -l gives you, you can bung straight into apt. So in this case you want sudo apt install liblightdm-gobject-dev

(the -l switch is to say 'only check for third-party dependencies', anything *wintc* comes from this repo as part of the build, so you're only interested in third-party libs)

libwintc-msgina is a new library used by logonui. I'd recommend doing another ./buildall.sh and install everything outputted because there were some changes made to a few other libs too.

To use logonui, you will need to edit /etc/lightdm/lightdm.conf and set greeter-session=wintc-logonui and sudo systemctl restart lightdm

I would suggest testing in a VM first though!

MrMegarich commented 12 months ago

xfce-winxp-tc/packaging$ sudo apt install liblightdm-gobject-dev [sudo] password for user:
Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package liblightdm-gobject-dev

I type sudo apt install but it just returns an error. please help

rozniak commented 12 months ago

Bollocks, I tested Arch and didn't test Ubuntu downstream... fail. Looks like the package name is different so I'll fix that.

MrMegarich commented 12 months ago

cheers

rozniak commented 12 months ago

Please pull latest master, it should provide you with the correct package name :sunglasses:

MrMegarich commented 12 months ago

Thanks dude!

MrMegarich commented 12 months ago

Another question: How to I get the custom bootvid?

MrMegarich commented 12 months ago

All good, I actually worked it out between now and the last time we chatted, so pretty much, the computer.png icon somehow got replaced in icons/luna/devices with the mint logo and I had to manually go in and change it.

This is so annoying! It seems that whenever I restart the computer (after fresh install of wintc) it automatically changes to the mint logo!

rozniak commented 12 months ago

Another question: How to I get the custom bootvid?

It seems to be slightly different to what I'm used to - on Ubuntu and derivatives it seems to use the 'alternatives' system for setting the Plymouth theme:

sudo update-alternatives --install /usr/share/plymouth/default.plymouth default.plymouth /usr/share/plymouth/bootvid/bootvid.plymouth 100
sudo update-alternatives --config default.plymouth
sudo update-initramfs -u

This should work - btw if you want to use a different SKU than 'Professional' you can pass the -s switch to buildall.sh to change it. The screenshot I took above was compiled using ./buildall.sh -s dnsrv-sbs . It affects the banners and boot screen atm.

rozniak commented 12 months ago

I can confirm Linux Mint replaces all instances of computer.png on reboot under the theme, but I really haven't got a clue why it would be doing this image

MrMegarich commented 12 months ago

Another question: How to I get the custom bootvid?

It seems to be slightly different to what I'm used to - on Ubuntu and derivatives it seems to use the 'alternatives' system for setting the Plymouth theme:

sudo update-alternatives --install /usr/share/plymouth/default.plymouth default.plymouth 100 /usr/share/plymouth/bootvid/bootvid.plymouth
sudo update-alternatives --config default.plymouth
sudo update-initramfs -u

This should work - btw if you want to use a different SKU than 'Professional' you can pass the -s switch to buildall.sh to change it. The screenshot I took above was compiled using ./buildall.sh -s dnsrv-sbs . It affects the banners and boot screen atm.

I copy the commands you gave me into the terminal and it just asks me for an integer. Also thanks for the buildall tip, I was wondering how you got winver to say "Windows xp for small business"

MrMegarich commented 12 months ago

user@users-Nitro-AN515-56:~/Desktop$ sudo update-alternatives --install /usr/share/plymouth/default.plymouth default.plymouth 100 /usr/share/plymouth/bootvid/bootvid.plymouth sudo update-alternatives --config default.plymouth sudo update-initramfs -u [sudo] password for user:
update-alternatives: priority must be an integer

Use 'update-alternatives --help' for program usage information. There are 2 choices for the alternative default.plymouth (providing /usr/share/plymouth/themes/default.plymouth).

Selection Path Priority Status

0 /usr/share/plymouth/themes/mint-logo/mint-logo.plymouth 200 auto mode 1 /usr/share/plymouth/themes/bgrt/bgrt.plymouth 110 manual mode

Press to keep the current choice[*], or type selection number:

MrMegarich commented 12 months ago

Copied straight from the terminal

rozniak commented 12 months ago

Edited to amend my error, rerun those commands - when it prompts you for a number, one of the available options should be bootvid :grin:

MrMegarich commented 12 months ago

I copy and pasted the commands again into the terminal, and now the bootvid is changed! ... to the ubuntu one

MrMegarich commented 12 months ago

at least it has my oem logo XD

rozniak commented 12 months ago

That's with bootvid showing as selected for default.plymouth and updated initramfs? It worked when I tested on Mint 🤔

MrMegarich commented 12 months ago

Screenshot_2023-11-28_15-22-28

MrMegarich commented 12 months ago

At the moment mate, Windows Classic, Professional/Watercolor, and Windows XP Style (Blue) are the only ones that get packaged. 😮

The other themes atm only have XFWM4 borders done, I haven't gotten around to doing their GTK themes yet (been busy working on #205 lately).

Hey seeing as how you've finished the greeter, does that mean that you now have time to work on the other themes? Or are you putting all your attention into the installer?

rozniak commented 12 months ago

The first command is wrong - the 100 needs to be the last argument -- notice it's complaining priority must be an integer

MrMegarich commented 12 months ago

So what would be the correct command?

rozniak commented 12 months ago

Move the 100 to be the last parameter, take another look at my comment earlier - I edited it to have the correct commands. :stuck_out_tongue:

MrMegarich commented 12 months ago

Damn Dag Nabbit! Now it's givin' me this error update-alternatives: error: alternative path /usr/share/plymouth/bootvid/bootvid.plymouth doesn't exist

MrMegarich commented 12 months ago

Screenshot_2023-11-28_21-00-53

rozniak commented 12 months ago

I guess it is /usr/share/plymouth/themes/bootvid/bootvid.plymouth

MrMegarich commented 12 months ago

What a silly little typo, and thanks to you I got it working!