raddleboy

raddleboy OP wrote

Emacs is murder. I swear to god, i looked and looked online but i could'nt find a simple enough tutorial.

All i wanted to do is make text either bold or italic or underline or justified. And insert a couple previewable images and videos.

Could you guide me to a better resource resourse cause otherwise i'll simply sit on this for years until I accidentally figureitout.

2

raddleboy OP wrote

It's VERY convenient. If i could put both the file and the objects (images, videos, pdf, etc.) in one folder. And instead of increasing the size of the .docx/.odt file i could simply do a

![image.png]

it would help keep the document size reasonable.


For a real life illustration of this, see -

https://www.youtube.com/watch?v=qt4g7Djy5AE

LibreOffice Writer is better in every other way, if only there was a way to add this functionality.

I wouldve moved to obsidian but different flavors of markdown discourage me to use it. It isn't standardised. Hassle of having to convert my files and the possibiluty of incorrect conversions.

4

raddleboy OP wrote

<div>
#!/bin/bash
xdotool if_mouse_is_in_corner_then_exit
sleep 1
xdotool key super
sleep 1
xdotool type "text editor"
sleep 1
xdotool key Return
sleep 1
xdotool type "oire oiqerjh ;ouqrjbj erqvkhb nvurv hk erv kbrvbk qrvkh k qero;nq eruobqv kjqbviybqek vihbv sihfbv afvkhlaek vkhebvh khbk iubefvibo afkbajfipufv[  ounqnvfq v knv knqef viu;nqlv oqv qoubvekjvbkd vn zdfkj kjfvbfnkbffdn nv jdfjnfgjbnfjbfjskmcokpslcpljc jdnvnm ckenci,d kn"
</div>

This is the sample script. As you can see, i didn't quite understand how to apply the "if_mouse......._exit"

How do i make it stop by either moving my mouse into a corner or any other way.

3

raddleboy OP wrote (edited )

Okay... it took me a while to wrap my head around the replies i got to my query.

What i have figured out is that an offline wiki would be perfect; (right?). Something like foam, zettlr or obsidian. They would allow me to add whatever filetype or size i want without actually increasing the size of the .md file.

Just one thing... I didn't completely understand your answer completely,

Could you kindly ELI5? because all i can think right now is that i will have a .md file for 1 year i.e.,

<div>
**2021** *this_is_a_folder_in_a_markdown_app*

    |--- the_file_with_the_text.md
    
    |--- the_sub-folder_containing_attachments

--------------------------------------------------------------
**2022** *this_is_a_folder_in_a_markdown_app*

    |--- the_file_with_the_text.md

    |--- the_sub-folder_containing_attachments
</div>

Is this format reasonable or is a better setup possible? Any and all suggestions are earnestly welcome.

3

raddleboy OP wrote (edited )

Its a puzzle program that requires manual input riddle

Example:

Alert Box

What is hot, wet, long and short and burns if you drown it?

Here the person needs to type the correct answer in. If the answer is correct, he gets the next puzzle. If the answer is wrong the program shuts down instead of giving him multiple opportunities to him.

<div>
pyautogui.hotkey('win')
time.sleep(3)
pyautogui.write('google chrome')
time.sleep(1)
pyautogui.hotkey('enter')
time.sleep(5)
pyautogui.alert("an_alert")
pyautogui.alert("another_alert")
pyautogui.alert("yet_another_alert")
cont = pyautogui.prompt(text="yes or no", title="title?")
if cont == "yes":
    password = pyautogui.password("The_riddle_in_question", "the_title")
    if password  == "the_answer":
        password = pyautogui.password("The_riddle_in_question", "the_title")
        if password  == "the_answer":
                password = pyautogui.password("The_riddle_in_question", "the_title")
                if password == "the_answer":
                    pyautogui.alert('another_alert', "title")
                    time.sleep(1)
                    pyautogui.hotkey('ctrl', 'l')
                    time.sleep(.5)
                    pyautogui.write('www.some_website.com')
                    time.sleep(.5)
                    pyautogui.hotkey('enter')
                else:
                    pyautogui.alert("Wrong Answer")
        else:
            pyautogui.alert("Wrong Answer")
    else:
        pyautogui.alert("Wrong Answer")
else:
    pyautogui.alert("raddleboy")
</div>

What is the solution?

4

raddleboy OP wrote (edited )

You seem like a friend on here /u/inthedustoftheplanet

Instead of clarifying myself further, i'll give you the problem.

The problem -

YOU have a personal diary/journal. You want to add pictures, videos and whatnot to it. But adding them would make your diary/journal unusable (bcz it would be insanely huge 100-200 gb atleast, by the time you die). You tried adding hyperlinks but they were useless when you inevitably changed your setup or moved or renamed the file. But you still want to add objects. how do you do it?

Rules -

Keep it offline

keep it as safe as possible

4

raddleboy OP wrote

Reply to comment by NOISEBOB in How to maintain a large doc? by raddleboy

Simply put, i have a journal. It would be nice if i could figure out a way to add as many objects (images, videos) i want, all the while having a single searchable document.

i wish i could link the files instead but those links become worthless when i chnage PC's.

Can i do this using tiddly or zim? Will i be able to easily shift to another app? What else would you suggest?

4

raddleboy OP wrote (edited )

I don't mind him being the REAL author. I just don't want him to cause me trouble.

i understand that he'll do a reverse lookup, BUT can he PROVE that he wrote it!? Besides identifying me, he ALSO needs to be able to PROVE that he was the writer. Which is what I'm trying to protect against.

I need your help in avoiding putting conclusive evidence in his hands.

He'll always have something to tease me, i understand that.

3

raddleboy OP wrote (edited )

This didn't work, tried moving the file to dist-packages

"... do not have permissions to create it in the destination"

So i tried another way...

<div>
amnesia@amnesia:~$ torify pip install pyautogui
Collecting pyautogui
  Downloading https://files.pythonhosted.org/packages/f0/76/7a0ec1013bc3559b7438f6773cba05ffaec600b8989be2d621a144e39b50/PyAutoGUI-0.9.53.tar.gz (59kB)
    100% |████████████████████████████████| 61kB 168kB/s 
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ImportError: No module named setuptools
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-CrFG6b/pyautogui/
amnesia@amnesia:~$ torify python3 -m pip install pyautogui
Collecting pyautogui
  Using cached https://files.pythonhosted.org/packages/f0/76/7a0ec1013bc3559b7438f6773cba05ffaec600b8989be2d621a144e39b50/PyAutoGUI-0.9.53.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ModuleNotFoundError: No module named 'setuptools'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-gh1uztw9/pyautogui/

</div>

Read the last error line. Can this error be solved?

The following were successfully installed -

scrot

python3-tk

python3-dev

python-pip

python3-pip

3

raddleboy OP wrote

1.Tails fills up the ram with random data upon shutting down,

2.i can persistently install apps onto it,

3.my persistent storage is encrypted,

4.i can enable persistence for dotfiles for whichever thing i wish to adjust to my liking.

I would love to use a simpler OS but i don't know how i could have all the features that tails provides me with. If you have a suggestion, i would love to hear it.

2

raddleboy OP wrote (edited )

Yes, i understand that but.... my use case doesn't require that. It's rather disruptive. So i'll try to be clearer -

I WANT the time to be messed up, the way windows does it.

Illustration-

I LIKE

Windows 10 - TIME=12:00

Shut down

Boot into tails

Tails time is ALSO=12:00

This is what i want.

...............................................................................................

What I DON'T like is -

Debian TIME=12:00

Shut down

Boot into Tails OS

BUT Tails TIME =09:00

...........................................................................................................

This is what happens, when

windows>tails = correct time.

But debian>Tails = wrong time

2

raddleboy OP wrote (edited )

Yes, i understand that but.... my use case doesn't require that. It's rather disruptive. So i'll try to be clearer -

I WANT the time to be messed up, the way windows does it.

Illustration-

I LIKE

Windows 10 - TIME=12:00

Shut down

Boot into tails

Tails time is ALSO=12:00

This is what i want.

...............................................................................................

What I DON'T like is -

Debian TIME=12:00

Shut down

Boot into Tails OS

BUT Tails TIME =09:00

...........................................................................................................

This is what happens, when

windows>tails = correct time.

But debian>Tails = wrong time

2