=== Scytale90 is now known as Scytale89 | ||
lubot | innerdev was added by: innerdev | 16:51 |
---|---|---|
lubot | <innerdev> Hello. Can you help me with HiDPI somehow? I have 15'' laptop with 1920x1080. All elements are way too small. What can I do besides font size increase? | 16:51 |
lubot | <Marcelo Pugliesi> Have you seen if lubuntu recognized the correct resolution? | 16:53 |
lubot | <innerdev> Yes, it is. Resolution it's fine. I have HD and it detects as HD. I mean, i just want to make all interface bigger. HD is too small on 15'' for me. | 16:54 |
lubot | <Marcelo Pugliesi> Have you tried this: https://code.luasoftware.com/tutorials/linux/enable-hidpi-scaling-on-lubuntu/ | 16:56 |
lubot | <Marcelo Pugliesi> No Hdpi in lubuntu by default | 16:57 |
lubot | <innerdev> Not tried yet, thank you a lot! I'll try right now. | 16:57 |
lubot | <Marcelo Pugliesi> Ok | 16:57 |
Wafficus | Hi there, question about autostart programs | 17:09 |
Wafficus | for the "Add" button | 17:09 |
Wafficus | do I have to specify the path of the specific program? | 17:09 |
Wafficus | I compiled a program called "Cool Retro Term", and I'd like it to startup whenever I startup the computer | 17:10 |
wxl | as a general rule, i'd advise specifying the full path but if it's in your default $PATH you should be fine, wafficus | 17:11 |
Wafficus | so its compiled in a separate folder on my desktop | 17:12 |
Wafficus | do I have to move the entire folder into somewhere on my /etc directory? | 17:12 |
Wafficus | like its in a folder called "Cool Retro Term" | 17:12 |
Wafficus | the current directory aka pwd is: | 17:12 |
Wafficus | /home/sbpc/Desktop/cool-retro-term-master/cool-retro-term | 17:13 |
wxl | so it's probably not in your path then | 17:14 |
wxl | unless you see /home/sbpc/Desktop in $PATH | 17:14 |
Wafficus | where should I move it to then if I want it in my path? | 17:14 |
wxl | is it a standalone file? | 17:14 |
Wafficus | ah so move it in a folder called "$PATH"? | 17:14 |
Wafficus | eh more like a directory | 17:14 |
wxl | do you have a ~/bin? | 17:14 |
Wafficus | but yeah it has an executable file | 17:14 |
wxl | $PATH is a variable | 17:14 |
Wafficus | gotcha | 17:15 |
wxl | do `echo $PATH` | 17:15 |
wxl | a ~/bin is a good thing to have if you do a lot of scripts (i do a done) | 17:15 |
wxl | s/done/ton/ | 17:15 |
wxl | so just mkdir ~/bin | 17:15 |
Wafficus | echo $PATH: | 17:15 |
wxl | and then in .bashrc add something like `export PATH=$PATH:$HOME/bin` | 17:16 |
Wafficus | aha | 17:16 |
Wafficus | I found bin | 17:16 |
Wafficus | so should I move a copy of that directory in it | 17:16 |
Wafficus | like | 17:17 |
wxl | and then create a softline to your cool-retro-term like so: `ln -s $HOME/Desktop/cool-retro-term-master/cool-retro-term $HOME/bin/cool-retro-term` | 17:17 |
Wafficus | move the entireity of it | 17:17 |
wxl | note by ~/bin i DO NOT mean /bin | 17:17 |
Wafficus | ah | 17:17 |
Wafficus | well | 17:17 |
Wafficus | I cd'd outside of my default directory | 17:17 |
Wafficus | aka "sbpc" | 17:17 |
Wafficus | and then on that top directory | 17:17 |
wxl | you can move it in /bin if you want | 17:17 |
Wafficus | I found /bin | 17:17 |
Wafficus | would that mean I could execute it by name if i did that | 17:17 |
wxl | it's just you have to sudo your way to it whcih is one extra step you don't necessarily need | 17:17 |
Wafficus | like "cool-retro-term"? | 17:17 |
Wafficus | ah gotcha | 17:18 |
Wafficus | hmm | 17:18 |
Wafficus | dang | 17:18 |
wxl | but if you did everything i mentioned above you could do the same thing without sudo | 17:18 |
Wafficus | good point about sudo | 17:18 |
Wafficus | ok lemme read what you said then one sec | 17:18 |
Wafficus | appreciate it | 17:18 |
wxl | np | 17:18 |
wxl | to be clear we're creating a "bin" folder in your $HOME folder | 17:18 |
wxl | and then we're adding that to your $PATH | 17:19 |
lubot | <innerdev> (Photo, 1280x720) https://i.imgur.com/vz6O9Dm.jpg Well, I have done this guide. But now... Look at the bottom. What?.. O_o How to fix it?.. | 17:19 |
wxl | so that anything in that $HOME/bin folder can be executed directly without specifying the path | 17:19 |
Wafficus | gotcha | 17:19 |
Wafficus | but I have to ultimately pick | 17:19 |
wxl | the final step is making a link from $HOME/bin to your folder | 17:19 |
Wafficus | if I want bash to only point to that $HOME/bin folder right? | 17:19 |
Wafficus | otherwise all other scripts will be screwed up right? | 17:19 |
wxl | the value in that is that assuming that is under source control, you can continue to keep it updated without having to move things around all the time | 17:19 |
Wafficus | link huh | 17:20 |
Wafficus | maybe I'm too much of a newbie for now | 17:20 |
Wafficus | here's an idea | 17:20 |
wxl | the `export PATH=$PATH:$HOME/bin` basically says "add $HOME/bin to the end of the $PATH variable` | 17:20 |
Wafficus | yeah | 17:20 |
Wafficus | but then that's the default one from now one right? | 17:20 |
wxl | so it's not going to screw anything up | 17:20 |
lubot | <innerdev> I have to idea how to google it... | 17:22 |
Wafficus | I tried cp cool-retro-term-master/ $HOME | 17:22 |
Wafficus | apparently that didn't work | 17:22 |
wxl | you can do that too, but the way PATH works, it's not recursively searched | 17:22 |
Wafficus | I just wanted to make a copy so I don't screw up | 17:22 |
Wafficus | it was super hard to build this terminal emulator tbh | 17:22 |
wxl | so you'd need to copy ONLY the executable into $HOME/bin/ | 17:22 |
Wafficus | ah gotcha | 17:22 |
wxl | if you had $HOME/bin/cool-retro-term-master/cool-retro-term you'd actually need to add $HOME/bin/cool-retro-term-master to your $PATH in order to run cool-retro-term without specifying the full path | 17:23 |
wxl | actually that looks pretty easy to compile. you at least have all the build depends listed out for you :) | 17:24 |
wxl | but if you're new to it compiling is just hard period | 17:24 |
Wafficus | hey im back | 17:25 |
Wafficus | so I created a bin directory under $HOME | 17:25 |
Wafficus | placed cool-retro-term in there | 17:25 |
Wafficus | so now I have to go to my bash rc file right? | 17:25 |
wxl | edit $HOME/.bashrc | 17:25 |
lubot | <innerdev> Without scaling it work fine, look | 17:25 |
wxl | btw what version of ubuntu are you on? | 17:25 |
lubot | <innerdev> (Photo, 1280x720) https://i.imgur.com/YmT0Nlk.jpg | 17:26 |
wxl | *L*ubuntu sorry :) | 17:26 |
Wafficus | hey back | 17:26 |
wxl | btw what version of ubuntu are you on? | 17:26 |
Wafficus | could you state what to do one more time | 17:26 |
Wafficus | I wasnt in tmux again :/ so sorry | 17:27 |
Wafficus | you said to edit the bash file right? | 17:27 |
wxl | edit $HOME/.bashrc ...... but i just realized we might be able to do this a LOT easier. you know there's a PPA, right? | 17:27 |
Wafficus | yeah I tried the ppa | 17:27 |
Wafficus | it wasnt working tbh | 17:27 |
wxl | what version you on? | 17:28 |
wxl | (lubuntu) | 17:28 |
Wafficus | idk tbh | 17:28 |
Wafficus | probably most recent | 17:28 |
wxl | `lsb_release -a` | 17:28 |
Wafficus | 18.04.1 LTS | 17:28 |
wxl | and how do you know the PPA didn't work? | 17:29 |
Wafficus | I tried it a couple weeks ago tbh | 17:29 |
wxl | i would really advise you use the PPA as it will keep itself updated and keep you from having to compile | 17:29 |
wxl | `sudo add-apt-repository ppa:vantuz/cool-retro-term && sudo apt update && sudo apt install cool-retro-term` and you should be done | 17:30 |
wxl | by the way i'm starting to envision the silly scheme you have in mind trying to autostart this thing XD | 17:30 |
Wafficus | I can that sudo command | 17:31 |
Wafficus | ran | 17:31 |
Wafficus | waiting on terminal | 17:31 |
Wafficus | well | 17:31 |
Wafficus | once it gets the ppa correctly like you said | 17:31 |
Wafficus | this might be easier tbh | 17:31 |
wxl | waaaaaaaaaaaaaaaaaaaaaaaaay easier | 17:31 |
wxl | and all that path business is taken care of | 17:32 |
Wafficus | true | 17:32 |
Wafficus | I'm still pretty a beginner dev tbh | 17:32 |
Wafficus | I've written some Python based webcraerpers | 17:32 |
Wafficus | webscrapers | 17:32 |
Wafficus | for my website, musimatic.net | 17:32 |
Wafficus | its been fun though | 17:32 |
wxl | neat | 17:32 |
Wafficus | i'll be back in a sec | 17:33 |
Wafficus | it didn't give me any errors | 17:33 |
Wafficus | so i'll see if it worked | 17:33 |
wxl | well if you want to contribute i'm sure we could find a place for you in lubuntu | 17:33 |
Wafficus | ooh nice | 17:33 |
wxl | we have a couple things we've built out of py | 17:33 |
Wafficus | tbh | 17:33 |
Wafficus | I've tried an open source project called Pybee so far | 17:33 |
Wafficus | and I've ran a couple tests for them | 17:33 |
Wafficus | but its been a day or two between responses on their Gitter | 17:33 |
wxl | nice | 17:33 |
Wafficus | after work that is you know | 17:33 |
wxl | !info pybee | 17:33 |
ubottu | Package pybee does not exist in bionic | 17:33 |
Wafficus | but yeah where could a beginner like me contribute to Lubuntu? | 17:34 |
Wafficus | take a look at musimatic.net | 17:34 |
Wafficus | see what I've done so far | 17:34 |
Wafficus | and see if its worth while tbh | 17:34 |
Wafficus | I appreciate the idea tbh | 17:34 |
wxl | well, for one, join #lubuntu-devel and the mailing list is lubuntu-devel@lists.ubuntu.com | 17:34 |
Wafficus | ok, I'll do both | 17:34 |
Wafficus | one sec I'll be back wxl | 17:35 |
wxl | we'll probably need to teach you packaging but that's relatively simple | 17:35 |
wxl | i'm working on a better tutorial | 17:35 |
Wafficus | hi back | 17:38 |
Wafficus | so I tried that ppa on their site | 17:38 |
Wafficus | and "cool-retro-term" doesn't work | 17:38 |
Wafficus | I saw a couple 404 errors during the install | 17:38 |
Wafficus | hence the install on my end tbh | 17:38 |
lubot | <innerdev> @Marcelo Pugliesi [Ok], Thank you any way. After reboot it works (i hope) properly. | 17:38 |
Wafficus | sudo add-apt-repository ppa:bugs-launchpad-net-falkensweb/cool-retro-term | 17:39 |
Wafficus | sudo apt-get update | 17:39 |
Wafficus | ^ that's what I did | 17:39 |
wxl | not sure where you got that from | 17:40 |
wxl | `sudo add-apt-repository ppa:vantuz/cool-retro-term && sudo apt update && sudo apt install cool-retro-term` and you should be done | 17:41 |
wxl | NOT bugs-launchpad-net-falkensweb but vantuz | 17:41 |
lubot | <Marcelo Pugliesi> OK Dmitry. Glad it worked | 17:41 |
wxl | https://launchpad.net/~vantuz/+archive/ubuntu/cool-retro-term | 17:41 |
wxl | admittedly there is another ppa | 17:42 |
wxl | https://launchpad.net/~bugs-launchpad-net-falkensweb/+archive/ubuntu/cool-retro-term | 17:42 |
wxl | but they don't publish anything for bionic | 17:42 |
wxl | general advise: don't use ppa's unless they're recommended by the upstream developer | 17:43 |
wxl | curiously that second ppa you mentioned is owned by tom chiverton who also added the link to the OTHER ppa (not his) upstream https://github.com/Swordfish90/cool-retro-term/commit/7325835c3f6946c2bd701514052b237c6817ff71 | 17:45 |
wxl | ah here's the distinction: vantuz is for new releases and tom's is for old ones https://github.com/Swordfish90/cool-retro-term/issues/442#issuecomment-383235604 | 17:47 |
lubot | innerdev was removed by: innerdev | 17:53 |
lubot | innerdev was added by: innerdev | 18:16 |
Wafficus | hey im back | 18:18 |
lubot | <tsimonq2> For official Lubuntu announcements, usually just blog posts: https://t.me/LubuntuOfficial | 23:47 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!